This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function testMe() { | |
var foo = 'bar'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' | |
green='\033[0;32m' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* secret.js | |
* | |
* Hides senstive DOM elements on the page before a screenshot can | |
* be taken on OS X using the Cmd + Shift + 3 or Cmd + Shift + 4 | |
* keyboard shortcuts under *some* circumstances. Obviously this | |
* will only work if the browser has focus. | |
* | |
* A note on Windows: | |
* The last time I checked, the PrtScn key on Windows fired as a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Imports _____________________________________________________________________ | |
const git = require('git-js'); | |
// Setup _______________________________________________________________________ | |
git.print_output = false; | |
// Functions ___________________________________________________________________ |