This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Git Branch checkout after force push | |
# | |
# Execution: | |
# $ bash checkout.sh [branch] | |
sudo chown -R www-data ./ | |
echo "Fetching changes from origin..." | |
sudo -Hu www-data git fetch -p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# acceptance criteria: | |
# - works without installing non-standard py3 modules | |
# - tested on *nix distros | |
# func ideas stub: | |
# DONE: fortune http://www.yerkee.com/api (computers science all) | |
# cat: hey you have your own! go to othercodes./cat http://thecatapi.com/ | |
# pokemon https://pokeapi.co/ https://pokeapi.co/docsv2/#pokemon |
OlderNewer