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
// 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
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
#!/usr/bin/env bash | |
git checkout master | |
git pull | |
rm -rf dist | |
ember build --environment production | |
git checkout gh-pages | |
git pull |
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
{ | |
"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
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
{ | |
// 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
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
#!/bin/bash | |
# A convenient way to post to Hall rooms from the command line... as Lionel Richie | |
# | |
# Usage | |
# ./hall_message | |
# ./hall_message -m "Hello..." | |
# ./hall_message -p https://pbs.twimg.com/profile_images/421128111086764032/zv1APHT5.jpeg -t justin -m "I'll be your platinum, I'll be your silver, I'll be your gold" | |
# Hall integration guide..... https://hall.com/docs/integrations/generic/?uuid=523d0fc3e1681a6757f70ea0 |