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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Introduction to JSDeferred</title> | |
<!-- <script type="text/javascript" src="/site-script.js"></script> --> | |
<style type="text/css"> | |
#top { | |
font-size: 80%; | |
position: absolute; | |
top: 0; |
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
data:text/html;charset=utf-8,%3C!DOCTYPE%20HTML%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20HTML%204.0%20Transitional%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FTR%2FREC-html40%2Floose.dtd%22%3E%0D%0A%3Chtml%3E%0D%0A%3Chead%3E%0D%0A%3Cmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%3E%0D%0A%3Cmeta%20name%3D%22copyright%22%20content%3D%22%26copy%3B%202008-2009%20NeoCat%22%3E%0D%0A%3Cmeta%20name%3D%22description%22%20content%3D%22JavaScript-based%20Twitter%20Client%22%3E%0D%0A%3Cmeta%20name%3D%22viewport%22%20content%3D%22width%3D280%2Cuser-scalable%3Dno%22%3E%0D%0A%3Clink%20rel%3D%22apple-touch-icon%22%20href%3D%22icon.png%22%3E%0D%0A%3Clink%20rel%3D%22shortcut%20icon%22%20href%3D%22favicon.ico%22%3E%0D%0A%3Ctitle%3Etwicli%3C%2Ftitle%3E%0D%0A%3Cstyle%20type%3D%22text%2Fcss%22%3E%3C!--%0D%0Abody%20%7B%20background-image%3A%20url(block_bg.png)%3B%20background-attachment%3A%20fixed%3B%20margin%3A%201px%3B%20min-height%3A%20500px%3B%20%7D%0D%0Aimg%20%7B%20border%3A%200%20none%3B%20 |
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
var pickup_regexp = readCookie('pickup_regexp') || ''; | |
var pickup_tab_list = new Array(); // タブ一覧 | |
// 発言(JSON)が指定条件にマッチするか判定 | |
function execRegexp(tw, exp) { | |
return (!exp.id || tw.user.screen_name.match(exp.id )) && | |
(!exp.id_n ||!tw.user.screen_name.match(exp.id_n)) && | |
(!exp.text || tw.text.match(exp.text )) && | |
(!exp.text_n ||!tw.text.match(exp.text_n)) && | |
(!exp.source || tw.source.match(exp.source )) && |
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
// ==UserScript== | |
// @include http://favotter.matope.com/* | |
// ==/UserScript== | |
opera.defineMagicFunction('finishFav',function(){ | |
var self = this; | |
setTimeout(function(){ | |
$(self).attr('src',''); | |
$('.fav-throb').removeClass('fav-throb').addClass('fav'); | |
$(self).remove(); |
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
http://blog-imgs-40-origin.fc2.com/n/e/t/netamichelin/2009091302.jpg | |
http://blog-imgs-40-origin.fc2.com/n/e/t/netamichelin/2009090902.jpg | |
http://blog-imgs-40-origin.fc2.com/n/e/t/netamichelin/2009090720.jpg | |
http://blog-imgs-40-origin.fc2.com/n/e/t/netamichelin/2009090601.jpg | |
http://blog-imgs-40-origin.fc2.com/n/e/t/netamichelin/2009090201.jpg | |
http://blog-imgs-40.fc2.com/n/e/t/netamichelin/2009082401.jpg | |
http://blog-imgs-40.fc2.com/n/e/t/netamichelin/2009080401.jpg | |
http://blog-imgs-40.fc2.com/n/e/t/netamichelin/2009080301.jpg | |
http://blog-imgs-40.fc2.com/n/e/t/netamichelin/2009080103.jpg | |
http://blog-imgs-40.fc2.com/n/e/t/netamichelin/2009073007.jpg |
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
#!/usr/bin/python | |
# coding=utf-8 | |
# usage : | |
# from GoogleReader import GoogleReader | |
# gr = GoogleReader('user','pass') | |
# atom = gr.getFeedCache('http://url.of/a/feed/') | |
import urllib, urllib2 |
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
--- pyhatebu/pyhatebu.py_orig 2007-04-08 07:47:24.000000000 -0400 | |
+++ pyhatebu/pyhatebu.py 2009-09-13 11:23:58.000000000 -0400 | |
@@ -77,7 +77,7 @@ | |
""" | |
Make HatebuItem instance from response | |
""" | |
- e = ElementTree.fromstring(src) | |
+ e = ElementTree.fromstring(src.strip()) | |
d = {'subject':[]} | |
for elem in e.getiterator(): |
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
/* "foobar RT @hoge : blah blah..." into "<q>blah blah... (<a>@hoge</a>)<q> foobar" */ | |
(function(){ | |
var re = /^([\s\S]*?)RT\s*(<[aA].*?>@\w+<\/[aA]>)[:\s]*(\S[\s\S]*)$/; | |
function semanticRT(html){ | |
return html.replace(re, function(str, $1, $2, $3){ | |
return '↪ <q class="retweet">' + semanticRT($3) + ' <cite>(' + $2 + ')</cite></q> ' + $1; | |
}) | |
} |
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
<HTML lang="en"><HEAD> | |
<META name="Content-Language" content="en"> | |
<META http-equiv="Content-Style-Type" content="text/css"> | |
<META http-equiv="Content-Script-Type" content="text/javascript"> | |
<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<META http-equiv="Pragma" content="no-cache"> | |
<META http-equiv="Cache-Control" content="no-cache"> | |
<META http-equiv="Expires" content="Sun, 20 Sep 2009 14:54:07 GMT"> | |
<!--[if lte IE 6]><style type="text/css">body {behavior: url(/css/csshover.htc);}</style><![endif]--> | |
<LINK rel="stylesheet" type="text/css" href="http://static.sourceforge.jp/css/sfx.net.css?t=1221028441"> |
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
<HTML lang="en"><HEAD> | |
<META name="Content-Language" content="en"> | |
<META http-equiv="Content-Style-Type" content="text/css"> | |
<META http-equiv="Content-Script-Type" content="text/javascript"> | |
<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<META http-equiv="Pragma" content="no-cache"> | |
<META http-equiv="Cache-Control" content="no-cache"> | |
<META http-equiv="Expires" content="Sun, 20 Sep 2009 14:54:07 GMT"> | |
<!--[if lte IE 6]><style type="text/css">body {behavior: url(/css/csshover.htc);}</style><![endif]--> | |
<LINK rel="stylesheet" type="text/css" href="http://static.sourceforge.jp/css/sfx.net.css?t=1221028441"> |