#Linux #Bash #Mastodon
List all mastodon user who contains "bash" in name or address . A Bash 1-liner
https://gist.github.com/dewomser/279a1fa95dff18b66cf8ff7d255508e8

#Linux #Bash #Mastodon
List all mastodon user who contains "bash" in name or address . A Bash 1-liner
https://gist.github.com/dewomser/279a1fa95dff18b66cf8ff7d255508e8
It's super annoying that #macOS has much, much fewer customization options than #KDE Plasma. Even a simple option like enabling wrapping around the virtual desks ("spaces") is not available, and the only way to enable that is to pay for a third-party app.
CLI is a better world. I installed the latest version of #Bash via #Homebrew. Now I can use all my Bash scripts.
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
I am a fan of #golang. I don't say it enough. My love of #python, #bash, and #BASIC, I wear on my sleeve, but among the many other languages I code in, I almost always appreciate an opportunity to use Go. It just clicked for me in a way rust never did.
(Obligatory disclaimer upon realizing the date that this is not an April Fools post.)
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
#neat ...
#Bash's ctrl-o timesaver, 20241223,
by Thoma K,
https://octet-stream.net/b/tt/bash-ctrl-o-timesaver.html
... wonder if that is available in (plain) zsh via key bindings ...
#Linux #Bash
Mastodonstatistik für @dewomser . Die letzten 100 Toots. Ich benutze Mastotool.
Direkt bei Github Gist Hochladen in einem Rutsch
mastotool stats -r=100 |gist -f "mastotool_statistik.txt" -t "txt" -d "Mastodon Monatsstatistik für @dewomser. Kommando: mastotool stats -r=100"
https://gist.github.com/dewomser/2701f9154c693fe66966615cf564edb5
Hay there fediverse. Do we have any #bash #cron experts that can help me figure out how to fix things?
TL;DR - I need to reference the `$USER` variable as a parameter in a shell script that forms part of a dynamic path in a backup routine (the location varies by host so trying to automate as much as possible). Running the script as a logged in user over SSH works perfectly but when I add a crontab entry under the same user to run the same script is fails to parse the `$USER` part so the destination is incorrect and it throws an error.
I should also note that if I specify the path manually in the script it also works, but then it's a pain to automate across different hosts so I'm trying to avoid that if possible.
I now been going round in circles trying to figure this out for a couple of days so it's time to ask for help.
Does anyone have a good recommendation for shell/bash script replacements in 2025?
Thinking maybe guile?
Github-Backup-Skript gibts jetzt auch bei Github Gist zum Download
https://gist.github.com/dewomser/8b5e025d9a80df85743e87973e201da9
I've completed setting up the Mastodon, Bluesky, and Twitter bots. Testing them now with a bash loop script.
#Linux #Bash #git
Alle Github -Repositories von "User" clonen:
Es ist mal wieder ein 1-Zeiler geworden.
curl --header "Authorization: 'token' '$GITHUB_TOKEN'" -L "https://api.github.com/users/User/repos?per_page=100&page=1" | jq '.[] .clone_url'|xargs -n1 -r git clone
1) Variable $GITHUB:TOKEN muss exportiert sein oder durch Token ersetzen
2) User durch Username ersetzen
3) mit zusätzlich xargs Parameter -p muss bei jedem clone zugestimmt werden.
Another Monday, another quickly generated #bash script that helps me list all installed #debian #ubuntu #linuxmint #apt and #flatpak packages using #gemini #ai o.O
Please feel free to browse to https://gist.github.com/axelsegebrecht/b36a0e9f17fdf4ad553f3c133d116c74 and let me know what you think.
Is this #vibecoding ? Am I doing it right? ;-)
Cómo saber con wp-cli en qué sitios de un WordPress Multisite está activo un plugin
Hay veces que se notifica una vulnerabilidad en un plugin de WordPress y es muy recomendable ponerlo en cuarentena: eliminarlo, o al menos desactivarlo, hasta que se solucione el problema. Cuando esto ocurre en una instalación Multisite de WordPress con decenas o centenas de sitios antes de poder desactivarlo o eliminarlo conviene saber en qué sitios está activo.
Con wp-cli y un loop de bash se puede realizar esta tarea automáticamente.
https://voragine.net/wordpress/wp-cli-wordpress-multisite-plugin-activo
#Linux #Bash
When I left you, I was but the learner. Now, I am the master. https://gist.github.com/dewomser/9b7b6d99b78ac9faa14816564e458649
#Linux #Bash #Fritzbox
Man kann mit einem Curl Kommando aus der Fritzbox (Soap|grep) die eigene Internet-IP auslesen.
Ganz hab ichs nicht kapiert, aber es funktioniert.
https://gist.github.com/dewomser/d7e4a3ab4f3ce77bc36ee6f08fc37998#file-fritzbox_ip-txt
So gehts auch kürzer:
curl ifconfig.me