Skip to content

Instantly share code, notes, and snippets.

Array.apply(0, $$('img[onmousedown^=toggle_pin]')).map(function(el){return el.onmousedown();});
//
#container {
width: auto;
}
#right_column {
float:left;
position: absolute;
}
#left_column {
僕の考えた最強のサーチカード (3)(青)(青)
エンチャント
僕の考えた最強のサーチカードが戦場に出たとき、あなたがそれを自分の手札から唱えた場合、あなたはあなたのライブラリーからインスタント・カード1枚かソーサリー・カード1枚を探し、それを公開してあなたの手札に加えてもよい。そうした場合、あなたのライブラリーを切り直す。
あなたのアップキープの開始時に、あなたは僕の考えた最強のサーチカードをオーナーの手札に戻してもよい。
224, 2172, 9253, 12441, 9206, 879, 7745, 1349, 193, 344, 2202, 322, 8984, 4973, 14803, 27096, 18728, 333, 23408, 26521, 22629, 28865, 329, 14845, 328, 14499, 14662, 28042, 26463, 26468, 22589, 29863, 28729, 22932, 18542, 18779, 27471, 331, 4560, 20992, 27282, 5021
<?php
$hieroglyph_qwerty = explode("\n", <<<EOF
1234567890-^\
!"#$%&'()~=~|
qwertyuiop@[
QWERTYUIOP`{
asdfghjkl;:]
ASDFGHJKL+*}
zxcvbnm,./\
ZXCVBNM<>?_
@poochin
poochin / jconv.js
Created December 29, 2010 16:01
CP932_UTF8 or UTF8_CP932 on JS
var jconv = new (function()
{
function jconv() { return this; }
// cp932(ms_sjis) & utf16be map
// http://unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT
// array is set even & odd [cp932, utf16be, cp932, utf16be, ...]
var tuple_cp932_utf16be =
[0x00,0x0000,0x01,0x0001,0x02,0x0002,0x03,0x0003,0x04,0x0004,
0x05,0x0005,0x06,0x0006,0x07,0x0007,0x08,0x0008,0x09,0x0009,
@poochin
poochin / jconv.js
Created December 30, 2010 12:03
SJIS(==CP932)/EUC-JP/UTF8(+UTF16be) Conversion
/**
* Running test code for CLI MODE.
* Test code exists bottom.
*/
var RUN_TEST = false;
/**
* jconv.js
* Usage:
* load this script.
twttr.app.currentPage().repositionDetailsPane = function () {
if (!twttr.decider.goodAtCss()) {
return
}
var B = $('.details-pane-outer', this); // this.$find(".details-pane-outer");
if (this.windowHasHorizontalScroll()) {
var C = twttr.$win.scrollTop();
B.addClass("tracking-vertically");
B.css({
"margin-top": C,
#!/usr/bin/python
# -*- coding: utf-8 -*-
import time
import hashlib
import random
import base64
import hmac
import urllib2
import urlparse
from xml.dom.minidom import NodeList
def getChildsByTagName(dom, tagName, **attrs):
'''return NodeList of tagName[attrs] from dom'''
nl = NodeList()
for node in dom.childNodes:
if hasattr(node, 'tagName') and node.tagName == tagName:
for k, v in attrs.iteritems():
if node.getAttribute(k) != v:
break