Created
October 11, 2014 04:55
-
-
Save parroty/b644df3da2bb9cd80c5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Git clone https://github.com/parroty/exfirebase | |
cd exfirebase | |
mix deps.get | |
iex -S mix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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