git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
#!/bin/bash | |
# System Dependencies | |
# sudo apt install fortune cowsay toilet | |
if [[ $(date +%u) -eq 5 ]] ; then | |
MESSAGE='FRIDAY AT APSL' | |
COW_STATUS=`shuf -n1 -e b d g p s t w y` | |
COWFILES=`cowsay -l | grep -v files` | |
COWFILE=`shuf -n1 -e $COWFILES` | |
echo "-- $MESSAGE --" | toilet --gay -f future | |
fortune -s -n 80 fortunes | cowsay -$COW_STATUS -f $COWFILE | toilet --gay -f term |
/* Useful celery config. | |
app = Celery('tasks', | |
broker='redis://localhost:6379', | |
backend='redis://localhost:6379') | |
app.conf.update( | |
CELERY_TASK_RESULT_EXPIRES=3600, | |
CELERY_QUEUES=( | |
Queue('default', routing_key='tasks.#'), |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream