Little programs or scripts or automations you’ve created ad-hoc to solve a particular single use case
I have lots of shortcuts i make on my phone and I have one i love that detects when bluetooth accidentally or purposefully disconnects from my speaker and reconnects it and fixes a playback glitch so its back to playing properly
I have a lot of comic book boxes:
I created a script that lets me query the database to return the box numbers for certain content.
I can search by writer, artist, title, character, notes, even down to issue number.
What I’d LIKE to do is hook it into a voice recognition system and smart lights and get it to light up the boxes “Wheel of Fortune” style. But I’m aways off that yet.
That’s a lot of comic books.
What’s the value of a collection like that?
Hard to say, it’s been years since I’ve done a full inventory and I have books signed by people who have since passed away. :(
Working on a current inventory now.
That’s really cool!
I built a script that runs on a raspberry pi with an nfc reader and speakers. It’s setup with nfc cards to play music for my kids. they don’t use it as much as they used to but it’s still going strong after four years!
I write AHK scripts to make it possible to play certain games even though I can barely use my limbs. Often this means condensing a bunch of pointless inputs into one. Other times it means hacking controller support into a game so that I can use my preferred input devices.
Even though I fucking hate AHK as a general language, it is easily the best language for such tasks.
A “full update script” so I don’t forget a package manager. It should probably be an alias but whatever, I run the script
My most used one is a two letter terminal alias (zz for zigzag) that copies all the track information from a specified playlist, or from my “download" playlist if none is provided. It can also read from CSV and text files in order to remove all special characters and repeated words from each name. Then it outputs a formatted version to my clipboard, which I then paste into another program’s config file. Then I wait…
I wrote a link handler, that allows me to just click on magnet: links or open torrent files and send them to my remote torrent client. I use this almost daily.
I also built a torrent crawler that fetches multiple torrent sites and shows me the new stuff, while filtering out shit quality stuff and things I already have.
And then I built a viewer with search for multiple defunct story sites I crawled years ago.
Those tools I use all the damn time.
Once I wrote a PowerShell script to change all the public affairs officers’ job titles to pubic affairs officers on our exchange server. I never ran it, but I could have.
orphankiller
, becausepacman -Rns $(pacman -Qtdq)
is too much to typeI started self-hosting as a hobby and while I enjoy it, I was getting frustrated with file transfers between my computer, phone and two raspberry pi’s. Since I was already using rsync, I created a tool for myself to help sort rsync commands into sortable files.
I can now lump together those files into a single command and run several rsync commands in one go.
It’s definitely saved me some sanity by not having to refer to a wall of text full of rsync aliases.
I posted it on codeberg.
It is random code on the internet and it involves file transfers so if anyone uses it, those are the risks unless you care to read the code itself.
Pi and touch screen photo frame . it reads a photos dir and just sets it as the background randomly every 5 mins using “feh” and “cron”.
I basically rewrote all of polybar using eww widgets because I didn’t like how polybar was too rigid in certain aspects.
So lots of scripts handling audio control, dark/light mode, i3 workspace switching, media control, login session management, weather widgets calling external APIs, etc. It was a whole ecosystem of tools and widgets.
I just recently bought a new computer with an AMD GPU so I’m finally running Hyprland, and now I’m using Waybar. But I might start a project to do it all again using Astal. Who knows. Or maybe Waybar will be able to suffice. We shall see.
I wrote a knights and knaves puzzle generator. I enjoyed making the program more than actually solving the puzzles though
I use Redshift to change the color temp on my monitors.
I have cron jobs at 1930 to change to night mode, and 0600 to revert back to day mode.
I’m very certain the temp change can be scheduled within Redshift itself, but I’d have to leave the terminal open, figure out the documentation, arguments, etc. Creating the cron jobs was easier for me. 🤷
You can run scripts without terminal emulator windows.