Skip to content

Instantly share code, notes, and snippets.

View pcostan's full-sized avatar

Paul Costan pcostan

View GitHub Profile
@pcostan
pcostan / gist:578afddd6295ee36166020b5872e9fc8
Created July 24, 2019 14:01 — forked from khakimov/gist:3558086
Matrix Effect in you terminal
echo -e "\e[1;40m" ; clear ; while :; do echo $LINES $COLUMNS $(( $RANDOM % $COLUMNS)) $(( $RANDOM % 72 )) ;sleep 0.05; done|awk '{ letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#$%^&*()"; c=$4; letter=substr(letters,c,1);a[$3]=0;for (x in a) {o=a[x];a[x]=a[x]+1; printf "\033[%s;%sH\033[2;32m%s",o,x,letter; printf "\033[%s;%sH\033[1;37m%s\033[0;0H",a[x],x,letter;if (a[x] >= $1) { a[x]=0; } }}'

Keybase proof

I hereby claim:

  • I am pcostan on github.
  • I am pcostan (https://keybase.io/pcostan) on keybase.
  • I have a public key ASDZ9KDM5jcEptXHrqzpHeQURUzUmaRiQhCEgSq0dgOaMgo

To claim this, I am signing this object: