Skip to content

Instantly share code, notes, and snippets.

Martin Wawrusch mwawrusch

View GitHub Profile
View gist:183116d1b6aed4495b39
_ = require 'underscore'
modRewrite = require('connect-modrewrite')
module.exports = (grunt) ->
filterGrunt = ->
gruntFiles = require("matchdep").filterDev("grunt-*")
_.reject gruntFiles, (x) -> x is 'grunt-cli'
View gist:7650e2720b84afeb229c
install -g grunt-div
npm ERR! 404 404 Not Found: grunt-div
npm ERR! 404
npm ERR! 404 'grunt-div' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.
npm ERR! System Darwin 14.0.0
View gist:21543473b328ac6f076c
npm WARN engine tar@0.1.16: wanted: {"node":"~0.5.9 || 0.6 || 0.7 || 0.8"} (current: {"node":"0.10.30","npm":"1.4.21"})
> chokidar@0.7.1 postinstall /Users/mwawrusch/Documents/asokoinsight/asokoinsight-profile/node_modules/grunt-divshot/node_modules/divshot-cli/node_modules/superstatic/node_modules/chokidar
> node setup.js postinstall
> zlib@1.0.5 preinstall /Users/mwawrusch/Documents/asokoinsight/asokoinsight-profile/node_modules/grunt-divshot/node_modules/divshot-cli/node_modules/tarzan/node_modules/zlib
> node-waf clean || true; node-waf configure build
sh: node-waf: command not found
View gist:9965431
./bin/nodejitsu
~/fanignite-site/bin ~/fanignite-site
~/fanignite-site
./bin
/home/ubuntu/fanignite-site/bin/.jitsuconf
~/fanignite-site ~/fanignite-site
info: Welcome to Nodejitsu fanignite
info: jitsu v0.13.15, node v0.8.12
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
View gist:9798043
./bin/nodejitsu
~/fanignite-site/bin ~/fanignite-site
~/fanignite-site
./bin
/home/ubuntu/fanignite-site/bin/.jitsuconf
~/fanignite-site ~/fanignite-site
info: Welcome to Nodejitsu fanignite
info: jitsu v0.13.15, node v0.8.12
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
View gist:9651293
info: Updating app fanignite-site
debug: { method: 'PUT',
debug: uri: 'https://api.nodejitsu.com/apps/fanignite/fanignite-site',
debug: headers:
debug: { Authorization: '*********************************************************************',
debug: 'Content-Type': 'application/json',
debug: 'user-agent': 'jitsu/0.13.15' },
debug: timeout: '1000000000',
debug: rejectUnauthorized: false,
debug: body: '{"domain":"fanignite.com","subdomain":"fanignite-site","private":true,"author":"Martin Wawrusch <martin@wawrusch.com> (http://martinatsunset.com)","name":"fanignite-site","description":"Fanignite site","version":"0.0.1-419","main":"./lib/index.js","repository":{"type":"git","url":"git://github.com/mwawrusch/fanignite-site.git"},"bin":{},"directories":{"lib":"./lib","test":"./test"},"keywords":["fanignite","fanignite.com"],"scripts":{"predeploy":"node_modules/.bin/coffee -c -o lib src;./bin/docs;./bin/build-assets;npm run-script deploy-assets","deploy-assets":"node_modul
View gist:8294079
npm WARN package.json fanignite-workers@0.1.0 No README.md file found!
npm http GET https://registry.npmjs.org/nconf/0.6.8
npm http GET https://registry.npmjs.org/request/2.27.0
npm http GET https://registry.npmjs.org/fbgraph/0.2.7
npm http GET https://registry.npmjs.org/async/0.2.9
npm http GET https://registry.npmjs.org/underscore/1.5.2
npm http GET https://registry.npmjs.org/bunyan/0.22.1
npm http GET https://registry.npmjs.org/bunyan-syslog/0.2.2
npm http GET https://registry.npmjs.org/phonegap-build/0.8.4
npm http GET https://registry.npmjs.org/iron_mq/0.2.0
View gist:8040888
deployment:
staging:
branch: master
commands:
- ./bin/docs
- ./bin/build-assets:
timeout: 500
- ./bin/deploy-assets:
timeout: 500
- ./bin/nodejitsu
View gist:7975444
###
Primary task scheduler for fanignite.
This queries the site api for tasks to schedule, then schedules them.
###
_ = require 'underscore'
async = require 'async'
request = require 'request'
logSetup = require './log-setup'
iron_mq = require 'iron_mq'
View gist:7878503
info: Creating snapshot 0.2.0-5
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/modeista/fanignite-fanbox/snapshots/0.2.0-5',
debug: headers:
debug: { Authorization: '*****************************************************************',
debug: 'Content-Type': 'application/octet-stream',
debug: 'Content-Length': 289730 },
debug: timeout: '1000000000',
debug: rejectUnauthorized: false }
info Uploading: [=============================] 100% info Uploading: [=============================] 100%
You can’t perform that action at this time.