Skip to content

Instantly share code, notes, and snippets.

Ryan Kulla rkulla

Block or report user

Report or block rkulla

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

Keybase proof

I hereby claim:

  • I am rkulla on github.
  • I am rkulla ( on keybase.
  • I have a public key ASBDV2m5F9zjHg4tmy96M-U2wGZweobV9UVwTJlMJ89OrQo

To claim this, I am signing this object:

rkulla / go
Last active Aug 23, 2016
go wrapper to "go run" implicitly when you type "go *.go"
View go
# Simple go wrapper for typing "go file.go" instead of "go run file.go"
# Allows flags and wildcards as usual.
# Installation: Copy this wrapper to first in PATH, e.g. $GOPATH/bin
if (( $# > 0 )) && [[ "$1" = *.go ]]; then
$realgo run "$@"
rkulla /
Created Nov 7, 2015
BigQuery CLI query to json
#!/usr/bin/env python
# Query Big Query and return JSON results.
# Just a python example. There are better CLI tools than this:
# usage: python
# For pretty output, pipe to 'prettyjson' or json.tool and/or pygmentize:
# | python -m json.tool | pygmentize -l javascript
from apiclient.discovery import build
from oauth2client.client import SignedJwtAssertionCredentials

Ryan Kulla's Birding Life List

Pinterest Version with photos I took

Categorized by Order -> Family -> Common Name -> Scientific Name -> Date First Identified -> Location First identified



Cooper's Hawk / Accipiter cooperii / 02.15.2007 / Murrieta, CA

rkulla /
Last active Aug 29, 2015
Django Skeleton Script
# django-skeleton by Ryan Kulla <>
# Sets up my prefered Django project layout. Creates a virtualenv with
# django-toolbelt django-debug-toolbar and django-coverage. And creates
# an initial local Git repository.
default_packages=(django-toolbelt django-debug-toolbar django-coverage)
root_basename=$(basename "$root_folder")
rkulla / curslotto.c
Created Mar 21, 2014
Lottery number generator with an ncurses interface
View curslotto.c
/* curslotto.c
* Lotto number generator -by Ryan Kulla
* Compile with: gcc -o curslotto curslotto.c -lncurses
* Lottery number generator
* Usage: curslotto <num1> <num2> <num3> <num4> <num5> <num6> [slow]
* Examples:
rkulla / co
Last active Aug 29, 2015
Bash script for easier SVN checkouts
View co
# Author Ryan Kulla (
# A shell script (in Bash) that allows you to do SVN checkouts
# with a shorter command than the default subversion command.
# Handy if your repos have long, hard to remember URLs.
# Put this script in your PATH (e.g., ~/bin/)
# Make sure it's executable:
# $ chmod u+x ~/bin/co
rkulla / rails-3-tutorial-notes
Last active Dec 14, 2015
My Rails 3 Tutorial notes that I recommend people use.
View rails-3-tutorial-notes
My notes and shortcuts for working with Michael Hartl's great Rails tutorial
- Since he has you install RVM in the very first chapter, I recommend actually using it
immediately rather than getting in the habit of typing out "bundle exec" all of the time
or forgetting to create and switch to gemsets. I recommend running this right away:
$ rvm use 1.9.3@sample_app --create
This way if you're reading other tutorials too, and want to experiment with gems they
rkulla / vsrcrb.rb
Last active Sep 10, 2016
Easily find and view Ruby standard library source code
View vsrcrb.rb
#!/usr/bin/env ruby
# vsrcrb.rb by Ryan Kulla (
# Note that it only works on a *nix OS (OSX, Linux, etc). Not Windows.
# Command-line program to output standard library module source
# Install: $ mkdir ~/bin ; mv -i vsrcrb.rb ~/bin/vsrcrb ; chmod u+x ~/bin/vsrcrb
# Usage: $ vsrcrb <module-name-without-extension>
# Example: View socket.rb's source code: $ vsrcrb socket | less
# To view a gem's src: $ less $(gem which <gem>)
def get_source_paths(target_file)
rkulla / gwhich.c
Created Aug 4, 2011
GTK+ front-end wrapper around the UNIX which(1) command
View gwhich.c
/* gwhich.c -by Ryan Kulla
* GTK+ front-end wrapper around the which(1) command.
* Compile with: gcc gwhich.c -o gwhich `pkg-config --cflags --libs gtk+-2.0`
* Usage: gwhich
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <gtk/gtk.h>
You can’t perform that action at this time.