This is how we pulled off our amazing 404 page.
Forked from nclud team's Pen 404 Kittens.
A Pen by Envato Tuts+ on CodePen.
| #!/bin/bash | |
| # Create macOS USB Installer | |
| # url.efmeeks.net/osx-usb | |
| clear | |
| cat << eof | |
| ╭──────────────────────────────────────╮ | |
| │ To quit, press CTRL+C at any time. │ | |
| ╰──────────────────────────────────────╯ | |
| eof | |
| pass() { | 
| #!/bin/bash | |
| # Hipster LolCow | |
| [ -z "$(type lolcat)" ] && exit | |
| [ -z "$(type cowsay)" ] && exit | |
| echo "$(curl -Ls "https://hipsum.co/api/?paras=1&type=hipster-centric&html=false")" | \ | |
| tr -d ']["' | \ | |
| fold -s | \ | |
| head -1 | \ | |
| cowsay -e oO -T 'U ' | \ | 
| #!/bin/bash | |
| # ipme: ip address looker upper | |
| # https://git.io/vdiMj | |
| ipme() { | |
| echo ''; echo " Public IP: $(wget -q -O - http://ipecho.net/plain)" | |
| echo " Private IP: $(ifconfig | egrep 'inet' | egrep -v 'inet6|127' | awk '{ print $2 }')" | |
| echo -e "\x20 \x20 \xE2\x99\xA1 ipme"; echo '' | |
| } | 
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYxGpid/Y8PdlmR6vkCNeTCeEbvL+8y81Nc2l+CchAH42zz42PcOk2+SQtyaDp7JcH8cnYpd7VPjlO99IXvdL0+xjsZfJLuNA0uhW7TZap0Mpp4v5B1krRN2O1R6dcNwisG/FxyqyMmkLLY2eq+SweThf0Mh6rVpjxnfXO1tb0TBhBRoH4X+94BdF++2Z4gdDb7x0c7d2Nljx2vy+BpE0dkCbi44jxnMjmI4j8iuTZvfI32eX8p6qcX8lr3+q0kt5H6ac8SZryYfuKi0J3iPJ9UhECRJboFzVgc3nwF1KW18wNuD+GjWXG3cFkBNy4pmAZOqnJG6yiidIO8cz+dy6/ | 
| #!/bin/bash | |
| # Better Apt Installer | |
| # https://git.io/vdimV | |
| usage() { | |
| cat << eof | |
| Better Apt Installer | |
| #!/bin/bash | |
| if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF | |
| appify v3.0.1 for Mac OS X - http://mths.be/appify | |
| Creates the simplest possible Mac app from a shell script. | |
| Appify takes a shell script as its first argument: | |
| `basename "$0"` my-script.sh | 
| <html> | |
| <head> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| </head> | |
| <body> | |
| <div class="js-spiral"> | |
| <div class="js-section"> | |
| <div class="message"> | |
| Scroll, Use Arrow Keys or Click<br><br> | 
This is how we pulled off our amazing 404 page.
Forked from nclud team's Pen 404 Kittens.
A Pen by Envato Tuts+ on CodePen.
| <div class="error-page"><header class="error-page__header"><img class="error-page__header-image" src="https://static.tutsplus.com/assets/sad-computer-128aac0432b34e270a8d528fb9e3970b.gif" alt="Sad computer"><h1 class="error-page__title nolinks">Page Not Found</h1></header><p class="error-page__message">The page you are looking for could not be found.</p></div> |