Skip to content

Instantly share code, notes, and snippets.

View rlbaker's full-sized avatar

Ryan Baker rlbaker

View GitHub Profile
{
"B00DURGZHW":{
"rating":"PG-13",
"has_subtitles":"TRUE",
"i_d":"B00DURGZHW",
"episode_count":"N/A",
"user_rating_average":"3.9",
"network":"N/A",
"meta_site":"amazon",
"title":"Mud",
iTerm2: http://www.iterm2.com/
Homebrew: http://brew.sh/
brew install python
brew install python3
brew install vim
brew install ssh-copy-id
brew install docker
brew install go
brew install boot2docker
@rlbaker
rlbaker / math_ops.exs
Last active June 3, 2017 08:36
Floor/Ceil
defmodule MathOps do
def floor(x) when x < 0 do
t = trunc x
case x-t == 0 do
true -> t
false -> t - 1
end
end
def floor(x) do
### Keybase proof
I hereby claim:
* I am rlbaker on github.
* I am rlbaker (https://keybase.io/rlbaker) on keybase.
* I have a public key ASAnoGiy6iu82Gtr2naVisDm8dJ5w1scosOsVypKJWxZZAo
To claim this, I am signing this object: