Skip to content

Instantly share code, notes, and snippets.

@wking
wking / external-ref.json
Last active August 29, 2015 14:09
external $ref in a Swagger spec's model properties
{
"swagger": "2.0",
"info": {
"version": "1.0.0",
"title": "Example $ref"
},
"host": "example.com",
"basePath": "/api",
"schemes": [ "http" ],
"paths": {
@wking
wking / gist:7915716
Last active December 31, 2015 01:39
Docker on Debian Wheezy
Enabled “wheezy main” and “wheezy-updates main” in
/etc/apt/sources.list, commented out the CD.
From http://backports.debian.org/Instructions/
# echo 'deb http://ftp.debian.org/debian/ wheezy-backports main' > /etc/apt/sources.list.d/backports.list
# apt-get update
# apt-get install lxc iptables bridge-utils libdevmapper-dev golang git mercurial gcc libsqlite3-dev