Okay, now I'm so lazy that I'm writing a zsh script to automatically activate a `venv` if it's in the current directory and deactivate on any parent directories.
// check code in first reply, change `TRUST_DIR` and `venv` if you prefer another name.
Okay, now I'm so lazy that I'm writing a zsh script to automatically activate a `venv` if it's in the current directory and deactivate on any parent directories.
// check code in first reply, change `TRUST_DIR` and `venv` if you prefer another name.
It's possible you've not heard of #boxyBSD
I was lucky to get a TIL moment when @stefano boosted it's existence into my feed.
However you should know about it, learn something about the user perspective from proxmox in the process, while working with a boxyBSD VM.
Here are some nice screencaps of the boxyBSD site so you can ask nicely for a VM and learn to play with one of the *BSD flavours from a distance.
I'm sure you can duckduckgo the address of boxyBSD when you analyze the screencaps, right?
#bash #proxyLB #freeBSD #boxyBSD #sh #zsh #ksh #csh #netBSD #openBSD #POSIX #proxmox #loadbalancer
It has arrived. proxyLB v1.1.0 the loadbalancer for proxmox clusters. Instead of telling you the features of this major version I invite you to read about it yourself, download proxyLB then play with it.
As with any great Open Source project, this has grown out of a necessity that @gyptazy has for his other amazing project boxyBSD, which just needs a versatile tool like this.
Now go and play.
#bash #proxyLB #freeBSD #boxyBSD #sh #zsh #ksh #csh #netBSD #openBSD #POSIX #proxmox #loadbalancer
@tiang Guile is a strong candidate if you prefer Lisp-like features and #gnu integration. Otherwise, consider #python (using libraries like subprocess and shutil for system interactions) for its versatility and extensive ecosystem.
For a shell-like environment, #zsh and Fish (which I haven't tried, but is popular in the community) offer modern experiences while maintaining compatibility with existing #shell scripts.
Alright, spent my Sunday setting up the #fish shell.
It's basically now identical to my #zsh config, except without plugins (well apart from the pure prompt and the autopair).
It feels faster, the autocompletion looks cleaner and it's def faster than zsh.
Had to wrestle with ssh a lot, but I ended up using keyring and now all my shells work with ssh the same, which is nice.
I had to write my own custom color theme as well (Poimandres).
Let's see how it goes!
Finally tracked down a bug in Zsh which loses history entries!
Gotten tired of those massive browsers hogging GB (*1024 = MB) of ram? Want to go back to the days of text based browsing?
Links has got you covered. For decades (lynx and later) links gives us back the nostalgic feel of *sh* based browsing, just like BitchX gives it with IRC in the shell.
Look how smooth and fast it works with DuckDuckGo
I have found an interesting quirk with my freeBSD installation, running on my SATA SSD, which I mount through an USB tray, directly to the USB port on the computer.
As long as i leave the second port of the USB tray open, everything runs fine and smooth. The moment I mount another drive in the second port, freeBSD only does the initial part of the startup sequence and then complains that it cannot go any further.
No further explanation given
Seeking for log files is not an option because the operating system itself doesn't boot.
Where in the documentation should I look for this type of issue?
#bash #freeBSD #boxyBSD #sh #zsh #ksh #csh #netBSD #openBSD #POSIX #AskFediverse
If you haven't done so yet and you are playing with Open Source Operating Systems, read this article about the BSD family
it is very enlightening, and worth every minute of reading it
#bash #sh #zsh #ksh #csh #tsh #freeBSD #100DaysOfCode #1000DaysOfCode #POSIX #Programming #Patch #UNIX #History
https://it-notes.dragas.net/2025/03/23/osday-2025-why-choose-bsd-in-2025/
Due to my brain dead ISP which does not support IPv6 for clients in 2K25(!) I cant access my boxyBSD box.
boxyBSD is thus so far away from me :(
I have a client connection with fixed IPv4 IP somewhere, but it collapses when I use a free available IPv4 to IPv6 tunnel service.
Instead of sitting and twiddling my fingers on my Bass guitar(s) generating random() notes, I decided to get an image of the latest freeBSD and play with it locally, until I can get my ISP to provide all of us with a (set) of free IPv6 addresses because we pay them for a full service here in my country
>> log
$ wget -c https://download.freebsd.org/releases/amd64/amd64/ISO-IMAGES/14.2/FreeBSD-14.2-RELEASE-amd64-dvd1.iso
--2025-03-23 13:32:46-- https://download.freebsd.org/releases/amd64/amd64/ISO-IMAGES/14.2/FreeBSD-14.2-RELEASE-amd64-dvd1.iso
Resolving download.freebsd.org (download.freebsd.org)... 200.160.6.227, 2001:12ff:0:6224::15:0
Connecting to download.freebsd.org (download.freebsd.org)|200.160.6.227|:443... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 4826406912 (4.5G), 4255655894 (4.0G) remaining [application/octet-stream]
Saving to: ‘FreeBSD-14.2-RELEASE-amd64-dvd1.iso’
-14.2-RELEASE-amd64-dvd1 12%[++++ ] 559.57M 1.01MB/s eta 75m
<< ^Z
Yes they give a puny 1MB speed, you read that correctly
#bash #freeBSD #boxyBSD #sh #zsh #ksh #csh #netBSD #openBSD #POSIX
Periodic reminder -
Looking for #ZSH themes, plugins, frameworks (#oh_my_zsh isn't the only one) or tutorials? I maintain https://github.com/unixorn/awesome-zsh-plugins
ZSH has been the default on #macos for a while, so if you're still using the default settings, it's worth your while to take a look at what's out there.
TIL about lsd(1)
What an awsome addition to my lolcat arsenal!
The acronym is not correctly used by me in this case, because I **know** I used LSD in the 1990's (the command in a UNIX ENV:) and LSD is just as pretty as it was psychedelic in the last century!
`man lsd `
An ls command with a lot of pretty colors and some other stuff.
#bash #sh #zsh #ksh #csh #Networking #IPv6 #IPv4 #ProxMox #freeBSD #Linux #POSIX #Programming
You won't achieve a fulfilling life if you don't:
- Set goals.
- Write them down and order them.
- Split what feels overwhelming in smaller chunks.
- Map *a single* easy and concrete action that moves you toward the first goal.
- Use a terminal output colorizer.
https://github.com/garabik/grc