Fun at the Unix Terminal
blog.regehr.org
blog.regehr.org
Heh, I was curious why that is. Was the author from UT? Afraid of breaking some laws? After looking at the source, the author has a list of 60 or so cities and they're spread across 25 states: SC, AZ, TX, OH, KS, IA, WI, MI, NJ, NY, PA, IN, VA, NC, RI, TN, WA, MS, CA, IL, CO, FL, GA, MN, NE. So UT was not the only one omitted.
Oh well, at least my curiosity was satisfied.
$ fortune > my_fortune.txt
$ say -f my_fortune.txt
One could use the underrated (bashism) process substitution: $ say -f <(fortune)
Which works wonders for e.g diff'ing live: $ diff <(ssh elvis ls -1 foo) <(ls -1 bar)Just use
$ say $(fortune)
or $ fortune | say -f-
For bonus coolness, add "-i" (it prints the lines and highlights the current word during reading). $ pip install rabbitsay
$ rabbitsay "shameless plug"
┌───────────┐
| shameless |
| plug |
└───────────┘
(\__/) ||
(•ㅅ•) ||
/ づI read through the whole thing with joy, and I am 20
#!/bin/bash
#teach you some new commands every time you open a new terminal
echo 'Did you know that:'
echo $( whatis $(ls /bin | shuf | head -1))
echo $( whatis $(ls /sbin | shuf | head -1))
echo $( whatis $(ls /usr/bin | shuf | head -1))
edit: formatting[0] http://packages.ubuntu.com/zesty/newpkg?mode=byage
[1] http://packages.ubuntu.com/zesty/games/
[2] http://packages.ubuntu.com/zesty/misc/
alias rot13='tr a-zA-Z n-za-mN-ZA-M'
alias pbr13='pbpaste | rot13; echo'
(echo adds a newline to play well with bash; on linux I use xsel instead of pbpaste.)The demoscene is an unending source of awesome and amazing. The 4k and 64k categories will blow your mind, if you ever wondered "can a FPS game could be done in under 100kB?", the answer has been released in 2004 and its name is .kkrieger[3]
[1]: http://www.pouet.net/prod.php?which=17468
https://jugad2.blogspot.in/2016/12/jal-tarang-and-musical-al...
Likewise aaxine(1) which renders videos in ASCII art.
vlc --vout caca videofilename.ext
and then look at them being scared/curious/amazed in that order! $ brew install mpv --with-libcaca
$ mpv --vo=caca --really-quiet videofilename.extFor me only one of those things is true: I think I always have fun learning, but I certainly have had fun without learning anything, too.