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
// ==UserScript== | |
// @id googlereaderautochangestartpage@http://twitter.com/xulapp | |
// @name Google Reader Auto Change Start Page | |
// @version 1.0 | |
// @namespace http://twitter.com/xulapp | |
// @author xulapp | |
// @description | |
// @include http://www.google.tld/reader/view/* | |
// @include https://www.google.tld/reader/view/* | |
// @run-at document-start |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Highlight Selector</title> | |
<style id="style"> | |
body > p { | |
background-color: #DDD; | |
padding: 0.5em; | |
} |
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
<body id="B" onload=setInterval('t=new(Date)/210&31;B.innerHTML=28<t?"Let\'s\(・ω・)/にゃー!":["(」・ω・)」うー!","(/・ω・)/にゃー!"][19<t?1:t/4&1]',4)> |
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
# coding: utf-8 | |
import sys | |
import os | |
class NullDevice: | |
def write(self, s): | |
pass | |
_stderr = sys.stderr |
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
// ==UserScript== | |
// @id google-reader-all-feed-refresh@http://twitter.com/xulapp | |
// @name Google Reader All Feed Refresh | |
// @description すべてのフィードを強制的に更新させます | |
// @include http://www.google.tld/reader/view/* | |
// @include https://www.google.tld/reader/view/* | |
// @charset utf-8 | |
// @run-at document-end | |
// @namespace http://twitter.com/xulapp | |
// @author xulapp |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>デフォルトファビコンが○○に見えて困る</title> | |
<style> | |
.item { | |
display: table-row; | |
} | |
.item > label, |
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
<input onkeyup="this.nextSibling.textContent=this.value.length"><b></b><br> | |
<textarea onkeyup="this.nextSibling.textContent=this.value.length"></textarea><b></b> |
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
<body id=B onload="a=f=function(n,_,g){a^=(1<<n)*67.515625;for(j=30;j;B.innerHTML=g?_:'Great!!')_+=j--%6?(a>>j&1?g='●':'○').link('javascript:f('+j+',++c)'):'<br>'};for(i=30;i;)i--%6&Math.random(c=0)<.5&&f(i)"> |
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
def parallel(tasks): | |
from threading import Thread | |
def target(i, task): | |
results[i] = task() | |
threads = [Thread(target=target, args=args) for args in enumerate(tasks)] | |
results = [None] * len(tasks) | |
for thread in threads: |
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
// language setttings for DOS Batch file | |
KeywordNocase:TRUE | |
KeywordFile:bat.txt | |
OpenComment: | |
CloseComment: | |
RowComment::: | |
BreakChars: !"%&().<=>\| | |
OperatorChars:&<=>| | |
BracketChars:) | |
QuoteChars:" |
NewerOlder