Skip to content

Instantly share code, notes, and snippets.

View ohammersmith's full-sized avatar

Otto Hammersmith ohammersmith

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ohammersmith on github.
  • I am ohammersmith (https://keybase.io/ohammersmith) on keybase.
  • I have a public key whose fingerprint is D975 8599 5261 E48D 95C0 C73B 4684 93C1 DA40 F3AC

To claim this, I am signing this object:

@ohammersmith
ohammersmith / 0_reuse_code.js
Last active August 29, 2015 14:24
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@ohammersmith
ohammersmith / user.ex
Created September 18, 2017 15:36
User struct for get_in
defmodule User do
defstruct [:age]
def fetch(term, key) do
Map.fetch(term, key)
end
def get(term, key, default) do
Map.get(term, key, default)
end