I love Linux

Started by nicefish, July 17, 2017, 02:40:30 AM

nicefish

This kept me awake all night long:
$ date; sleep 30m && aplay /dev/urandom

rachel

*spork*

netpun

try this: playfont() { (cat /dev/urandom | tr -dc a-zA-Z0-9 | fold -bw 80 | while read; do figlet -w "${2-80}" -f "${1-term}" "$REPLY"; done | aplay) 2>&-; }
it (optionally) accepts two arguments. the first is the FIGlet font file name, the second is the line-wrap length
Why live?

nicefish

Quote from: netpun on July 19, 2017, 05:36:55 AM
try this: playfont() { (cat /dev/urandom | tr -dc a-zA-Z0-9 | fold -bw 80 | while read; do figlet -w "${2-80}" -f "${1-term}" "$REPLY"; done | aplay) 2>&-; }
it (optionally) accepts two arguments. the first is the FIGlet font file name, the second is the line-wrap length

that's really awesome. thank you.

rachel

Quote from: nicefish on July 20, 2017, 03:06:40 PM
Quote from: netpun on July 19, 2017, 05:36:55 AM
try this: playfont() { (cat /dev/urandom | tr -dc a-zA-Z0-9 | fold -bw 80 | while read; do figlet -w "${2-80}" -f "${1-term}" "$REPLY"; done | aplay) 2>&-; }
it (optionally) accepts two arguments. the first is the FIGlet font file name, the second is the line-wrap length

that's really awesome. thank you.

You're right, this does sound nicer than just piping /dev/urandom to aplay. Do you have any recommended fonts?
*spork*

rachel

I think it's more fun to listen to structured binary files, like this:

Quoteaplay /bin/bash

Do you know any other programs that sound good?
*spork*

netpun

Quote from: rachel on July 22, 2017, 02:05:55 AM
Quote from: nicefish on July 20, 2017, 03:06:40 PM
Quote from: netpun on July 19, 2017, 05:36:55 AM
...

that's really awesome. thank you.

You're right, this does sound nicer than just piping /dev/urandom to aplay. Do you have any recommended fonts?

doh
doh 1
alligator 1
alpha
banner 1
bear
crazy 1
isometric1
Actually, just go to this list and try any of the ones which have unique geometry: http://www.jave.de/figlet/fonts/overview.html
I got most of my fonts from that website, btw: http://www.jave.de/figlet/fonts.html
You can list all the fonts on your computer by typing locate .flf
Why live?

netpun

Quote from: rachel on July 22, 2017, 02:08:03 AM
I think it's more fun to listen to structured binary files, like this:

Quoteaplay /bin/bash

Do you know any other programs that sound good?
Whoa I never thought of that.
Why not play them all?
aplay /usr/bin/*
brrrrrrrrrrr EEEEEEEEEE ASDFJKLWFPOQIUBPASCJOAPJEPQOCMAPJFQPIEJFIWEGRIJFUHFJGKFP...
brrrrrrrrrrrrrr EE EOFJWEOPFJOWPEJPMVPOSDFJPWOIFIOWIJPOIFJPWOIGEPORIWEJPOWWE...

On another note, try this: tree / | aplay
Why live?

h

#8

save as freedom.png
aplay freedom.png

EDIT: IT WORKS NOW
dudeweed😂

rachel

Quote from: h on July 22, 2017, 02:45:06 PM

save as freedom.png
aplay freedom.png

Hey, this is pretty cool, but for best results you need to specify the sample rate.

Quote
aplay -r 16000 ~/Pictures/freedom.png
Playing raw data '~/Pictures/freedom.png' : Unsigned 8 bit, Rate 16000 Hz, Mono

The default of 8000 is very weird and slowed down.
*spork*

rothen

Yeah, for a long while my alarm was a little script that threw random binary files at aplay until killed. Try aplay /bin/sed
signatures

here cums the fuck truck

i hate linux so much im going to fight it
m'lady

rachel

*spork*

rachel

If you love linux then you'll LOVE the new Librem 5 phone from Purism!



It's a phone that runs Linux!!! Coming to an internet near you some time in 2019. Pre-order today!

https://puri.sm/shop/librem-5/
*spork*

nicefish

Quote from: rachel on October 06, 2017, 01:07:40 AM
If you love linux then you'll LOVE the new Librem 5 phone from Purism!



It's a phone that runs Linux!!! Coming to an internet near you some time in 2019. Pre-order today!

https://puri.sm/shop/librem-5/

Unfortunately, a new phone isn't in my budget until at least May 2019. Full-priced phones should last me at least 2 years.