Mi skribis unu simpla #ShellScript por fari elŝuti de ĉiu senpaga #RaspberryPi revuoj de oficiala retejo.
Kiuj posedas intereso en uzi ĝi, povas recevi ĝi en: https://github.com/A-Infor/Shell-Scripts
Mi skribis unu simpla #ShellScript por fari elŝuti de ĉiu senpaga #RaspberryPi revuoj de oficiala retejo.
Kiuj posedas intereso en uzi ĝi, povas recevi ĝi en: https://github.com/A-Infor/Shell-Scripts
Here's a little puzzle for you. Can you figure out the purpose of this one-off shell script I just wrote?
If you post an answer put it behind a CW so you don't spoil it for others!
#programming #scripting #shellScript #shellScripting #Linux
Bash via Transpiler
https://fed.brid.gy/r/https://hackaday.com/2026/02/12/bash-via-transpiler/
Bash via Transpiler https://hackaday.com/2026/02/12/bash-via-transpiler/
#SoftwareHacks #Amber #Bash #Linux #Shellscript
And today's multi-hour confusing time suck was:
`curl -H "Authorization: ${TOKEN}"`
(Note conspicuous lack of the word `Bearer`)
To add #insult to #injury, this old #Perl guy had to dig into some #PHP in order to figure out where his stupid #shellscript went wrong.
On the other hand, I did gather enough #research to propose a #solution to #decommission a piece of #commercial software in favor of a mix of #cloud services and #selfhosted #opensource.
CLI siêu nhẹ dùng Ollama chuyển ngôn ngữ tự nhiên thành lệnh shell, mặc định qwen2.5-coder, dễ chuyển mô hình bằng `--model`/`ASK_MODEL` và `OLLAMA_HOST`. Thích hợp cho dev muốn nhanh chóng biến mô tả thành câu lệnh. #Ollama #CLI #Shell #AI #Programming #LậpTrình #CôngCụ #AIVietnam #ShellScript
https://www.reddit.com/r/ollama/comments/1qoi1op/tiny_ollamapowered_cli_natural_language_to_shell/
Hi! I'm Koffietje! (Not very original, might change that later.)
Obviously, I'm a big fan of coffee! Generally black, over-steeped in a French press. But lately I've been messing around with the Moka pot.
I'm also big on Linux. My daily driver is Fedora, which seems to work incredibly well on my computers. I'm also curious about ARM & RISC-V, and have dipped my toes into BSD. Always trying to learn more, and currently I'm working on my Bash skills, trying to get into network administration, managing VMs, and figuring out self-hosting.
When I'm not tinkering with my machines (which is rare, since I may or may not have way too many...) I like to play video games. Currently I'm running through Vampire Survivors, but I generally really enjoy rogue-li{k,t}es. Numbers! And they go up! What fun!
I've also recently gotten the "Retro Bug", learning about (and yearning for) 80s/90s/00s PCs and retro games I missed out on. Hopefully I can restore an iMac G3 one day. (And I'll throw OpenBSD on that sucker!)
When I've got the time, I like to read. Pretty much purely non-fiction, usually something computer-related. Mostly on an e-reader (thanks, Calibre!) but I do very much enjoy physical books. Any recommendations? Let me know!
Beyond that, I'm vegetarian (moving towards and very close to being vegan), take care of way too many houseplants, and I can be both OCD-ish and overly verbose. But, I'm very friendly! So if you want to talk to me, please do so! Can't have too many friends, right?
Lastly, here is the command in case you want to create something similar:
echo -e '\n\n' && echo -e "Hi, I'm Koffietje! Linux & BSD guy, big computer nerd, lover of non-fiction books, and enjoyer of the occasional (retro) game." '\n' "I'm friendly, so feel free to reach out about anything!" '\n' "And lastly, I hope you have a great day!"| cowsay
(Cowsay and Cool Retro Term required!)
Some hashtags: #Linux #BSD #Coffee #Fedora #ARM #RISC-V #Bash #Gaming #Roguelike #Roguelite #Calibre #Vegetarian #houseplants #OCD #Friendly #ShellScript
Muita discussão interessante rolando no fidigerson e eu... há três dias tentando recuperar um arquivo. :angery:
Provavelmente a parte de recuperar é a mais simples. O difícil é encontrar o diacho do arquivo numa montanha de arquivinhos... Fiz logo um script shell pq a quantidade tá brutal.
#testdisk #photorec #recuperaçãodearquivos #shellscript #shell #bash
🚀🕰️ Ah, the #nostalgia of square brackets in shell scripting—the forgotten relics of our #coding youth! 🤓📚 Luca Ferrari takes us on a time-traveling adventure to rediscover the ancient art of 'test,' proving once again that some people will do anything to relive their university glory days. 🎓💾
https://fluca1978.github.io/2025/12/10/testAndSquareBrackets.html #test #shellscript #retro #tech #HackerNews #ngated
Linux Fu: Yet Another Shell Script Trick https://hackaday.com/2026/01/06/linux-fu-yet-another-shell-script-trick/
#HackadayColumns #LinuxHacks #Linux #LinuxFu #Shellscript #Systemtray #Yad
Re earlier toot ... as soon as I'd finished dealing with #dependabot's PRs, I wanted to use the script to view other peoples' PRs against my code (there are only two that I've not dealt with because I'm a good boy, although one has been festering for 7 years because I'm a bad boy), and then to see all my PRs against other peoples' code that are still open. And so the script got just a teensy bit bigger.
clear && echo "" && date | tr -d "\n" && uptime && echo ""
Output:
Sat Dec 20 12:18:53 GMT Standard Time 2025 12:18:53 up 5 days, 16:03, load average: 0.00, 0.00, 0.00
NB This #commandline #wizardry is a #busybox script running on #Windows11. Enjoy #DOScember.
CSVやMarkdownをそのままNotionに表として貼り付けられるCLI作った
https://qiita.com/Rasukarusan/items/5cf49475d650003efb31?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
MisskeyのAPIの叩き方(curl, Ruby) #ShellScript - Qiita https://mnmm.top/hvr
(22 Nov) Aeryth – AppImage to Package Converter Aeryth is a shell script designed to convert .AppImage files into distribution packages ❲.deb for Debian and .pkg.tar.zst for Arch Linux❳. https://www.linuxlinks.com/aeryth-appimage-package-converter/ #appimage #cli #shell-script
@DecaTec@mastodon.social
Hi. Ich bin zufällig über #NextCloudBackupRestore (https://codeberg.org/DecaTec/Nextcloud-Backup-Restore) gestolpert und habe das gleich mal getestet (Bislang nur manuell und noch nicht per #Cronjob).
Super. Vielen Dank dafür. 👍
Ich hätte allerdings noch 2 Feature Requests für das #Skript:
1. Rechteanpassung im Ziel:
#Hier musste ich die chown und chmod Befehle auskommentieren, da das auf dem sftp-Share eine Fehlermeldung über fehlende Rechte erzeugt und dann das Skript abbricht. Ohne die Rechteanpassung läuft's durch.
# Check if backup dir already exists
#
if [ ! -d "${backupDir}" ]
then
mkdir -p "${backupDir}"
#chown -R "${user}" "${backupDir}"
#chmod 700 -R "${backupDir}"
else
errorecho "ERROR: The backup directory ${backupDir} already exists!"
exit 1
fi
#sieht das bei mir nun so aus:
# Stop web server
#
echo "$(date +"%H:%M:%S"): Stopping web server..."
systemctl stop "${webserverServiceName}"
echo "Done"
echo
echo "$(date +"%H:%M:%S"): Disabling Nextcloud vhost ..."und dementspechend am Ende des Skripts statt
a2dissite nextcloud.conf
echo "Done"
echo
echo "$(date +"%H:%M:%S"): Reloading webserver ..."
systemctl restart "${webserverServiceName}"
echo "Done"
echo
#dann
# Start web server
#
echo "$(date +"%H:%M:%S"): Starting web server..."
systemctl start "${webserverServiceName}"
echo "Done"
echo
echo "$(date +"%H:%M:%S"): Enabling Nextcloud vhost ..."Aber das mit einer Variable für den vhost abzubilden und diese in die beim setup.sh in NextcloudBackupRestore.conf zu schreiben, wäre natürlich besser und damit wieder universal nutzbar.
a2ensite nextcloud.conf
echo "Done"
echo
echo "$(date +"%H:%M:%S"): Restarting web server..."
systemctl restart "${webserverServiceName}"
echo "Done"
echo
pigz é a pulga atrás da orelha... :nazare:gzip sem paralelismo ainda pode tentar reduzir o esforço, como está no script, para 1, pra ver se melhora o tempo sem perder tanta razão de compressão. Acho que li mais fontes sobre isso, mas uma delas é Peter Eisentraut — Check your pg_dump compression levels.Social Media, Shell Scripts, & Some ImageMagick!
"Bestandsnamen onder Linux moet je altijd eenvoudig houden."
"hold my beer"
Kan nu snel de status van alle video's zien en ze doorschuiven naar de volgende fase als het klaar is 😎
Today was #rage and #pullrequests.
1. Yes, #hardcoded #opaque identifiers are a little tiny bit faster in this task that runs for a couple of minutes on an irregular, on-demand basis. But maybe you should look up those monstrosities starting from their #humanfriendly equivalents which are much more descriptive.
2. Fine, you wrote some #shellscript with #LLM. It's not very #DRY and it interfaces poorly with the #pipeline syntax. This will require #commits to a branch, not just a #review.