Petra van Cronenburg

Well, after writing 25,000 characters (and no end), I decided that my #moss special for the podcast comeback will come in two parts. There's so much fascinating to tell about #mosses! *At least* one hour for the first part.

Now I need a short brain break outside in nature ... then back to #scripting. With a big coffee.

#NatureMatchCuts #podcast #writing #SciComm #Mosstodon #biodiversity

Steven P. Sanderson II, MPH

🔄 Struggling with Linux for loops? Master the basics with our beginner's guide! Learn common syntax patterns, avoid infinite loops, and write cleaner scripts. Perfect for those starting their Linux journey!

#bash #code #tech #gnu #linux #blog #technology #Scripting #loops #forloop

Read more here: spsanderson.com/steveondata/po

Jonathan Kamens

Today I learned from the flock(1) man page (on Debian) that you can put this line at the top of a shell script to prevent more than one copy of it from ever running at a time:

[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en "$0" "$0" "$@" || :

This is an extremely clever hack and I don't know how I've never stumbled upon it in 38 years of writing shell scripts.
#unix #linux #scripting #shellScripting

Stephan Sokolow

For anyone who upgraded their non-GNOME *buntu and discovered that one of their scripts suddenly has a very out-of-place libadwaita-style Zenity dialog popping up, `yad` is in the package repository and only differs by the --info/--question/--warning/--error arguments according to their compatibility wrapper at github.com/v1cont/yad/blob/mas #linux #scripting

Petra van Cronenburg

You can't imagine the effort I have to put in to write a podcast episode (will be about moss). First of all, I have to understand everything myself so that I can then tell you all about it in three sentences in the most entertaining way possible. 😉

#NatureMatchCuts #podcast #moss #scripting #natureWriting #SciComm #biology #plants #mosstodon

Apr 17, 2025, 16:28 · · · 6 · 0
♡ Eva Winterschön ♡

💡 Idea for a debugging script 💡

This might already exist for FreeBSD, and if so.. let me know!

- 1) keeps record of OS core/default settings: loader.conf, rc.conf, sysctl.conf, devfs.rules, login.conf etc
- 2) keeps record of file checksum on those OS core files (similar to the app, tripwire)
- 3) mode which shows divergence on current state vs known-default state in configs (1) and checksums (2)
-4) mode which tracks the files and their change-sets over time, similar to a zfs snapshot but at a single file-level

#freebsd #scripting #programming

Open Source JobHub

From the #OSJH Blog: In this installment of our skills series, we share the skills and responsibilities required for platform engineers
opensourcejobhub.com/blog/over
#skills #career #scripting #SoftwareDevelopment #DevOps #monitoring #infrastructure #debugging

Linux Magazine

From the Linux Update newsletter: Marcin Gąstół shows you advanced shell scripting techniques for automation, optimization, and security.
linux-magazine.com/Issues/2025
#Linux #Bash #scripting #automation #security #infrastructure

kodegeek

I'm in love with uv. Seriously, the tool is small yet packs a punch with features.

I'm writing an article for Fedora Magazine about the cool things you can do with uv, here is the source code (with the article in markdown) for your enjoyment:

github.com/josevnz/tutorials/t

#uv #python #textual #fedora #scripting #opensource

tutorials/docs/Enhancing_Your_Python_Workflow_with_UV_on_Fedora at main · josevnz/tutorials

Tutorials. Contribute to josevnz/tutorials development…

GitHub
:arch: XeroLinux :kdelight:

Hey everyone...

As promised, work on the Multi-DE script is done. I hope it helps you get started with Arch..

Wiki updated :
wiki.xerolinux.xyz/scripts/

#FOSS #Linux #OpenSource #Arch #ArchLinux #Gnome #Plasma #XFCE #Scripting

Alexey Skobkin

Кажется, я ебанулся и ввязался в достаточно титаническую работу над очередным выпуском @sporadic_podcast, который будет интересен полутора инвалидам кроме меня.

В этот раз это - сценарная работа, а не диалоговый жанр. Рассказчиком буду выступать только я. Это делает задачу сложнее по всем фронтам.

Но мне это интересно и поэтому я надеюсь, что смогу закончить этот эпизод.

Из интересного - я хочу сделать из этого очередной мини-коллаб чтобы вы могли услышать знакомые по федивёрсу голоса и улыбнуться.

Ну и да, это должно быть этакое эссе на тему, которая практически гарантированно никому не приходила в голову.

#log #thoughts #podcast #creativity #scripting #pic #AIArt

Mar 16, 2025, 23:00 · · · 4 · 0
pancake :radare2:

😬 note for my future self: reduce contents to the basic practical use cases and remove ortogonality from introductory trainings 👉 youtu.be/MZGauxMSmd0 #r2con2024 #scripting #radare2

Scott Williams 🐧

QBSH - Because if you're going to run a #shell that isn't #POSIX, you might as well run one that is blatently honest about that up front. ;-)

#scripting #Linux #Unix

Wolkensteine

Now it is time for something a little different. I worked on a small integration with #OBS you want to know how? Well, I build a square widget that can be accessed via a separate URL, so it can be easily integrated into an OBS scene!
Why I did this ... I am not sure, I just felt like it. I want to integrate more of my things together, and this felt like a good starting point.

#python #programming #scripting #audio #update

Scott Williams 🐧

I'm excited to announce the release of v1.2.0 of #qbsh! The big news with this update is support for calling further scripts within scripts with RUN.

github.com/vwbusguy/qbsh/relea

#scripting

Release 1.2.0 · vwbusguy/qbsh

Beyond regular code maintenance, the 1.2.0 release…

GitHub
Scott Williams 🐧

Want to trigger some #bash action once a process is finished? Find the pid of the process with `ps` or `top` (1234 in this example) and then:

while ps 1234 ; do sleep 5 ; done ; git add . && git commit -m 'Updated dependencies.'

The commands after the `done;` will happen once the process finishes. Keep in mind that this will fire regardless of whether it finished successfully, but this is useful for triggering an action on an already long-running process.

#Linux #scripting