I hereby claim:
- I am Telmo on github.
- I am romode (https://keybase.io/romode) on keybase.
- I have a public key whose fingerprint is E87E 9932 CCB4 DC00 C595 46EB 9028 18E5 B126 ACBA
To claim this, I am signing this object:
upstream docker-registry { | |
server localhost:5000; | |
} | |
server { | |
# disabled until docker supports selfsigned certs | |
# listen 443; | |
server_name my.own.server.com; | |
access_log /var/log/nginx/docker-registry.access.log main; | |
error_log /var/log/nginx/docker-registry.error.log error; |
God.watch do |w| | |
w.uid = "git" | |
w.gid = "git" | |
w.name = "camo" | |
w.pid_file = "/data/camo/tmp/camo.pid" | |
w.interval = 30.seconds | |
w.env = { | |
"PORT" => '8080', | |
"CAMO_KEY" => '0x24FEEDFACEDEADBEEFCAFE' |
heat_template_version: 2013-05-23 | |
description: > | |
A Heat template to add CoreOS instances to an existing network and configure them via cloud-init/cloud-config | |
parameters: | |
network_id: | |
type: string | |
label: Neutron network ID | |
description: ID of existing Neutron network to use | |
default: dd6de1d2-735e-4b94-963b-b79aae7bcf1a | |
image_id: |
I hereby claim:
To claim this, I am signing this object:
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
; Sample supervisor config file. | |
[unix_http_server] | |
file=/tmp/supervisor.sock ; (the path to the socket file) | |
;chmod=0700 ; sockef file mode (default 0700) | |
;chown=nobody:nogroup ; socket file uid:gid owner | |
;username=user ; (default is no username (open server)) | |
;password=123 ; (default is no password (open server)) | |
;[inet_http_server] ; inet (TCP) server disabled by default |
[unix_http_server] | |
file=/tmp/supervisor.sock ; path to your socket file | |
[supervisord] | |
logfile=/var/log/supervisord/supervisord.log ; supervisord log file | |
logfile_maxbytes=50MB ; maximum size of logfile before rotation | |
logfile_backups=10 ; number of backed up logfiles | |
loglevel=error ; info, debug, warn, trace | |
pidfile=/var/run/supervisord.pid ; pidfile location | |
nodaemon=false ; run supervisord as a daemon |
class Dot | |
class Node | |
attr_reader :children, :name, :started | |
attr_accessor :finished | |
def initialize name, fields = [], started = Time.now | |
@name = name | |
@fields = fields | |
@children = [] | |
@started = started |
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
desc "A user's comment" do | |
let(:user) { User.create! name: "John" } | |
let(:comment) { user.comments.create! } | |
it "delegates to user's name" do | |
comment.name.should eq(user.name) | |
end | |
end |