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
/* | |
* change RMAIL-formatted mail to mbox-formatted mail | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
char lineBuffer[200][BUFSIZ]; | |
int line = 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
/* | |
* cut.c | |
* | |
* cut --- 行の中から指定フィールドを切り出す | |
* | |
* 形式 | |
* (1) cut -c<フィールド> [filename ...] | |
* (2) cut -f<フィールド> [-d<セパレータ>] [-s] | |
* 機能 | |
* (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
/* | |
* jsort.c | |
* ひらがな文字列のソート(辞書の順による) | |
* | |
* by H. Tsujimura 11 Jan 1995 / 15 May 2009 | |
* | |
* 使用方法: | |
* jsort [-t区切り文字] [+位置] [ファイル名] | |
* 指定された区切り文字で区切られた、指定位置の文字列を | |
* 基準にソートを行なう |
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
001 フシギダネ 固有名詞 | |
002 フシギソウ 固有名詞 | |
003 フシギバナ 固有名詞 | |
004 ヒトカゲ 固有名詞 | |
005 リザード 固有名詞 | |
006 リザードン 固有名詞 | |
007 ゼニガメ 固有名詞 | |
008 カメール 固有名詞 | |
009 カメックス 固有名詞 | |
010 キャタピー 固有名詞 |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
static char str[][5] = { | |
"あ", "い", "う", "え", "お", "か", "き", "く", "け", "こ", | |
"さ", "し", "す", "せ", "そ", "た", "ち", "つ", "て", "と", | |
"な", "に", "ぬ", "ね", "の", "は", "ひ", "ふ", "へ", "ほ", | |
"ま", "み", "む", "め", "も", "や", "ゆ", "よ", "ら", "り", | |
"る", "れ", "ろ", "わ", "を", "ん", |
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== | |
// @name AutoPagerize for IE7 with Turnabout | |
// @namespace http://watcher.moe-nifty.com/ | |
// @description loading next page and inserting into current page. | |
// @include http://* | |
// @include https://* | |
// @exclude https://mail.google.com/* | |
// ==/UserScript== | |
// | |
// auther: tsupo http://watcher.moe-nifty.com/ |
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
--- a/32521.user.js Wed Sep 10 18:50:36 2008 | |
+++ b/32521.user.js Tue Jan 13 16:11:19 2009 | |
@@ -14,8 +14,10 @@ | |
(function() { | |
// Config | |
- var afterElementXPath = 'id("entrylist")/following-sibling::*[1]'; | |
- var urlElementXPath = 'id("entrylink_url")//a'; | |
+ // var afterElementXPath = 'id("entrylist")/following-sibling::*[1]'; | |
+ var afterElementXPath = 'id("moreinfo_bottom")/following-sibling::*[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
<script type="text/javascript"> | |
/* | |
$Id: extedit.js,v 1.6.1.1 2004/04/05 07:04:05 tsupo Exp $ | |
#Id: extedit.js,v 1.6 2004/03/28 17:41:49 ishinao Exp $ | |
Author: ishinao <ishinao@ishinao.net> | |
Licence: GPL | |
extedit - Webブラウザの入力フォームで好きなエディタを使う | |
see http://mylog.ishinao.net/id/1177 | |
*/ |
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
/* | |
* Amazon の商品画像があればそのまま表示し、なければ「画像がありません画像」を | |
* 表示するスクリプト | |
* | |
* written by H.Tsujimura 2005, 2006, 2007 | |
*/ | |
/* img の onload に replaceImage を埋め込む必要があるバージョン */ | |
/* → いずれ、この replaceImage は廃止し、replaceImageForAmazon に移行する */ | |
function replaceImage(img,rep_img) { |
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
/* convISBN.js : converter ISBN10 <-> ISBN13 */ | |
/* Copyright (c) 2007 by H.Tsujimura <tsupo@na.rim.or.jp> */ | |
/* Distributed by LGPL. */ | |
/* this script written by H.Tsujimura 20 Jan 2007 */ | |
function convISBN13toISBN10(str) { | |
var s; | |
var c; | |
var checkDigit = 0; | |
var result = ""; |