Playing with contributions panel Goal It's not the first time I meet a person who is worried about GitHub contributions panel.
This repository is my way to tell:
Please, relax and enjoy.
How it works You need to choose a Sunday (eg. 10th of April, 2016)
$> ./scripts/create-space-invader.sh '04/10/2016' If it has no execution permission:
$> chmod +x ./scripts/create-space-invader.sh Result I have a space invader in 2019:
::::::::::THE SCRIPT:::::::::::
#!/bin/bash
Header created by http://www.network-science.de/ascii/
function print_banner() { echo "...................................................................." echo " _ _ " echo " () | | " echo " ___ ____ ____ ____ ____ _ ____ _ _ ____ _ | | ____ ____ " echo " /) _ \ / _ |/ ) _ ) | | _ \ | | / _ |/ || |/ _ )/ )" echo "| | | | ( ( | ( (( (/ / | | | | \ V ( ( | ( (| ( (/ /| | " echo "(/| ||/ _|||_)) ||| ||_/ _|||_|_)| " echo " || " echo "...................................................................." echo "" }
if [ "$#" -lt 1 ]; then print_banner echo -e "\nUse: $0 'MM/DD/YYYY'\n\nNote: The date must be a Sunday" exit fi
INITIAL_DATE="$1"
SPACE_INVADER=(0 0 0 1 1 1 0 0 0 1 1 0 0 0 0 1 1 1 1 1 0 1 1 0 1 1 0 1 0 1 1 1 1 0 1 0 1 1 1 1 0 0 0 1 1 1 1 0 1 1 1 0 1 1 0 1 0 1 1 1 1 1 0 0 0 1 1 0 0 0 0 0 0 1 1 1 0)
git init
for index in