Skip to content

Instantly share code, notes, and snippets.

View dan-bennett's full-sized avatar

Daniel Bennett dan-bennett

  • Perkz Ltd
  • Northants, UK.
View GitHub Profile
@dan-bennett
dan-bennett / indent.js
Last active August 29, 2015 14:05
Add Indent and Unindent Functionality to Google Sheets
/**
* Add indentation / unindentation to Google Sheets
*
* @author Dan Bennett <naebeth@googlemail.com>
* @package SpreadsheetIndent
* @version 5.0.0
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-clause
* @todo Toggles for common indentation setups (4 spaces, 1 tab, ">>", " »")
* @todo Keyboard shortcuts not possible, what about right-click?
*/
@dan-bennett
dan-bennett / aliases.sh
Last active August 29, 2015 14:05
my shell aliases
#!/bin/bash
# backup "<path>"
# create a new folder in the backups directory and dump the current directory's contents into it
backup(){
mkdir "/path/to/backups/$1";
cp -r . "/path/to/backups/$1";
}
# bs