Skip to content

Instantly share code, notes, and snippets.

Reed Allman rdallman

Block or report user

Report or block rdallman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ex2.go
package main
import (
fdk ""
rdallman / ex1.go
Last active Oct 20, 2017
View ex1.go
package main
import (
View gist:7f65ba0eabe4eb2129f8c505ef68cca9

Keybase proof

I hereby claim:

  • I am rdallman on github.
  • I am rdallman ( on keybase.
  • I have a public key whose fingerprint is 132E D4F4 1414 4751 3707 C2D1 70E6 6C08 4C70 FDF7

To claim this, I am signing this object:

View How_to_use_starter.vimrc
Download the gist containing starter.vimrc.
Once you have that done, you will need to use an SFTP client of your choice
to move starter.vimrc to your home directory. FileZilla is an option if you
don't have one already.
You will just need the client.
rdallman / build.gradle
Created Nov 5, 2013
Android Gradle sign and increment version for release
View build.gradle
buildscript {
repositories {
dependencies {
classpath ''
rdallman / goinstall.bash
Last active Dec 27, 2015
Installs go, gets, gets go-doctor (for internal use)
View goinstall.bash
# run with ./goinstall.bash USERNAME=yourusernamehere
# e.g. ./goinstall.bash USERNAME=rpa0003
# Install latest Go from source
# Install
# get go from source
sudo apt-get install mercurial
rdallman / pre-commit
Created Oct 7, 2013
pre-commit hook for golang projects that assures all tests pass and all files are gofmt'd
View pre-commit
for file in $(git diff --cached --name-only | grep -e '\.go$'); do
badfile="$(git --no-pager show :"$file" | gofmt -l)"
if test -n "$badfile" ; then
echo "git pre-commit check failed: file needs gofmt: $file"
You can’t perform that action at this time.