Live data from Hacker News

Fun at the Unix Terminal

blog.regehr.org

51–56 of 56 posts

Re: Fun at the Unix Terminal

#51
post #4

> Well, the rig utility can help, it creates a random identity. For some reason rig will never generate an identity that lives in Utah. 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,…

where can you actually find the code? For whatever reason, I can't get it from my centos distro (yum search rig, doesn't show anything related). And googling "linux rig command", I don't see any links to the actual source.

from the comment further down, you can browse Ubuntu packages, and I found it here:

http://packages.ubuntu.com/zesty/misc/rig

Re: Fun at the Unix Terminal

#52
post #31
post #13

Surprised nobody commented on bb yet. This thing is really impressive - and I thought that mplayer -vo caca is jaw-dropping!

and then realising the last time the BB project page was updated was 1997.. 20 years ago! ( http://aa-project.sourceforge.net/bb/ )

bb is not a project, it is a demo[1] from the demoscene. It ranked 10th at abduction 1997[2].

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

[2]: http://www.pouet.net/party.php?which=75&when=1997

[3]: http://www.pouet.net/prod.php?which=12036

Re: Fun at the Unix Terminal

#53
I don't remember where did I get this from but it is a cool thing to add to your .bashrc

  #!/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

Re: Fun at the Unix Terminal

#54
post #4

> Well, the rig utility can help, it creates a random identity. For some reason rig will never generate an identity that lives in Utah. 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,…

where can you actually find the code? For whatever reason, I can't get it from my centos distro (yum search rig, doesn't show anything related). And googling "linux rig command", I don't see any links to the actual source.

The code is here: https://sourceforge.net/projects/rig/

Re: Fun at the Unix Terminal

#56

Shameless plug for a CLI *say derivitive that a coworker and I made: RabbitSay. http://www.rabbitsay.wtf $ pip install rabbitsay $ rabbitsay "shameless plug" ┌───────────┐ | shameless | | plug | └───────────┘ (\__/) || (•ㅅ•) || / づ

It is actually really easy to create custom cow templates for cowsay: https://github.com/schacon/cowsay/blob/master/cows/bunny.cow
Post reply on HN