I hereby claim:
- I am gregory on github.
- I am metakungfu (https://keybase.io/metakungfu) on keybase.
- I have a public key whose fingerprint is 5732 A452 4293 97A9 3A9F 434E 61F7 AA9F 3DDD D2C0
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#Panamax - Or how I got my mom running her ruby cms ... on a cluster!
First things first:
If you know the pain to get your mom running her own cluster please show me some love here by clicking on the star button!
##Pana what?
Panamax is not the new trendy word for yet another icebucket challenge, but the new open source tool for humans to help you manage your docker architecture, that made some noise lately.
require File.expand_path(File.dirname(__FILE__) + "/../../config/environment") | |
require 'adhearsion' | |
require 'adhearsion/initializer/asterisk' | |
require 'drb' | |
# http://help.cloudvox.com/faqs/getting-started/setup-for-ruby-adhearsion | |
desc "Make an outgoing phone call to number provided as 'call' (via Cloudvox)" | |
task :make_outgoing_call do | |
if ENV['call'] | |
# Outgoing context from Cloudvox Switchboard, under "Outgoing settings (AMI)." |
fs = require 'fs' | |
webpage = require 'webpage' | |
page = webpage.create() | |
renderedUrls = 0 | |
totalUrls = 0 | |
# Taken from https://github.com/ariya/phantomjs/blob/master/examples/waitfor.js | |
# Converted into coffee | |
waitFor = (testFx, onReady, timeOutMillis) -> | |
maxtimeOutMillis = (if timeOutMillis then timeOutMillis else 5000) #< Default Max Timout is 3s |
This Gist is similar to https://gist.github.com/noteed/8656989 which uses Open vSwitch instead of Tinc.
Download the install.sh
script and run it:
> https://gist.githubusercontent.com/noteed/11031504/raw/install.sh
This Gist is similar to https://gist.github.com/noteed/8656989 which uses Open vSwitch instead of Tinc.
Download the install.sh
script and run it:
> https://gist.githubusercontent.com/noteed/11031504/raw/install.sh
# using VirtualBox version $VBOX_VERSION | |
FROM boot2docker/boot2docker | |
RUN apt-get install p7zip-full | |
RUN mkdir -p /vboxguest && \ | |
cd /vboxguest && \ | |
curl -L -o vboxguest.iso http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso && \ | |
7z x vboxguest.iso -ir'!VBoxLinuxAdditions.run' && \ | |
sh VBoxLinuxAdditions.run --noexec --target . && \ |
NOTE: 534 stars, 106 forks. I love you all. Please contribute tips and edits back to this cheat sheet -- email's [email protected] and you can treat gists like git repositories and send git diffs.
This Gist is similar to https://gist.github.com/noteed/8656989 which uses Open vSwitch instead of Tinc.
Download the install.sh
script and run it:
> https://gist.githubusercontent.com/noteed/11031504/raw/install.sh