Skip to content

Instantly share code, notes, and snippets.

@Pragith
Created July 12, 2019 18:42
Show Gist options
  • Save Pragith/868d822b5b0fe83f0d836cffbe2f0f13 to your computer and use it in GitHub Desktop.
Save Pragith/868d822b5b0fe83f0d836cffbe2f0f13 to your computer and use it in GitHub Desktop.
Make it rain like Matrix on Mac
alias matrix='echo -e "\033[0;32m1"; while $t; do for i in `seq 1 30`;do r="$[($RANDOM % 2)]";h="$[($RANDOM % 4)]";if [ $h -eq 1 ]; then v="\033[0;32m0 $r";else v="1 $r";fi;v2="$v2 $v";done;echo -e $v2;v2="";done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment