Skip to content

Instantly share code, notes, and snippets.

View archit's full-sized avatar
🏠
Working from home

Archit Baweja archit

🏠
Working from home
View GitHub Profile
@archit
archit / test-helper.js
Created April 2, 2015 15:27
How to run ember-cli > v0.2.x acceptance tests to run on CircleCI
import resolver from './helpers/resolver';
import {
setResolver
} from 'ember-qunit';
setResolver(resolver);
// Since CircleCI runs with PhantomJS 1.9.x, need this to make things
// green!
if (!Function.prototype.bind) {
@archit
archit / kill-heroku-app.sh
Created November 20, 2013 18:36
Kill all heroku dynos for a an app.
heroku ps -a$1 | awk '/===/ {print $2}' | xargs -L1 -I % heroku ps:scale %=0