This is cool. Looks like you need to name the file, not just call it markdown.
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(){ | |
function do_save(name) { | |
localStorage.setItem(name, document.body.innerHTML) | |
} | |
window.addEventListener('load', function() { | |
var name = window.location.pathname || 'baseobject', | |
content = localStorage.getItem(name), | |
save = undefined | |
if(content !== null) { | |
document.body.innerHTML = content |
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
function simple_server { | |
NODE_PATH=$(which npm |sed -e 's/bin\/npm/lib\/node_modules/') | |
if [[ $(npm --depth 0 --parseable=true list express 2>/dev/null) = '' ]]; then | |
npm install -g express 2>/dev/null 1>/dev/null; | |
fi | |
if [[ $(npm --depth 0 --parseable=true list json-stringify-safe 2>/dev/null) = '' ]]; then | |
npm install -g json-stringify-safe 2>/dev/null 1>/dev/null; | |
fi |
I hereby claim:
- I am jamsajones on github.
- I am jamsajones (https://keybase.io/jamsajones) on keybase.
- I have a public key ASBkEDLdyQSp4_6gxAv7UAjiWVWrR-5nNjQp3ijsnbyilQo
To claim this, I am signing this object: