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' |
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 |
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
#!/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
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 + '$'); | |
}); | |
}; |
OlderNewer