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
def rfp(directory) | |
"cookbooks/#{directory}/README.md" | |
end | |
def md(directory) | |
"# #{directory} Cookbook\n\nThis is a placeholder README for the #{directory} cookbook.\n\n## TODO\n\n- [ ] Replace me" | |
end | |
def wf(directory) | |
File.open(rfp(directory), 'w+') { |file| file.write(md(directory)) } |
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
Show hidden characters
{ | |
// Themes | |
// Oceanic Next | |
// https://github.com/voronianski/oceanic-next-theme | |
"color_scheme": "Packages/Oceanic Next Color Scheme/Oceanic Next.tmTheme", | |
"theme": "Spacegray.sublime-theme", | |
// Predawn | |
// https://github.com/jamiewilson/predawn |
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
ember-social › phantomjs -v | |
1.9.8 | |
ember-social › phantomjs -h | |
Usage: | |
phantomjs [switchs] [options] [script] [argument [argument [...]]] | |
Options: | |
--cookies-file=<val> Sets the file name to store the persistent cookies | |
--config=<val> Specifies JSON-formatted configuration file |
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
{ | |
"extensions": | |
[ | |
".jshintrc" | |
] | |
} |
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
var mergeTrees = require('broccoli-merge-trees'); | |
var scssLint = require('broccoli-scss-lint'); | |
var path = require('path'); | |
var appTree = app.toTree(); | |
if (app.env !== 'production') { | |
var stylesTree = funnel('app/styles', { | |
srcDir: '/', | |
destDir: '/app/styles' |
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
// Allow pod templates that aren't named template.hbs | |
app._podTemplatePatterns = function() { | |
return this.registry.extensionsForType('template').map(function(extension) { | |
return new RegExp('\.(.+\.)?' + extension + '$'); | |
}); | |
}; |
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
// Instruments | |
int piano = 1; | |
// Notes | |
// Add notes as needed from http://www.tonalsoft.com/pub/news/pitch-bend.aspx | |
int g2 = 43; | |
int bFlat2 = 46; | |
int c3 = 48; | |
int cSharp3 = 49; |
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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
actions: { | |
hodorSigil() { | |
console.log('HODOR!!!'); | |
} | |
} | |
}); |
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/bash | |
# A convenient way to post to Slack channels from the command line... as Lionel Richie | |
# | |
# Usage | |
# ./slack_message | |
# ./slack_message -t "Hello..." | |
# ./slack_message -i https://pbs.twimg.com/profile_images/421128111086764032/zv1APHT5.jpeg -u justin -t "I'll be your platinum, I'll be your silver, I'll be your gold" | |
TOKEN='YOUR_TOKEN_GOES_HERE' |
OlderNewer