Hi, I'm Dan.

I'm a California-based software engineer. Currently working at Apple, a tiny startup focusing on consumer hardware and services.

In my spare time I like to travel, ride motorcycles around the country, play guitar and contribute to open source projects. You can find me on GitHub, Twitter and Instagram.

This website is a personal sandbox for code and infrastructure experiments, and does not represent any of the work I do for my current employer. Hope you enjoy it.

Recent posts

Everything else

Log slow Rails SQL queries
Test Github webhook events locally
Deploy Jekyll blog with Github Actions
Build Go projects with Github Actions
Working with Ansible vaults in Go
Quickly expose Docker ports
Zeroconf discovery with Swift
Retry actions in Ruby
Service discovery with ZeroConf and Go
Four years of Pgweb
Load testing on Heroku
Find environment variables in Ruby projects
Docker Gotchas
Custom struct field tags in Golang
Dump all MySQL and PostgreSQL databases
Using Puma and Capybara for integration testing
Travis CI extension for Github
Running simple SSH honeypot with Docker
DNS for local development
Try Swift Online
BitRun - Hello World
Exploring 1Password's Crypto With Go
SSH port forwarding with Go
Data encryption in Go using OpenSSL
Automatically import boot2docker environment variables
Photos, EXIF, GPS and Go
Hipache API service
Gin middleware examples
Generate random hex string in Go
Cleanup git branches
Better initializer structure for Ruby applications
Cleanup docker images and containers
Weekend project: irc2pusher message relay
Weekend project: OSX launchctl wrapper in Go
Geo lookups with ElasticSearch and Rails
Faster CI builds by caching installed bundle to AmazonS3
Lighweight virtualization with LXC
Minimal ActiveAdmin install
Stream Travis-CI updates into notifications center
FineRadar - Solving the problem for city parking
Dynamic nginx upstreams with Lua and Redis
Key and value checks for Ruby arrays and hashes
Dynamic HTTP proxy with Node.js and Redis
Sending apple push notification with ApplePush gem
Hacking on OpenTable public API
Strip cookies from response
Emoji and Rails JSON output issue
Adding code revision header to your apps
Autotrust your RVM gemsets
Processing emails with Postfix and Rails