Following instructions from the excellent https://www.rinkeby.io/
A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,
FB.getLoginStatus Object {authResponse: undefined, status: "unknown"} | |
FB.login Object {authResponse: Object, status: "connected"} |
Following instructions from the excellent https://www.rinkeby.io/
A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,
// Run at https://play.golang.org/p/gYCGtWOHGci | |
package main | |
import ( | |
"fmt" | |
) | |
// Define an interface | |
type Foo interface { |
An example story for the gist-txt text adventure engine.
Play this text adventure at http://potomak.github.io/gist-txt/#acebd8fe14942fab4e8e.
More info at https://github.com/potomak/gist-txt.
0x95BcA9Cf2C4984978D658bDc1aA22cf447Cdb33f |
Hello World!Foo | |
Bar |
main :: IO () | |
main = scotty 8080 $ do | |
get "/hello" $ do | |
let content = "Hello world!" | |
respondTo $ do | |
formatJson $ | |
json $ object ["content" .= content] | |
formatText $ | |
text content | |
format "application/vnd.chess-pgn" $ do |
<% [:notice, :error, :alert].each do |level| %> | |
<% unless flash[level].blank? %> | |
<div class="alert-message <%= flash_class(level) %>"> | |
<a class="close" href="#">×</a> | |
<%= content_tag :p, flash[level] %> | |
</div> | |
<% end %> | |
<% end %> |