Lurker News
Curious to know if anyone has written programs for their own, regular, & personal use. And if so what they are? E.g. A colleague of mine tracks all of his homes energy use through a custom program which disaggregates the energy consumption per device and outputs a report to a tablet.

Comments (651) 385 threads

Earlier comments
alexswensen#
I recently wrote a tool that allows me to copy AWS secrets to another aws account for testing. It ended up being far simpler than doing a copy-paste for doing it repeatedly. I plan to write a few more in the appropriately named repo.

https://github.com/AlexSwensen/useful-scripts

perlgeek1 reply#
Lots of small little scripts lying around in bin/, some of them for extracting information or downloading stuff from certain websites, some for small admin tasks.

Possibly the most useful for others is a small wrapper around pdftk that splits a PDF file into smaller ones based on the "bookmarks" (the chapter annotations that many PDF readers show as outlines in a side bar).

btrettel1 reply#
> Possibly the most useful for others is a small wrapper around pdftk that splits a PDF file into smaller ones based on the "bookmarks" (the chapter annotations that many PDF readers show as outlines in a side bar).

I'm interested in this if you are willing to share.

robacarp#
Neat question, I've enjoyed the replies so far.

I've built tons. Most of them don't stick for long. One that has is a file-cabinet organization tool - https://github.com/robacarp/place
- it moves files into place within my filing system - renames the file so that even if it's moved _from_ the filing system I can see where it came from (eg sent in an email) - uses a custom TUI engine I built for this specific task https://github.com/robacarp/keimeno
----------------------
Another is a clean, bare bones, web-extension mode "picture on a new tab" extension. When I came back to firefox a few years ago I couldn't find one amongst the clutter on AMO so I put together https://github.com/robacarp/photographic_start

willjp#
This is my favourite passtime. So so many little scripts. Some fun ones:

* cli tool to diff changes to a branch since the last revision you looked at when it has been rebased (only if you haven’t git gc’d!!)
* use fzf to choose from pulseaudio sinks/sources, changing the default and applying it to all current audio streams (ex.change mic or to headphones)
* change the default linux webcam by renaming devices, runs as a udev hook.
* various arch tools. Automatically download mirrorlist and enable the fastest 5 sources. Download/extract a package from the aur. Fzf multiselect all of the .pacnew files, vimdiff them, and delete the .pacnew files for files that changed. Also my own install script with choices for ext4 or zfs.
* use mplayer to play a video as the background on all monitors. I downloaded several 10hrs of ocean/forest sounds and alternate between them.
* tool to convert restructured text to html email in mutt
* using xargs to parallelize updating my most common config repos
* index all git repos on disk, then either fzf choose from or choose best match and cd into it. Not my idea, but I love it so much!
* makefile for my i3 config that looks at avail displays and gives me 10 monitors per display with the same hotkeys (like dwm).
* choose from several presets and recompile st with a different colourscheme.
* categorize all of my bank transactions to monitor my spending over time.
* a cli DM with different Xorg configurations and window managers (music keeps playing, fuse mounts retained). Useful for multimonitor games that require different setups.
* wine, proton scripts to manage prefixes and cd to common windows directories within them.
So,so many more.

Load more comments