How to filter emails from GitHub in Gmail and flag them with labels.
The labels in this document are just examples.
Filter | Label |
---|
#!/usr/bin/env bash | |
PWD=`pwd` | |
FILES="AllApps casks formulas" | |
source ./utils.sh | |
for file in ${FILES} ; do | |
if [ ! -f ${file} ] ; then | |
exit_err "${file} is missing. Ensure the following files are all present, then rerun: ${FILES}" |
#!/bin/bash | |
# This is specifically for the go-filecoin repo but a subset of this can apply to any go project with git | |
# https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/ | |
set -Euo pipefail | |
echo "Updating your repo." | |
echo "☕️ Take a break - this might take a few minutes." | |
git stash | |
git co master -q |
#!/bin/bash | |
THISDIR="dirname ${BASH_SOURCE}" | |
echo "Updating your repo." | |
echo "☕️ Take a break - this might take a few minutes." | |
git co development -q | |
git pull origin development --ff-only -q | |
git fetch --prune -q | |
bundle install --quiet | |
yarn install -s |
#!/bin/sh | |
# Make or touch three files: formulas, casks, and fonts. | |
# In them, list their respective names of what you want installed. | |
echo "\033[1;37;45m \033[m" | |
echo "\033[1;37;45m installing formulas \033[m" | |
echo "\033[1;37;45m \033[m" | |
FORMULAS=`cat ./formulas` |
cat ~/.bash_profile | |
export EDITOR=vim | |
export CLICOLOR=1 | |
export PS1="\[\033[34m\]\h:\W \[\033[35m\]\$(parse_git_branch)\[\033[00m\]\$(git config user.initials)$\[\033[00m\] " | |
export SUDO_PS1='\[\e[0;31m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[0;31m\]\$ \[\e[0m\]' | |
export HISTCONTROL=ignoredups; | |
shopt -s histappend; | |
export PROMPT_COMMAND='echo -ne "\033]0;${USER}: ${PWD}\007"' |
git fetch --all | |
git reset --hard origin/master | |
git pull origin master |