Learn how to display Animated Christmas Tree in Terminal (2026). Merry Christmas and a Happy New Year 2026 to all.

Full Blog Post Here: https://ostechnix.com/display-animated-christmas-tree-terminal/

#Christmas #Newyear2026 #Bashscript #Linux

Display Animated Christmas Tree In Terminal (2026) - OSTechNix

This brief guide talks about a cool Bash script to display an animated Christmas tree in Terminal in Linux operating systems.

OSTechNix

Okay, I'm sure a lot of people already know about this one, but it's new to me. I just found out you can do one of these in your systemd service itself:

Environment=SOME_SILLY_NAME=%i

And then reference that specific variable from inside of that environment, instead of using whatever variable was already there anyway, that usually works even though it's not actually made for that.

The problem I've been running into is that X11 cares about $DISPLAY, and so usually if you're gonna reference %i from a script from within an X11 environment, you would use that and it would work; but then if you're on Wayland, that doesn't mean anything to Wayland itself, because it calls it $WAYLAND_DISPLAY instead; WHICH MEANS that if you're on a Wayland compositor to start with, but you're also running XWayland, then you have both variables set automatically.

I'm on Niri with xwayland-satellite, and so I have both (I never had $DISPLAY in Niri until after I installed xwayland-satellite). This is a huge problem because neither of those variables actually have anything to do with the systemd instance by design, and I can't just make one of them go away (without giving myself more problems). There is no variable that's ever set by default, that is specifically put there to refer to the exact same thing as %i does in the unit itself, that I know of.

Now I can just do this instead, and never have to worry about my stuff getting mixed up with my other stuff. 😀

#systemd #BashScript #Linux

Haskell/Rust/Bash/systemd is a good combination, right?   

#Haskell #RustLang #BashScript #Systemd #Shitpost

OK... Too much of my world runs on bashscript.

It's fine. It's a tool, I get it.

...

It's just... It's too much.

Also, stop using Go instead of bashscript.

#go #bash #bashscript #programming

I love you all.

Learn how workflow automation has evolved from simple Bash scripts to advanced AI-driven systems, boosting productivity and transforming operations.

More details here: https://ostechnix.com/from-bash-scripts-to-ai-evolution-of-workflow-automation/

#AI #Automation #Bashscript

From Bash Scripts to AI: Evolution of Workflow Automation - OSTechNix

Explore how workflow automation has evolved from simple Bash scripts to advanced AI-driven systems, boosting productivity and transforming operations.

OSTechNix

Zitat vom Kollegen: "Mir läuft es immer kalt den Rücken runter, wenn mir jemand sagt, dass der @schenklklopfer da ein #Bashscript geschrieben hat".

Ich finde ein höheres Lob gibt es nicht :))

Do you browse the web using Firefox on Linux? Maybe on a computer with limited RAM (like the one I've been using with only 4GB, which I will soon finally increase)?

I wrote a little #BashScript that I call "weblast", which--each time it's run--kills Firefox web processes that hog at least 1% of RAM. It has been a great, simple tool for increasing performance by relieving pressure on my computer's virtual memory swapping system.

Try it and see if it brings you relief, and maybe even some joy...

#!/bin/bash
# weblast - kill Firefox browser tab processes that use at least 1% of RAM
# by John R. Carlsen; last updated 2025-08-13
p=1
plast=0
while [ 1 ]; do
p=`ps -A -eo pid,pcpu,pmem,stat,comm --sort -pcpu | grep "Web " |grep "[1-9]\." | head -c 7`
if [ "$p" == "" ]; then break
fi
if [ $p -eq 0 ]; then break
fi
if [ $p -eq $plast ]; then continue
fi
pct=`ps -q $p -A -o pmem=`
echo "killing process $p with $pct% RAM"
kill $p
plast=$p
done

🤓 Ah yes, the timeless quest of a techie—deciphering which Large Language Model will best handle their existential "Write a bash script" crisis. 🚀 Because clearly, curing #latency is more important than AI's ability to solve complex math problems. 🙄
https://darkcoding.net/software/personal-ai-evals-aug-2025/ #techie #troubles #LargeLanguageModel #bashscript #AIissues #HackerNews #ngated
Evaluating LLMs for my personal use case

My life is not a math Olympiad

Graham King

Subsonic Mediathek plötzlich leer? So behebst du’s!

Kennst du das Problem? Nach einem Mediensuchlauf in Subsonic ist plötzlich deine komplette Mediathek leer. Alle Songs, Alben und leere Playlists - einfach weg! Genau das ist mir passiert, nachdem ich meinen Subsonic-Server mit einer MySQL-Datenbank verbunden h...

https://www.cleveradmin.de/blog/2025/07/subsonic-mediathek-fix/
#Scripte #BashScript #cronjob #Fix #Mediathek #Medienverwaltung #Musikserver #mysql #OpenSource #Subsonic