Spyke

Posts

Raspberry Pi 5 - 5V 3A power supply with USB Boot

If you are like me and are currently waiting for your 5V 5A power supply and you have no display, you can still boot to USB by pushing the power button when the Raspberry Pi goes "solid green". What you are not seeing without a display is the warning about your power.

This allowed me to boot up to Raspberry OS Lite (64 bit) with no issues.

The referenced link does a good job showing you how to boot.

Raspberry Pi 5 - 5V 3A power supply with USB Boothttps://gigazine.net/gsc_news/en/20231109-raspberry-pi-5-usb-bootOpen linkView original on lemmy.world
11

OpenStack (coming from VMware)

Currently, I am have a VMware vCenter 7 4 node cluster. These are the Lenovo m920q machines with 64GB RAM each. I also have a Synology 4 Disk NAS too.

I deploy standard VMs and Rancher k8s clusters and use full automation (mainly Terraform) to build everything.

Why VMware? Mainly to get experience on it.

Why am I interested in OpenStack? Mainly because I have used it before and really enjoyed that experience as it feels more like a true cloud environment.

So, my question is this.... Has anyone switched one way or the other? Were you glad at switching or do you regret it?

If you did switch, what is a good way to setup multi node OpenStack? I see people recommend at least one separate controller vs the compute nodes?

View original on lemmy.world
4
support·Lemmy.world Supportbybennysp

How to curl the API?

Hi all,

I am trying to create a simple RSS-to-post bot. I am using IFTTT to do this. Anyways, I have had only mild success with the existing documentation and I am hoping you can help.

I am able to successfully login via Postman app with below URL and supplied JSON:

https://lemmy.world/api/v3/user/login

{
    "username_or_email": "bennysp",
    "password": "[REDACTED]",
    "totp_2fa_token": "[REDACTED]"
}

The problem is that I cannot find api documentation that seems to match curl/url responses using the auth token. I have stumbled my way through finding things like community and supplying an id via param, but I am simply guessing.

Example: (assumes you have jq installed)
curl -k -X GET https://lemmy.world/api/v3/community?id=23677 | jq .

I have done something like this on Mastodon pretty easily because I can get a token and just pass that as a header to the Webhook/curl.

Any help is appreciated.

View original on lemmy.world
6
valheim·Valheimbybennysp

Docker image with R2modman - more streamlined process?

Is there anyway to have R2modman run along side a Valheim docker container? Trying to find a way to make it easier for folks that are not as technical to run their mods on a server.
The situation currently is running docker on Windows and I have them running R2modman on windows and exporting/copying the r2modman profile data directory to the data directory used in the docker container and then restarting the docker container.
I had the user try to change the profile directory over to the docker data directory to directly write to it, but it gave an error that there was data already there, so I thought that might be a bad idea.

View original on lemmy.world
6
nostupidquestions·No Stupid Questionsbybennysp

Lemmy: What am I doing wrong or is it not me?

My disclaimer is that I am excited using the fediverse as alternative from Reddit (I have switched to Mastodon from Twitter).

I have been trying a combination of lemmy.world, kbin and a lemmy app like MemmyApp. Each one, I look at "All" and try various things like "hot", "active", "top day" and etc. Each one produces different results. And it is not even close. Rarely are there same posts across each. Also, on lemmy.world, after I sort on one of these, a few seconds go by and it won't stop scrolling with a blast from same communities and users.

So.... what is it I am doing wrong? How do I make my experience more enjoyable? Am I the only one?

(Note: I am aware that kbin/lemmy have their own local and therefore, that would be different, but the "All" filter?)

View original on lemmy.world
43

You reached the end