Skip to content

Instantly share code, notes, and snippets.

@BigETI
Created August 11, 2018 00:05
Show Gist options
  • Save BigETI/6ef21c8b7d3a3a1ff3b942fd385ba45b to your computer and use it in GitHub Desktop.
Save BigETI/6ef21c8b7d3a3a1ff3b942fd385ba45b to your computer and use it in GitHub Desktop.
background=$(echo -ne '\033[0m')
blue=$(echo -ne '\033[48;5;26m')
cyan=$(echo -ne '\033[48;5;45m')
skin=$(echo -ne '\033[48;5;222m')
black=$(echo -ne '\033[48;5;233m')
white=$(echo -ne '\033[48;5;231m')
function r() {
STRING=${@}
STRING=$(echo -e $STRING | sed 's/0/a/g; s/1/b/g; s/2/c/g; s/3/d/g; s/4/e/g; s/5/f/g')
echo -e "`echo $STRING | sed 's|a|'$background' |g; s|b|'$black' |g; s|c|'$blue' |g; s|d|'$cyan' |g; s|e|'$skin' |g; s|f|'$white' |g; s| | |g'`"
}
echo -e "\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
echo -ne "\e[38;5;45m"
figlet -c -w 122 bigeti.de
echo -ne "\e[0m\e[20A"
r "0000000000000001110"
r "00000000000001113310"
r "000000000000122213310"
r "0000000000012222211110"
r "00000000000122222133210"
r "00000000001322222211210"
r "00000000111322455522510"
r "00000011331324551141510"
r "000001333331245511415100011110"
r "00001233333124455545411112221110"
r "000012223133124111141133123331310"
r "000012221213314444413333122221210"
r "00000122122133111113333312221110"
r "000000122221333333311111011110"
r "00000001221333333310"
r "0000000011223333310"
r "0000000001222222210"
r "0000000013222222310"
r "00000001333222233310"
r "000000123333113332210"
r "000011222331001222210"
r "0011222222100012221110"
r "01222222210001222222210"
r "01111111110001111111110"
echo -e '\e[0m'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment