I love Linux

  • 32 Replies
  • 20243 Views
I love Linux
« on: July 17, 2017, 02:40:30 am »
This kept me awake all night long:
Code: [Select]
$ date; sleep 30m && aplay /dev/urandom

Re: I love Linux
« Reply #1 on: July 17, 2017, 06:46:48 am »
y
*spork*

Re: I love Linux
« Reply #2 on: July 19, 2017, 05:36:55 am »
try this:
Code: [Select]
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

NICEFISH TIPPED 100 CORAL FOR THIS POST

Why live?

Re: I love Linux
« Reply #3 on: July 20, 2017, 03:06:40 pm »
try this:
Code: [Select]
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.

Re: I love Linux
« Reply #4 on: July 22, 2017, 02:05:55 am »
try this:
Code: [Select]
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*

Re: I love Linux
« Reply #5 on: July 22, 2017, 02:08:03 am »
I think it's more fun to listen to structured binary files, like this:

Quote
aplay /bin/bash

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

Re: I love Linux
« Reply #6 on: July 22, 2017, 09:54:35 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?

Code: [Select]
doh
Code: [Select]
doh 1
Code: [Select]
alligator 1
Code: [Select]
alpha
Code: [Select]
banner 1
Code: [Select]
bear
Code: [Select]
crazy 1
Code: [Select]
isometric1Actually, 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
Code: [Select]
locate .flf
Why live?

Re: I love Linux
« Reply #7 on: July 22, 2017, 10:05:21 am »
I think it's more fun to listen to structured binary files, like this:

Quote
aplay /bin/bash

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

On another note, try this:
Code: [Select]
tree / | aplay
Why live?

h's Avatar

h

Re: I love Linux
« Reply #8 on: July 22, 2017, 02:45:06 pm »

save as freedom.png
Code: [Select]
aplay freedom.png
EDIT: IT WORKS NOW
« Last Edit: July 23, 2017, 08:23:50 am by h »
dudeweed😂

Re: I love Linux
« Reply #9 on: July 23, 2017, 08:16:30 am »

save as freedom.png
Code: [Select]
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*

Re: I love Linux
« Reply #10 on: July 24, 2017, 04:25:54 pm »
Yeah, for a long while my alarm was a little script that threw random binary files at aplay until killed. Try
Code: [Select]
aplay /bin/sed

RACHEL TIPPED 20 CORAL FOR THIS POST

signatures

Re: I love Linux
« Reply #11 on: July 26, 2017, 02:59:58 pm »
i hate linux so much im going to fight it
m'lady

Re: I love Linux
« Reply #12 on: September 13, 2017, 03:56:03 pm »
same

*spork*

Re: I love Linux
« Reply #13 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/
*spork*

Re: I love Linux
« Reply #14 on: October 06, 2017, 12:25:34 pm »
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.