Skip to content

Instantly share code, notes, and snippets.

#!/bin/env python3
import yaml
import sys
import argparse
import re
swagger = yaml.load(sys.stdin.read(), Loader=yaml.SafeLoader)
http_api_spec = {
'apiVersion': 'config.istio.io/v1alpha2',
package main
import (
"fmt"
"log"
"io/ioutil"
"net/http"
)
var state = make(map[string]int)
### Keybase proof
I hereby claim:
* I am nabam on github.
* I am nabam (https://keybase.io/nabam) on keybase.
* I have a public key whose fingerprint is F7C7 A6B5 DAFF E84C 2DD9 B278 DA3D F0BA 5F4B D76F
To claim this, I am signing this object:
@nabam
nabam / gist:e9c7766117f22e4f792f
Created September 9, 2015 19:05
vagrant-lxc bug
$ vagrant up
Bringing machine 'default' up with 'lxc' provider...
default: The Berkshelf shelf is at "/home/vagrant/.berkshelf/vagrant-berkshelf/shelves/berkshelf20150909-7053-wc5607-default"
==> default: Sharing cookbooks with VM
==> default: Box 'fgrehm/trusty64-lxc' could not be found. Attempting to find and install...
default: Box Provider: lxc
default: Box Version: 1.2.0
==> default: Loading metadata for box 'fgrehm/trusty64-lxc'
default: URL: https://atlas.hashicorp.com/fgrehm/trusty64-lxc
==> default: Adding box 'fgrehm/trusty64-lxc' (v1.2.0) for provider: lxc