View README.md

MONGO=mongohost node index.js

View gist:ec4bc0c43390a2abf52e
/**
* Momentary Button Tile
*
* Author: SmartThings
*
* Date: 2013-05-01
*/
metadata {
// Automatically generated. Make future change here.
definition (name: "Momentary Button Tile", namespace: "smartthings", author: "SmartThings") {
View prefs.js
// prefs.js Template
// Petr Hosek(http://petrhosek.name)
term_.prefs_.set('background-color', '#2b303b');
term_.prefs_.set('foreground-color', '#c0c5ce');
term_.prefs_.set('cursor-color', '#c0c5ce');
term_.prefs_.set('color-palette-overrides', [
'#2b303b',
'#bf616a',
View .gitignore
node_modules/
View index.js
{ plugin: Good, options: {
reporters: [
{ reporter: Good.GoodConsole },
{
reporter: GoodMongoDb,
args: [mongoUrl, {
}]
}
]
}},
View npm-error.log
npm ERR! peerinvalid The package grunt does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer grunt-bytesize@0.1.1 wants grunt@~0.4.1
npm ERR! peerinvalid Peer grunt-concat-bower@0.3.1 wants grunt@~0.4.1
npm ERR! peerinvalid Peer grunt-contrib-clean@0.5.0 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-contrib-concat@0.3.0 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-contrib-connect@0.7.1 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-contrib-jshint@0.8.0 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-contrib-uglify@0.3.3 wants grunt@~0.4.0
npm ERR! peerinvalid Peer grunt-contrib-watch@0.5.3 wants grunt@~0.4.0
View README.md

me testing things

View Gruntfile.js
module.exports = function(grunt) {
grunt.initConfig({
connect: {
server: {
options: {
livereload: true,
keepalive: true
View grunt-install.sh
gi() {
if [ $# -eq 1 ]; then
npm i -D grunt-$*
else
local IFS=,;
eval npm i -D grunt-{"$*"};
fi
}
View toggle.applescript
tell application "System Events"
set frontApp to name of first application process whose frontmost is true
if frontApp is "Google Chrome" then
tell application "iTerm"
activate
end tell
else
tell application "Google Chrome"
activate
end tell