Skip to content

Instantly share code, notes, and snippets.

@jsam
Created October 6, 2012 16:41
Show Gist options
  • Select an option

  • Save jsam/3845424 to your computer and use it in GitHub Desktop.

Select an option

Save jsam/3845424 to your computer and use it in GitHub Desktop.
.bashrc Matrix xD
alias rmatrix='echo -ne "\e[31m" ; while true ; do echo -ne "\e[$(($RANDOM % 2 + 1))m" ; tr -c "[:print:]" " " < /dev/urandom | dd count=1 bs=50 2> /dev/null ; done'
alias gmatrix='echo -ne "\e[32m" ; while true ; do echo -ne "\e[$(($RANDOM % 2 + 1))m" ; tr -c "[:print:]" " " < /dev/urandom | dd count=1 bs=50 2> /dev/null ; done'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment