Skip to content

Instantly share code, notes, and snippets.

Paul hiattp

Block or report user

Report or block hiattp

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hiattp
hiattp / sidekiq.config
Last active Dec 2, 2019
Sidekiq Config for Elastic Beanstalk
View sidekiq.config
# Sidekiq interaction and startup script
files:
"/opt/elasticbeanstalk/hooks/appdeploy/post/50_restart_sidekiq.sh":
mode: "000755"
content: |
#!/bin/bash
. /opt/elasticbeanstalk/hooks/common.sh
. /opt/elasticbeanstalk/support/envvars
View rvm-test-output
##### starting test load_ruby-version.
$ : prepare
$ true TMPDIR:${TMPDIR:=/tmp}:
$ d=$TMPDIR/test-user
$ mkdir -p $d
$ cd $d
$ unset GEM_HOME GEM_PATH
$ PATH="$( echo $PATH | sed 's/^.*rvm[^:]*://' )"
# passed: env PATH != /rvm/
$ "$rvm_path/bin/rvm" install 2.0.0-p353
@hiattp
hiattp / gist:3739350
Created Sep 17, 2012
Nodejitsu deploy 500 error (Sep 17)
View gist:3739350
info: Analyzing application dependencies in node app
info: Checking app availability stickies
info: Creating app stickies
info: Creating snapshot 0.0.1
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: No matching versions found
help: For help with this error contact Nodejitsu Support:
help: webchat: <http://webchat.nodejitsu.com/>
help: irc: <irc://chat.freenode.net/#nodejitsu>
@hiattp
hiattp / gist:3699396
Created Sep 11, 2012
Socket hang up error (nodejitsu)
View gist:3699396
path.existsSync is now called `fs.existsSync`.
info: Welcome to Nodejitsu hiattp
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing your application dependencies in app.js
info: Creating snapshot 0.0.4
error: Error running command deploy
error: socket hang up
error: Error: socket hang up
error: at createHangUpError (http.js:1253:15)
@hiattp
hiattp / gist:3699386
Created Sep 11, 2012
Nodejitsu deploy socket hang up error
View gist:3699386
path.existsSync is now called `fs.existsSync`.
info: Welcome to Nodejitsu hiattp
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing your application dependencies in app.js
info: Creating snapshot 0.0.4
error: Error running command deploy
error: write EPIPE
error: Error: write EPIPE
error: at errnoException (net.js:781:11)
@hiattp
hiattp / gist:3688789
Created Sep 10, 2012
Foodex Demo package.json
View gist:3688789
{
"name": "food-exercises",
"version": "0.0.3-1",
"private": true,
"dependencies": {
"express": "2.5.8",
"ejs": ">= 0.0.1"
},
"scripts": {
"start": "app.js"
@hiattp
hiattp / gist:3688714
Created Sep 10, 2012
Nodejitsu deploy 500 error
View gist:3688714
path.existsSync is now called `fs.existsSync`.
info: Welcome to Nodejitsu hiattp
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing your application dependencies in app.js
info: Creating snapshot 0.0.3
info: Updating app food-exercises
info: Activating snapshot 0.0.3 for food-exercises
info: Stopping app food-exercises
info: App food-exercises is now stopped
You can’t perform that action at this time.