this post was submitted on 12 Jun 2024
0 points (NaN% liked)

Linux

4924 readers
100 users here now

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

founded 1 year ago
MODERATORS
top 12 comments
sorted by: hot top controversial new old
[–] fuzzy_feeling@programming.dev 1 points 3 months ago

unlocking luks over ssh

[–] lisquid420@lemm.ee 1 points 3 months ago (1 children)

i officially left windows yesterday! :)

[–] zcd@lemmy.ca 1 points 3 months ago* (last edited 3 months ago)

One of us one of us

Edit: hows it going? Everything working ok?

[–] pleb_maximus@feddit.de 0 points 3 months ago

Repartitioning one of the extra disks that was still on NTFS to ext4 and updating the fstab entry accordingly.
So, nothing big.

[–] lvxferre@mander.xyz 0 points 3 months ago (1 children)

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 sources 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.

[–] redbr64@lemmy.world 0 points 3 months ago (1 children)

The black Sabbath for Internet connection is hilarious. Did you get that from the Bitcoin mining trigger bit on Silicon Valley?

[–] lvxferre@mander.xyz -1 points 3 months ago

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.)

[–] Valmond@lemmy.mindoki.com 0 points 3 months ago (1 children)

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).

[–] drasglaf@sh.itjust.works 0 points 3 months ago (1 children)

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.

[–] Valmond@lemmy.mindoki.com 0 points 2 months ago (1 children)

I have an external DAC, so I don't need to think about how good music the PC/Raspberry/... produces.

[–] drasglaf@sh.itjust.works 0 points 2 months ago* (last edited 2 months ago) (1 children)

I also have an external DAC (SMSL DO100), but the Pi struggled feeding it data.

[–] Valmond@lemmy.mindoki.com 1 points 2 months ago

That's weird, was it over usb or something else? I mean it's not very much data to be sent.