Skip to content

Instantly share code, notes, and snippets.

View cee-dub's full-sized avatar

Cameron Walters (cee-dub) cee-dub

View GitHub Profile
cee-dub / orderedlogger.go
Created July 10, 2020 16:37
Basic ordered JSON logger inspired by go-kit
View orderedlogger.go
package olog
import (
cee-dub /
Created September 18, 2015 01:23

Keybase proof

I hereby claim:

  • I am cee-dub on github.
  • I am ceedub ( on keybase.
  • I have a public key whose fingerprint is 4FE7 0A9E F882 8393 C2F3 802D 8080 0A91 52B3 77B9

To claim this, I am signing this object:

cee-dub / sse.go
Created May 30, 2014 21:08
Simple Golang SSE example using CloseNotifier
View sse.go
package main
import (
// SSE writes Server-Sent Events to an HTTP client.
cee-dub / brew-services.rb
Created September 26, 2012 04:15 — forked from bryanveloso/brew-services.rb
External script for homebrew to simplify starting services via launchctl, out of the box support for any formula which implements #startup_plist. (This version fixes the deprecation warning raised on Formula.resolve_alias.)
View brew-services.rb
#!/usr/bin/env ruby -w
# brew-services(1) - Easily start and stop formulas via launchctl
# ===============================================================
# [<sudo>] `brew services` `list`<br>
# [<sudo>] `brew services` `restart` <formula><br>
# [<sudo>] `brew services` `start` <formula> [<plist>]<br>
cee-dub / postgres_timestamp_defaults.rb
Created January 29, 2012 20:53
Convenient methods to let PostgresQL manage created/updated_at
View postgres_timestamp_defaults.rb
require 'active_support/core_ext/string/filters'
module PostgresTimestampDefaults
def add_timestamp_defaults(table_name)
add_default_now(table_name, :created_at)
add_default_now(table_name, :updated_at)
def add_default_now(table_name, column_name)
cee-dub / org.nginx.nginx.plist
Created January 15, 2012 01:50
Generic LaunchDaemon plist for Nginx
View org.nginx.nginx.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
cee-dub / nginx.conf
Created January 15, 2012 01:15
Homebrew formula to load Nginx listening on standard ports with convenient user-land configuration.
View nginx.conf
user nobody;
worker_processes 1;
events {
worker_connections 1024;
http {
include mime.types;
default_type application/octet-stream;
cee-dub / dnsmasq.conf
Created January 14, 2012 23:23
Generic configuration files for *.#{hostname}.local wildcard DNS with dnsmasq and mDNSResponder
View dnsmasq.conf
# Add domains for which you want to force to an IP address here.
# This is the magic sauce for making *.#{hostname}
# always route to the localhost
# Extra options that make dnsmasq play nice
cee-dub /
Created January 10, 2012 07:24
Installing Ruby 1.9.3 & gem dependencies on Mac OS X Lion
# Install Xcode from the Mac App Store
open /Applications/Install\ # complete the installation
# Install homebrew
/usr/bin/ruby -e "$(curl -fsSL"
# Install RVM
bash -s stable < <(curl -s
# Install some libraries to link ruby and gems against
View gist:1310961

##YC-backed startup, looking for extremely talented Obj-C/Rails engineer for first technical hire##

We're building a new platform for mobile commerce--an elegant, gorgeous experience for buying and selling. The founding team consists of two people with extensive experience in user acquisition, product design, and development. We've raised money from some of the valley's top investors, and have a ton of support from the most brilliant product minds in SF.

If you're a hacker with interest in an early position at a YC-backed startup, we'd love to talk. We're looking for a hardcore generalist, which means you should:

  • understand undocumented libraries and code bases quickly
  • have a strong understanding of technologies up and down the stack: PostgreSQL, UIWebViews, and everything in between (Rails!)
  • understand what it means to work in an intense startup environment
  • learn quickly, we value raw intelligence pretty highly