

Come on gang! We all know the real answer is Hannah Montana!
Come on gang! We all know the real answer is Hannah Montana!
Not exactly programming, in fact sort of took me out of my foray into python.
My mesh wifi routers shat the bed after a decade so I got new routers and have been configuring my network. I’m almost done then back to my python project.
To check for an empty string, use -z
. -n
checks to see if a string is not empty.
I don’t know the specifics but forgejo is a gitea fork. There was/is some controversy around gitea governance and movent towards prioritizing a closed source paid/private versions of gitea.
Again, I don’t know details, just very broad strokes. I chose forgejo because it’s under active Foss development and I didnt want to deal with potentially going with gitea and then having to abandon it later for whatever reason might develop.
And I totally understand that. These AI crawlers really suck.
Not saying this is an option for you, only that I kept my forgejo instance private to avoid dealing with this AI crawler bullshit. I hope you find a good solution.
It has a fingerprint reader.
What do you like about chezmoi vs stow?
I don’t share mine. I manage them with gnu stow and my private gitforge on my server (with 3-2-1 backup in place)
I don’t have an objection to sharing them. I don’t think it’s too personal, I just don’t use a public facing gitforge.
Edit to add: I have branches for my different machines in my dotfiles repo for variations
I run arch on my laptop (btw), and Ubuntu server on my server. I like how reliable and stable Ubuntu server is. Gives me piece of mind.
I’ve been using Ubuntu server on my server for close to a decade now and it has been just rock solid.
I know Ubuntu gets (deserved) hate for things like snaps shenanigans, but the LTS is pretty great. Not having to worry about a full OS upgrade for up to 10 years (5 years standard, 10 years if you go Ubuntu pro (which is free for personal use)) is great.
A couple times I’ve considered switching my server to another distro, but honestly, I love how little I worry about the state of my server os.
I’ve already aliased gl
for git log with my flags, but have been too lazy to add more aliases.
Oh. I did not know that. Gonna try that right now.
jq
is indispensable.
zoxide
. It’s cd
but better. It remembers which directories you’ve navigated to, and fuzzy finds them.
So instead of typing:
cd /really/long/path/to/sime/dir
You can type:
zoxide dir
And it’ll take you right to the directory.
I’ve got it aliased to zd
so I type:
zd dir
And I’m there.
Thank you for the link!
I do understand the logic and the difference between ;
, &&
, and `||. What was confusing me was the command grouping and my misunderstanding of the curly brace grouping rule that the command list has to END with a semicolon. @SheeEttin@lemmy.zip pointed out to me with the link in the comment they left.
I had read that same link and misunderstood it. On second read I got it, and see now why my script is working, as the newlines serve the same purpose as the semicolon, so the curly braced groups are terminated correctly.
My environment is just my homelab. Ubuntu server on my server, Arch (btw) on my laptop. So I could go with any language , but right now I’m choosing Bash. I know stuff I’m doing would probably be easier in a different language, and maybe I’m a glutton for punishment. I just want to get really good with Bash.
The logic is Bash is gonna be available on just about any computing environment I encounter (linux especially, but even Windows with WSL and zsh on macOS (which I know is different, but still very similar). But really, I am just enjoying the hell out of learning and scripting with Bash. I’ll move on to Python or something someday.
This looks awesome. I’m going to check it out.