'Music' from /dev/urandom
21–30 of 58 posts
Re: 'Music' from /dev/urandom
#22Is there a way to make it sounds more pleasant? The sine wave is a bit harsh...
Re: 'Music' from /dev/urandom
#23And yet here's the command:
cat /dev/urandom | hexdump -v -e '/1 "%u\n"' | awk '{ split("0,2,4,5,7,9,11,12",a,","); for (i = 0; i
There's nothing Ubuntu-specific there: it works fine on other Linuxes.It's gotten more than a little annoying, this widespread equivalence between Ubuntu and Linux. Ubuntu is a Linux distro, albeit hardly the best, most idiomatic or most traditional. It's just a single distro, out of many.
Re: 'Music' from /dev/urandom
#24Anyone got this working on OSX afplay does not accept the same input :(
Another solution: [1] cat /dev/urandom | hexdump -v -e '/1 "%u\n"' | awk '{ split("0,2,4,5,7,9,11,12",a,","); for (i = 0; i 1: https://www.reddit.com/r/programming/comments/48xf6k/bash_on...
Re: 'Music' from /dev/urandom
#25Earlier quoted context omitted.
you mean js?
I mean CSS, as explained by the link I posted.
You can paste to an intermediate area to be sure you didn't catch something hidden from whichever site you don't trust (which allows users to inline arbitrary HTML elements with arbitrary styles).
This is a habit one already might be in if they want to avoid being tracked from clicking on, say, Google search results. You'll avoid some of their tracking features if you copy the link you want and paste it to some text-holding zone first. (This also avoids the site you land on knowing your "referer".)
Re: 'Music' from /dev/urandom
#26> I only expected this to work on Ubuntu And yet here's the command: cat /dev/urandom | hexdump -v -e '/1 "%u\n"' | awk '{ split("0,2,4,5,7,9,11,12",a,","); for (i = 0; i There's nothing Ubuntu-specific there: it works fine on other Linuxes. It's gotten more than a little annoying, this widespread equivalence between Ubuntu and Linux. Ubuntu is a Linux distro, albeit hardly the best, most idiomatic or most traditiona…
In fact, what's the point of different distros if they aren't idiomatic?
Re: 'Music' from /dev/urandom
#27Earlier quoted context omitted.
I mean CSS, as explained by the link I posted.
It was an excellent share you although I don't quite think "turning off CSS" would be my preferred defense. You can paste to an intermediate area to be sure you didn't catch something hidden from whichever site you don't trust (which allows users to inline arbitrary HTML elements with arbitrary styles). This is a habit one already might be in if they want to avoid being tracked from clicking on, say, Google search re…
On iOS this doesn't happen for some reason.
Re: 'Music' from /dev/urandom
#28> I only expected this to work on Ubuntu And yet here's the command: cat /dev/urandom | hexdump -v -e '/1 "%u\n"' | awk '{ split("0,2,4,5,7,9,11,12",a,","); for (i = 0; i There's nothing Ubuntu-specific there: it works fine on other Linuxes. It's gotten more than a little annoying, this widespread equivalence between Ubuntu and Linux. Ubuntu is a Linux distro, albeit hardly the best, most idiomatic or most traditiona…
But lets admit that distros of Linux have become idiomatic. Its reasonable to give a caveat when describing any Linux procedure. This is not an Ubuntu issue at all. In fact, what's the point of different distros if they aren't idiomatic?
Re: 'Music' from /dev/urandom
#29Earlier quoted context omitted.
But lets admit that distros of Linux have become idiomatic. Its reasonable to give a caveat when describing any Linux procedure. This is not an Ubuntu issue at all. In fact, what's the point of different distros if they aren't idiomatic?
It's incorrect to assume that a shell script that uses tools like xxd and awk is distro-specific. Almost every distribution ships the GNU coreutils and other GNU base tools. It's going to work on basically every distribution. What makes distributions unique is their package manager, release and security philosophy, amount of cruft, etc.
Re: 'Music' from /dev/urandom
#30> I only expected this to work on Ubuntu And yet here's the command: cat /dev/urandom | hexdump -v -e '/1 "%u\n"' | awk '{ split("0,2,4,5,7,9,11,12",a,","); for (i = 0; i There's nothing Ubuntu-specific there: it works fine on other Linuxes. It's gotten more than a little annoying, this widespread equivalence between Ubuntu and Linux. Ubuntu is a Linux distro, albeit hardly the best, most idiomatic or most traditiona…