2007-01-01から1ヶ月間の記事一覧

javascript

http://la.ma.la/blog/diary_200701210117.htm // ==UserScript== // @name LDR keybind for LDR // @namespace http://ma.la/ // @description simple keybind for livedoor reader // @include http://reader.livedoor.com/reader/ // ==/UserScript== new…

perl

http://la.ma.la/blog/diary_200701190053.htm use strict; use Win32::OLE; use Data::Dumper; my $wshell = Win32::OLE->new('Shell.Application') or die "oops\n"; my $HISTORY_FOLDER = 0x22; my $history_dir = $wshell->Namespace($HISTORY_F…

html

<div style="font-size:12px"><script type="text/javascript"><!-- var showTitle=0;var showExplain=0; //--> </script> <script type="text/javascript" src="http://phpspot.org/wst/webshot.php?m=jscript&c=u"></script> <a href="http://phpspot.org/wst/webshot.php?m=alls" style="font-size:10px">Webデザイナーのためのリン…</a></div>

c

#include <stdio.h> #include <string.h> #define BUFSIZE 1000 void main(void) { char* egets(char* buf, int size); int end_check(char* str); int cal_center(char command, double op1, double op2, double* anser); char input_buf[BUFSIZE]; char* buf; char command[] </string.h></stdio.h>…

css

body { width: 97%; word-wrap: break-word; word-break: break-all; text-align: left; color: black; background-color: white; margin: 0 0 20px 0; } p, div { padding: 0; margin: 0; } p { margin-top: 1em; margin-bottom: 1em; } a { text-decoratio…

javascript

function extractBlockquoteCitations(){ var quotes=document.getElementsByTagName('blockquote'); for(var i=0;i