unlocking luks over ssh
Linux
A community for everything relating to the linux operating system
Also check out !linux_memes@programming.dev
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
i officially left windows yesterday! :)
One of us one of us
Edit: hows it going? Everything working ok?
Repartitioning one of the extra disks that was still on NTFS to ext4 and updating the fstab entry accordingly.
So, nothing big.
A script full of functions that I perform often, like:
- Probe every 5min for internet connection. Play Black Sabbath when there is. (My internet goes down often.)
- Create individual tarballs/zips/rars for each subdir.
- Extract all tarballs/zips/rars from a dir. (It detects the format on its own)
- Extract all files of a DwarFS file into a dir.
- Re-encode all vids from a dir.
- Delete all thumbnail pictures from my user.
- Find and remove all desktop.ini and thumbs.db files in a dir, recursively.
My .bashrc then source
s that script, so to use those functions I simply open a terminal. And if I ever need to delete my .bashrc and recreate it anew, they're safely stored in my scripts directory.
The black Sabbath for Internet connection is hilarious. Did you get that from the Bitcoin mining trigger bit on Silicon Valley?
No, that's a coincidence. I wanted something that: started loud, was easy to recognise, I don't mind hearing, and my neighbours don't listen to. Wicked World it is.
Here's the code by the way, with the echo
translated:
lvxInternetCheck () {
while [[ $(ping -c 5 8.8.8.8 | grep -o "100% packet loss") == "100% packet loss" ]]
do echo "No internet at $(date +%R)." ; sleep 300
done
echo "Internet came back at $(date +%R)."
cvlc /[redacted]/08\ -\ Wicked\ World.mp3
}
It's dirty but it works. (My functions start with "lvx" to avoid the tiny chance that they might clash with system functions.)
I just bought another (cheap quad core 256GB SSD) thinkcentre as a tinker platform.
So I'm going to add that to my Linux uh setup (of machines).
I've been thinking about getting a thin client or similar for Hi-Res music listening for a while. I tried a Raspberry Pi 3b+ and the music sounded harsher and would crackle as soon as the Pi was doing anything else at the same time.
Having my PC on all day in summer is a bit overwhelming.
I have an external DAC, so I don't need to think about how good music the PC/Raspberry/... produces.
I also have an external DAC (SMSL DO100), but the Pi struggled feeding it data.
That's weird, was it over usb or something else? I mean it's not very much data to be sent.