Skip to content

Instantly share code, notes, and snippets.

View hairyhenderson's full-sized avatar

Dave Henderson hairyhenderson

View GitHub Profile
@mholt
mholt / macapp.go
Last active July 1, 2025 04:08
Distribute your Go program (or any single binary) as a native macOS application
// Package main is a sample macOS-app-bundling program to demonstrate how to
// automate the process described in this tutorial:
//
// https://medium.com/@mattholt/packaging-a-go-application-for-macos-f7084b00f6b5
//
// Bundling the .app is the first thing it does, and creating the DMG is the
// second. Making the DMG is optional, and is only done if you provide
// the template DMG file, which you have to create beforehand.
//
// Example use:
@erictune
erictune / README.md
Last active December 2, 2018 02:41
Next Steps for viewers of "Kubernetes Extensibility", presented at Dockercon SF 2018 by Eric Tune and Tim Hockin
@nicbet
nicbet / song.txt
Created May 6, 2019 15:36
Teaching my Toddler about Bitbucket
The itsy bitsy bucket contains all our code,
down comes the git commit and adds another load,
out comes the pull request and merges the changes in,
the itsy bitsy bucket now has more code within.
@bradfitz
bradfitz / sqlplay.go
Created June 23, 2021 17:23
sqlplay.go
package main
import (
"database/sql"
"flag"
"fmt"
"html"
"io"
"io/ioutil"
"log"