Skip to content

Instantly share code, notes, and snippets.

yrdy
test
sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
# index.html
<h1 id="logo"><a href="/">Pete's crazy bargains</a></h1>
<h2 id="buy_now">BUY NOW AND GET A FREE STUFF PENGUIN!</h2>
# my.css
1 x Flat White
1 x Latte w/ 1 sugar
1 x Strong Latte
1 x Hot Chocolate
Thanks!
def twitify(tweet)
auto_link tweet.gsub(/@(\w+)/, %Q{<a href="http://twitter.com/\\1" class="twitter_name" target="_blank">@\\1</a>}).gsub(/#(\w+)/, %Q{<a href="http://search.twitter.com/search?q=\\1" class="twitter_hash" target="_blank">#\\1</a>})
end
,---, ,---- ,---- ,---,
|_,< |--- |---- | _,/
|___) |____ |____ | \
function hardMouseover(object, action) {
object.onmouseover=function(){
(typeof hmotimer==”undefined”) ? ” : clearTimeout(hmotimer);
hmotimer = setTimeout(action, 500);
}
object.onmouseout=function(){
clearTimeout(hmotimer);
}
}
results = Twitter.get(results)
results.each do |tweet|
if tweet
File.add_line(tweet.text)
end
end
<input type="text" readonly="true" onfocus="$(this).select()" value='bash -c "`curl -L babushka.me/up`"' style="background-color:#000000;
color:#00AADD;
display:block;
font-size:2em;
padding:.1em 1em; border: none; display: block; width: 440px" />