Python syntax here : 2.7 - online REPL
Javascript ES6 via Babel transpilation - online REPL
import math
#!/bin/bash | |
# This has to be run from master | |
git checkout master | |
# Update our list of remotes | |
git fetch | |
git remote prune origin | |
# Remove local fully merged branches | |
git branch --merged master | grep -v 'master$' | grep -v 'dev$' | xargs git branch -d |
Python syntax here : 2.7 - online REPL
Javascript ES6 via Babel transpilation - online REPL
import math