Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# hit v0.1 by Dan Brakeley
# This script just looks for a file named `hit` in the current or a parent folder.
# If it finds it, it runs it, passing along all arguments passed to this script.
# I use hit scripts as a quick & dirty make.
BIN_DIR=$(dirname $(realpath $0))
LOCAL_DIR=$(realpath $(pwd))
@danbrakeley
danbrakeley / gorm_bug.go
Last active January 27, 2016 15:57
gorm_bug_with_updates.go
package main
import (
_ "database/sql"
"log"
_ "github.com/go-sql-driver/mysql"
"github.com/jinzhu/gorm"
)

Keybase proof

I hereby claim:

  • I am danbrakeley on github.
  • I am brakels (https://keybase.io/brakels) on keybase.
  • I have a public key whose fingerprint is F136 B19A 9B53 DCED E58D 9753 266D 8EFA 17D8 346E

To claim this, I am signing this object: