Skip to content

Instantly share code, notes, and snippets.

@parroty
Created October 11, 2014 04:55
Show Gist options
  • Save parroty/b644df3da2bb9cd80c5c to your computer and use it in GitHub Desktop.
Save parroty/b644df3da2bb9cd80c5c to your computer and use it in GitHub Desktop.
Git clone https://github.com/parroty/exfirebase
cd exfirebase
mix deps.get
iex -S mix
Interactive Elixir (1.0.0) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> ExFirebase.set_url("https://hacker-news.firebaseio.com/v0/")
:ok
iex(2)> ExFirebase.get("topstories") |>
...(2)> Enum.each(&(IO.puts ExFirebase.get("item/#{&1}")["title"]))
Core Secrets: NSA Saboteurs in China and Germany
Judge Rejects Defense That FBI Illegally Hacked Silk Road, on a Technicality
What will it take to run a 2-hour marathon?
Lua metacompiler
Dropbox confirms that a bug within Selective Sync may have caused data loss
Why 12-Foot Traffic Lanes Are Disastrous for Safety
The Toughest Adversity I've Ever Faced
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment