Skip to content

Instantly share code, notes, and snippets.

View vitch's full-sized avatar

Kelvin Luck vitch

View GitHub Profile
@peterchoo
peterchoo / README.md
Created October 3, 2014 10:13
Ember-CLI Addon Chaining - Running sub-addon blueprints automatically

Calling sub-addon blueprints from our blueprint

With Ember-CLI you now need to run ember generate <addon-name> to instantiate the addon into your application. This is also true with sub-addons.

Using the above method, you can essentially run ember generate <sub-addon-name>. The addon needs to be included as a hard dependency in your package.json. We can then configure our blueprint in blueprints/<addon-name>/index.js.

@cjohansen
cjohansen / buster-server.sh
Created May 10, 2012 19:45
Run the Buster.JS server with a Phantom.JS client
#!/bin/bash
# Based on work by Tiago Rodrigues
# Here: http://trodrigues.net/presentations/buster-ci/#/24
# And here: https://gist.github.com/2630210
# Usage:
# env BUSTER_HOME=/where/you/installed/buster ./buster-server.sh start|stop
function buster_server_pid(){
echo `ps aux|grep buster-server|grep node|awk '{ print $2 }'`
@jedi4ever
jedi4ever / gist:898114
Created April 1, 2011 13:06
update jenkins Updatecenter from CLI
$ java -jar jenkins-cli.jar -s http://localhost:9000 install-plugin findbugs
findbugs is neither a valid file, URL, nor a plugin artifact name in the update center
No update center data is retrieved yet from: http://updates.jenkins-ci.org/update-center.json
findbugs looks like a short plugin name. Did you mean 'null'?
# Specifying a full URL works!
$ java -jar jenkins-cli.jar -s http://localhost:9020 install-plugin http://updates.jenkins-ci.org/download/plugins/AdaptivePlugin/0.1/AdaptivePlugin.hpi
# Get the update center ourself