Skip to content

Instantly share code, notes, and snippets.

This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking guarded-waters-4043.herokuapp.com (be patient)
Server Software: Cowboy
Server Hostname: guarded-waters-4043.herokuapp.com
Server Port: 80
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking guarded-waters-4043.herokuapp.com (be patient)
Server Software: Cowboy
Server Hostname: guarded-waters-4043.herokuapp.com
Server Port: 80
function BlitTerrain(surface) {
this.surface = surface;
this.sprite = new Blit.Sprite(this.surface, 128, 128, 'images/dirt.jpg');
}
BlitTerrain.prototype.render = function(seconds, map, rect) {
var width = this.sprite.width;
var height = this.sprite.height;
var ox = Math.floor(rect.left / width) * width;
#!/usr/bin/env bash
####### Configure environment
set -e # fail fast
set -o pipefail # don't ignore exit codes when piping output
# set -x # enable debugging
# Configure directories
build_dir=$1
> [email protected] postinstall /Users/hloftis/heroku/dashboard-v6/client
> gulp
[13:48:08] Using gulpfile ~/heroku/dashboard-v6/client/gulpfile.js
[13:48:08] Starting 'bower'...
[13:48:08] Using cwd: /Users/hloftis/heroku/dashboard-v6/client
[13:48:08] Using bower dir: ./bower_components
[13:48:08] Starting 'clean:public'...
[13:48:08] Starting 'clean:tmp'...
[13:48:08] Starting 'clean:index'...
-----> Build failed
WARNING: Avoid semver ranges starting with '>' in engines.node
https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
WARNING: Avoid checking node_modules into source control
https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
WARNING: This version of npm (1.1.71) has several known issues - consider upgrading to the latest release (2.1.17)
https://devcenter.heroku.com/articles/nodejs-support
@hunterloftis
hunterloftis / gist:1e42a29491330f89ae36
Created August 24, 2015 18:06
problems with CLI buildpacks array manipulation
  1. The add/set commands are ambiguous and confusing
  2. Forking/cloning requires a sometimes-long sequence of tedious add/set/clear commands
  3. The list of buildpacks isn't carried with the files in a repo

what does buildpacks:set do?

Can you set the whole list at once, eg heroku buildpacks:set url1, url2, url3? Or does it only set the final buildpack? If you have a previously defined list, what does :set do? Does it replace the final buildpack, or blow away the whole list, or error?

v5.1.1:~/test/express (master)$ time ied install --production
real 0m1.950s
user 0m1.386s
sys 0m0.375s
v5.1.1:~/test/express (master)$ rm -rf node_modules/
v5.1.1:~/test/express (master)$ time npm install --quiet --production
npm WARN deprecated [email protected]: use serve-favicon module
[email protected] /Users/hloftis/test/express
├─┬ [email protected]
v5.1.1:~/test/express (master *)$ npm start
> [email protected] start /Users/hloftis/test/express
> blah
sh: blah: command not found
npm ERR! Darwin 14.5.0
npm ERR! argv "/Users/hloftis/.nvm/versions/node/v5.1.1/bin/node" "/Users/hloftis/.nvm/versions/node/v5.1.1/bin/npm" "start"
npm ERR! node v5.1.1
v5.1.1:~/test/express (master)$ ied run start
/bin/bash: blah: command not found
start exited with status 127
v5.1.1:~/test/express (master *)$ npm start
> [email protected] start /Users/hloftis/test/express
> blah
sh: blah: command not found