Pre: ensure you are on your main branch (usually master or devel) and that everything is up-to-date with your origin
git checkout master
git fetchTo list all the merged branches, use
| { | |
| "enabled": true, | |
| "provider": "local", | |
| "providerOptions": { | |
| "sizeLimit": 10737418240 | |
| } | |
| } | 
| # Let 'em know that we're Still Alive | |
| # http://pastebin.com/f72f8f72d (no longer valid) | |
| # On macOS, install sox with brew: `brew install sox` | |
| #!/bin/bash | |
| echo -n "This " | |
| play --no-show-progress --null --channels 1 synth 0.200 sine 784 | |
| echo -n "was " | |
| play --no-show-progress --null --channels 1 synth 0.200 sine 740 | |
| echo -n "a " | 
Pre: ensure you are on your main branch (usually master or devel) and that everything is up-to-date with your origin
git checkout master
git fetchTo list all the merged branches, use
| function breakSentence(sentence, len) { | |
| const r = new RegExp(`.{1,${len}}[^\\s]*`,'g'); | |
| let chunk; | |
| let splitted = []; | |
| while ((chunk = r.exec(sentence)) !== null) { | |
| splitted.push(chunk[0].trim()); | |
| } | |
| return splitted; | |
| } | 
| # Let' add Mario to the server | |
| # Add the user with the interactive shell | |
| adduser mario | |
| # Check the creation of the user home directory | |
| ls -al /home/mario/ | |
| # and set the default console to bash | |
| chsh -s `which bash` mario | 
| # Delete Screen Shots taken more than an hour ago. Keeps my Desktop clean :) | |
| */15 * * * * find $HOME/Desktop/Screen\ Shot*.png -mtime +1h -exec rm '{}' \; 2>/dev/null | |
| */15 * * * * find $HOME/Desktop/Screenshot*.png -mtime +1h -exec rm '{}' \; 2>/dev/null | 
| try: | |
| import openpyxl | |
| except ImportError: | |
| print ("openpyxl must be installed to run the script. [ pip install openpyxl ]") | |
| exit(-1) | |
| from openpyxl import load_workbook | |
| from openpyxl import workbook | |
| import sys | |
| from os import path, makedirs | 
| #### | |
| # Run source ~/.profile to make changes in this file effective | |
| #### | |
| # alias ll, if not already present | |
| alias ll='ls -lah' | |
| # I like this colour schema for `ls` | |
| export CLICOLOR=1 | |
| export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx | 
| #!/usr/bin/python2.7 | |
| from os import listdir, makedirs, path | |
| from shutil import copy | |
| f = open('output.html', 'w') | |
| def process(directory): | |
| if not directory.endswith( '/' ): | |
| directory += "/" |