I hereby claim:
- I am jessesanford on github.
- I am jessesanford (https://keybase.io/jessesanford) on keybase.
- I have a public key ASDZSYwDZK1IwDxQPHtQJOjJox9SyIQd6bxBbBMauK9yQAo
To claim this, I am signing this object:
require 'celluloid' | |
require 'worker' | |
class Manager | |
include Celluloid | |
attr_reader :worker_supervisor, :workers | |
trap_exit :worker_died | |
def initialize(message) | |
puts "manager got #{message} when instantiated" |
#!/bin/bash | |
# GTK+ and Firefox for Amazon Linux | |
# Written by Joseph Lawson 2012-06-03 | |
# http://joekiller.com | |
# http://joekiller.com/2012/06/03/install-firefox-on-amazon-linux-x86_64-compiling-gtk/ | |
# chmod 755 ./gtk-firefox.sh | |
# sudo ./gtk-firefox.sh | |
#!/bin/bash | |
# rbenv system wide installation script | |
# Forked from https://gist.github.com/jpfuentes2/2002954 | |
JOB_PID=$$ | |
# Installs rbenv system wide on CentOS 5/6 and Debian, also allows single user installs. | |
if command -v yum >/dev/null 2>&1; then | |
DISTRO="Redhat" | |
elif command -v aptitude >/dev/null 2>&1; then |
** | |
* EmbeddedDocument constructor. | |
* | |
* @param {Object} object from db | |
* @param {MongooseDocumentArray} parent array | |
* @api private | |
*/ | |
function EmbeddedDocument (obj, parentArr) { | |
//TODO We might save some time if instead we |
[{"pk": 5, "model": "contenttypes.contenttype", "fields": {"model": "contenttype", "name": "content type", "app_label": "contenttypes"}}, {"pk": 2, "model": "contenttypes.contenttype", "fields": {"model": "group", "name": "group", "app_label": "auth"}}, {"pk": 8, "model": "contenttypes.contenttype", "fields": {"model": "logentry", "name": "log entry", "app_label": "admin"}}, {"pk": 4, "model": "contenttypes.contenttype", "fields": {"model": "message", "name": "message", "app_label": "auth"}}, {"pk": 1, "model": "contenttypes.contenttype", "fields": {"model": "permission", "name": "permission", "app_label": "auth"}}, {"pk": 6, "model": "contenttypes.contenttype", "fields": {"model": "session", "name": "session", "app_label": "sessions"}}, {"pk": 7, "model": "contenttypes.contenttype", "fields": {"model": "site", "name": "site", "app_label": "sites"}}, {"pk": 3, "model": "contenttypes.contenttype", "fields": {"model": "user", "name": "user", "app_label": "auth"}}, {"pk": 1, "model": "sites.site", "fields": {"do |
source 'https://rubygems.org' | |
gem 'dashing' | |
## Remove this if you don't need a twitter widget. | |
gem 'twitter', '>= 5.9.0' | |
gem 'activeresource' | |
gem 'newrelic_api' |
defaults write com.google.Chrome.plist AppleEnableSwipeNavigateWithScrolls -bool FALSE |
container_commands: | |
01-move-restart-hook: | |
command: cp -f .ebextensions/files/00_restart_containers_with_privileges.sh /opt/elasticbeanstalk/hooks/appdeploy/post/00_restart_containers_with_privileges.sh && chmod 755 /opt/elasticbeanstalk/hooks/appdeploy/post/00_restart_containers_with_privileges.sh | |
02-move-stop-hook: | |
command: cp -f .ebextensions/files/02stop_privileged_containers.sh /opt/elasticbeanstalk/hooks/appdeploy/pre/02stop_privileged_containers.sh && chmod 755 /opt/elasticbeanstalk/hooks/appdeploy/pre/02stop_privileged_containers.sh |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash -e | |
function run-vg-cmd() { | |
pushd $1 | |
eval $2 | |
popd | |
} | |
function usage() { | |
echo "Usage: $0 container from-vagrant-dir to-vagrant-dir" |