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
2009/12/14 | |
## レシピ | |
+ 水に昆布を入れて沸騰する直前で出す | |
+ 削り節を入れて沸騰させたら濾して鍋を変える | |
+ 醤油、みりん、砂糖、鷹の爪少々で味を整える | |
+ 切った大根を鍋に入れ、1時間煮る | |
+ その間に卵をゆでる | |
+ ゆで卵、こんにゃくを鍋に | |
+ 30分煮る | |
+ さつま揚げなどを鍋に |
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 create_cell(): | |
cell =[] | |
for line in open('p.txt', 'r'): | |
line = list(line.rstrip()) | |
cell.append(line) | |
return cell | |
def chaise(cell, x, y): | |
if cell[x][y] == 'c': | |
return False |
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
0 | |
0 | |
0 | |
0 | |
0 | |
0 | |
0 | |
0 | |
0 | |
0 |
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
0 | |
1 | |
11 | |
111 | |
1111 | |
11111 | |
111111 | |
9999999999999999 | |
5 | |
446500005339 |
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== | |
// @name favidenticon | |
// @namespace http://oq.la/ | |
// @include * | |
// @require http://github.com/hgwr/identicon/raw/master/identicon.js | |
// ==/UserScript== | |
(function() { | |
var icon_1 = document.evaluate('//head/link[@rel="shortcut icon"]', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; | |
var icon_2 = document.evaluate('//head/link[@rel="icon"]', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; | |
if ( icon_1 || icon_2 ) { |
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
## カレーうどん | |
+ 鍋に水と昆布を入れて沸かす | |
+ 削り節をひとつかみ入れる | |
+ 醤油とみりんを適当に入れる | |
+ 適当に短冊に切った白ネギを入れる | |
+ 一煮立ちするまで卵を溶く | |
+ カレー粉を入れる | |
+ 沸いたら冷凍うどんを入れる | |
+ 冷凍うどんがほぐれたら卵を入れる | |
+ 卵が固まったら食べる |
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
<img src="<?php | |
preg_match('/<img\ssrc="(http:\/\/farm\d+\.static\.flickr\.com\/.*\.jpg)/', $description, $matches); | |
$original_image_url = $matches[1]; | |
$thumbnail_image_url = preg_replace('/_.\.jpg$/', '_s.jpg', $original_image_url); | |
echo $thumbnail_image_url; ?>" width="75" height="75" /> |
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
<?php if (have_posts()): while (have_posts()): the_post(); ?> | |
<?php preg_match('/<img\ssrc="(http:\/\/farm\d+\.static\.flickr\.com\/.*\.jpg)/', $post->post_content, $matches); ?> | |
<?php if($matches[1]): ?> | |
<?php $thumbnail_image_url = preg_replace('/_.\.jpg$/', '_s.jpg', $matches[1]); ?> | |
<img src="<?php echo $thumbnail_image_url; ?>" width="75" height="75" /> | |
<?php endif ?> | |
<?php endwhile; endif ?> |
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== | |
// @name better Lyric | |
// @namespace http://oquno.com/ | |
// @include http://music.goo.ne.jp/lyric/LYR* | |
// @description fix goo music lyric | |
// ==/UserScript== | |
(function(){ | |
unsafeWindow.appendLyric = function(data){ | |
document.querySelector('#canvas').style.display = 'none'; | |
var kashi = document.createElement('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
// ==UserScript== | |
// @name better lyric for Opera | |
// @namespace http://oquno.com/ | |
// @include http://music.goo.ne.jp/lyric/LYR* | |
// @description fix goo music lyric | |
// ==/UserScript== | |
(function(){ | |
window.appendLyric = function(data){ | |
var kashi = document.createElement('div'); | |
for(var i = 0; i < data.length; i++){ |