This file contains hidden or 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
# git config --global core.excludesfile ~/.gitignore_global | |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
*.pyc |
This file contains hidden or 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
[{ | |
"username": "BoyCook", | |
"dir": "/Users/boycook/code/boycook", | |
"protocol": "ssh" | |
},{ | |
"username": "TiddlySpace", | |
"dir": "/Users/boycook/code/osmosoft/tiddlyspace", | |
"protocol": "ssh" | |
},{ | |
"username": "tiddlyweb", |
This file contains hidden or 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
before_script: 'npm install -g istanbul && npm install -g mocha' | |
script: 'make test-cov' | |
after_success: 'make coveralls' |
This file contains hidden or 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
node_js: | |
- "0.10" | |
language: node_js | |
before_script: | |
- npm install -g istanbul | |
- npm install -g mocha | |
- pip install -U tsapp | |
script: make test-cov | |
after_success: | |
- make coveralls |
This file contains hidden or 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
ASSETS := $(wildcard assets/*) | |
BAG = '' # Set bag name here | |
push: | |
@for asset in $(ASSETS); do tsapp push_hard $(BAG) `echo $$asset | cut -d '/' -f 2` ; done | |
tsapp push_hard $(BAG) index.html |
This file contains hidden or 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
heroku-redeploy: heroku-stop heroku-push | |
heroku-stop: | |
heroku ps:stop web=1 | |
heroku-push: | |
git push heroku master | |
heroku-open: | |
heroku open |
This file contains hidden or 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 GitApp(account) { | |
this.account = account; | |
this.template = Handlebars.compile($('#repos-template').html()) | |
this.github = 'https://api.github.com'; | |
} | |
GitApp.prototype.loadRepos = function() { | |
var context = this; | |
var url = this.github + '/users/' + this.account + '/repos?per_page=100'; | |
var callBack = function(data) { |
This file contains hidden or 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
To petal | |
repeat 18 [ fd 8 rt 5 ] | |
rt 90 | |
repeat 18 [ fd 8 rt 5 ] | |
END | |
To petals | |
repeat 6 [petal rt 150] | |
END |
This file contains hidden or 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
Storage.prototype.setItem = function(key, obj) { | |
return this.setItem(key, JSON.stringify(obj)); | |
}; | |
Storage.prototype.getItem = function(key) { | |
return JSON.parse(this.getItem(key)); | |
}; |
This file contains hidden or 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 | |
json = '{ "type": { "name": "XXX" }, "inwardIssue": { "key": XXX }, "outwardIssue": { "key": XXX}, "comment": { "body": "XXX" }}' | |
curl -D- -u admin:admin -X POST --data $json http://localhost:2990/jira/rest/api/2/issueLink |