Skip to content

Instantly share code, notes, and snippets.

View proppy's full-sized avatar

Johan Euphrosine proppy

View GitHub Profile
@proppy
proppy / docker-dev.sh
Last active August 29, 2015 14:06
docker-dev: poor man dev workflow for dockerized apps
#!/bin/bash
# Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
--- sandbox.py.orig 2014-09-23 13:26:01.151339089 -0700
+++ sandbox.py 2014-09-23 13:28:04.452163114 -0700
@@ -21,6 +21,7 @@
import imp
import os
import re
+import site
import sys
import traceback
import types
@proppy
proppy / dsh.go
Last active August 29, 2015 14:04 — forked from crosbymichael/dsh.go
package main
import (
"bufio"
"fmt"
"log"
"os"
"os/exec"
"strconv"
"strings"
$ rm -fR ~/mygo/src/github.com/dotcloud/gordon
$ rm -fR ~/mygo/src/github.com/docker/gordon
$ go get github.com/dotcloud/gordon/pulls
$ ls ~/mygo/src/github.com/dotcloud/gordon
AUTHORS display.go github.go legacy MAINTAINERS pulls review.go utils.go
color.go filters issues LICENSE.md maintainers.go README.md sorter.go
$ ls ~/mygo/src/github.com/docker/gordon
AUTHORS display.go github.go legacy MAINTAINERS pulls review.go utils.go
color.go filters issues LICENSE.md maintainers.go README.md sorter.go
{
"projection": [],
"kinds": [{
"name": "Company"
}],
"filter": {
"propertyFilter": {
"property": {
"name": "__key__"
},
@proppy
proppy / containers.yaml
Last active April 25, 2022 20:45
validate yaml file with gojsonschema
containers:
- image: "dockerfile/nginx"
ports:
- containerPort: 80
hostPort: 8080
@proppy
proppy / README.md
Last active August 29, 2015 14:02
gorogoro helps lazy gophers to run their programs in the cloud.
@proppy
proppy / README.md
Last active August 29, 2015 14:02
Docker hacking bread crumbs
FROM busybox
VOLUME ["/.config"]
ADD private /.config/private
CMD cat /.config/private
{
"provider": "gce",
"bootstrapper": {
"workspace": "/target"
},
"image": {
"name": "disk",
"description": "Debian {system.release} {system.architecture}"
},
"system": {