Skip to content

Instantly share code, notes, and snippets.

View jlawsonb's full-sized avatar

J. Lawson jlawsonb

View GitHub Profile
#!/usr/bin/env bash
URL="http://a0.awsstatic.com/pricing/1/ec2/ri-v2/linux-unix-shared.min.js"
(echo 'function callback(data) { console.log(JSON.stringify(data)); }'; curl -s "$URL") |\
node |\
jq -r '.config.regions[] |
select(.region == "us-east-1") |
.instanceTypes[] |
[
@jlawsonb
jlawsonb / Vagrantfile
Created November 18, 2015 21:20 — forked from phindmarsh/Vagrantfile
NFS issue when using Vagrant and Docker
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provider "docker" do |d|
d.vagrant_vagrantfile = "./Vagrantfile.proxy"
end
config.vm.define "container" do |v|
v.vm.provider "docker" do |d|