Claude Code came in clutch yet again for me. I needed a local maintenance script that would do three things: 1. Backup Tuwunel's database on a regular schedule. 2. Purge remote media after 30 days. 3. Purge local media after 60 days. The thing I discovered about Tuwunel is that it's Docker container essentially is just one Rust-based binary, and if it's running, you can't invoke it using traditional Docker commands as it would essentially try to run a second instance of Tuwunel. That causes a clash with Tuwunel's database, which essentially is locked by the first instance while running. Claude's solution: It helped me write a bash script that logs into the server as my admin account and uses the Matrix API to send commands to my server's admin room that invokes the maintenance tasks needed to keep the database backed up and purges media on the schedule I set. So now I have a cron job that fires on a schedule that runs the script, it does its thing and Tuwunel stays happy, healthy and backed up without consuming all the storage space on the VPS it runs on. #Claude #AI #Tuwunel #Matrix #BashScripts #Maintenance
Behold, the riveting tale of a coder's quest to turn taxes into a tech circus! ๐Ÿคนโ€โ™‚๏ธ Armed with Claude CLI and #Obsidian, they bravely transform a routine task into a convoluted saga of folder structures and bash scripts. Who knew filing taxes could be so ๐ŸŽ‰ exciting?
https://www.mrafayaleem.com/blog/improving-personal-tax-filing-with-claude-obsidian #coderquest #techcircus #filingtaxes #bashscripts #HackerNews #ngated
Improving personal tax filing with Claude CLI and Obsidian

An opinionated workflow showcasing how I used Claude and Obsidian together to help with my personal tax filing in Canada

The Growth Engineer's Diary
โš™๏ธ "just-bash: Bash for Agents" boldly reimagines the wheel by slapping AI on a terminal and calling it revolutionary. Because who hasn't dreamt of making Bash scripts more complex and unpredictable? ๐Ÿค–โœจ It's the tech equivalent of putting a mustache on a Mona Lisa and calling it modern art. ๐Ÿ–ผ๏ธ
https://github.com/vercel-labs/just-bash #justbash #AIterminal #techinnovation #Bashscripts #modernart #HackerNews #ngated
GitHub - vercel-labs/just-bash: Bash for Agents

Bash for Agents. Contribute to vercel-labs/just-bash development by creating an account on GitHub.

GitHub
๐Ÿš€๐Ÿ”ฅ Oh joy, another tool claiming to simplify #Docker with a sprinkle of #microVM magic! Bottlefire: for those who think turning container images into cumbersome, zero-dependency Linux executables is the pinnacle of #innovation. ๐Ÿขโš™๏ธ Because nothing screams 'progress' like shuffling dependencies into convoluted bash scripts.
https://bottlefire.dev/ #Simplification #ContainerTools #BashScripts #HackerNews #ngated
Bottlefire - Build single-executable microVMs from Docker images

๐Ÿšจ Alert: Earth-shattering news! ๐Ÿšจ Apparently, your Bash scripts are a ticking time bomb unless you start with the sacred "set -euo pipefail" chant. ๐Ÿคฏ Prepare for a life of peace and tranquility, free from the horrors of debugging! Just ignore the bit where it makes everything else a nightmare... but don't worry, there are "simple" workarounds. ๐Ÿ™„โœจ
http://redsymbol.net/articles/unofficial-bash-strict-mode/ #BashScripts #Debugging #SetEuoPipefail #CodingTips #TechNews #HackerNews #ngated
Bash Strict Mode

๐Ÿฅฑ Wow, someone just discovered "timeout" in Bash scripts! ๐ŸŽ‰ Next, they'll uncover the thrilling world of semicolons and parentheses. ๐Ÿš€ Because nothing says cutting-edge innovation like learning about basic shell scripting, right? ๐Ÿ™„
https://heitorpb.github.io/bla/timeout/ #BashScripts #ShellScripting #TechInnovation #CodingHumor #ProgrammingBasics #HackerNews #ngated
TIL: timeout in Bash scripts | Heitor's log

How to use the `timeout` command to terminate processes after a specified time and how to combine it with `until` for smarter shell scripting.

#SelfHosting community, how do you get notifications about your projects?

I'm setting up a couple of #BASH #Scripts to back things up and notify me about events on my #RaspberryPi, but I've hit some roadblocks. Here's my situation:

- I know #email is one option, but I'm not set up for it yet. My domain is on porkbun.com, but its nameservers point to vultr.com, where my #WordPress site is hosted. The Vultr server is managed by a friend, so I don't have access to add #DNSRecords for platforms like #Brevo. I've asked him to add the records but am waiting on that.

- I've been using a #Discord webhook, but I've run into issues with rate limiting when scripts send too many messages. Long messages also cause errors.

Now, I'm exploring other ways to send notifications. Does anyone have suggestions for reliable methods or tools that work well in self-hosted setups?

#Linux #Tech #Technology #BASHScripts #SelfHosted #Notifications
@selfhost @selfhosted @linux @selfhosting

Hello world!

I'm a #genderqueer #postchristian #musician that found their way to the fediverse amongst the madness of 2020.

I will occasionally post original #digitalcollage and sound clips of #noise and #music. You might soon find music at bandcamp/tremortwins.

I'm interested in #LinuxAudio #sox #tmux #git #bashscripts and living the #CLI life.

I'm enjoying personal growth and self-discovery, and am looking forward to discovering interesting people on Mastadon! :-)