This file contains hidden or 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
<html> | |
<body> | |
<div id="login" style="display: none"> | |
<fb:login-button perms="email"></fb:login-button> | |
</div> | |
<div id="logout" style="display: none"> | |
<button onclick="FB.logout()">Log out</button> | |
</div> |
This file contains hidden or 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
## somewhere | |
module Persistence | |
class IdentityMap | |
def initialize(app) | |
@app = app | |
end | |
def call(env) | |
DataMapper.repository { @app.call(env) } | |
end |
This file contains hidden or 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
javascript:function iprl5() { | |
var d=document, | |
z=d.createElement('scr'+'ipt'), | |
b=d.body, | |
l=d.location; | |
try { | |
if (!b) throw(0); | |
d.title='(Saving...)'+d.title; | |
z.setAttribute('src',l.protocol+'//www.instapaper.com/j/LIq7XKV1Bp1I?u='+encodeURIComponent(l.href)+'&t='+(new Date().getTime())); |
NewerOlder