ToDo:
http://d.hatena.ne.jp/colun/20061203#p1
Windows ¤À¤È¼«¸Ê½ñ¤´¹¤¨¤¬¥¢¥ì¤È¤«¡£ º£ÅÙ¤ä¤Ã¤Æ¤ß¤è¤¦¡£ ¤½¤ÎÏäÎÇØ·Ê¤Ï shuJIT ¤À¤í¤¦¤±¤É¡¢ JVM ¤Î JIT ¤È¤«¤½¤¤¤¦´Ä¶¤Ç¤ä¤ë¤ÈÂçÊѤʤΤ«¤Ê¤¡¡£
¤¢¤È NULL ¤¬ C++ ¤Ç¡Ä¤Ï¤Þ¤µ¤Ë¤½¤¦¤À¤Ê¤¡¡£ ¤¢¤ÈÆɤ߹þ¤ß¤µ¤ì¤Æ¤Ê¤¤¤È¤«¤â¤Þ¤µ¤Ë¤½¤¦¤À¤Ê¤¡¡£
(00:02)
¥á¥â¼è¤ê¤Î¥¢¥É¥ì¥¹¤òÉáÄ̤˽ñ¤¤¤Æ¤Æ¥¢¥Û¤«¤È¤ï¤é¤¿¡£ ¥¹¥Ñ¥àÍ褿¤éÌÌÇò¤¤¤Ê¤¡¡£ ¤Þ¤¡º£¤Î¤¦¤Á¤Ë From À©¸Â¤«¤±¤È¤¯¤«¡£ ¤Æ¤¤¤¦¤«´û¤Ë¤«¤«¤Ã¤Æ¤¿¤Ã¤±¡£
(00:03)
¤è¤¯¸«¤ë¤Ê¤¡¤È»×¤Ã¤ÆÄ´¤Ù¤¿¡£
¢£kinda : ¡Úȯ²»¡Ûk©×in(d)«°(¥«¥¤¥ó¥À¡¼)¡¢¡Ú¥ì¥Ù¥ë¡Û6 ¡ÚÉû¡Û=kind of¡¢´öʬ¡¢¤Á¤ç¤Ã¤È¡¢¤¢¤ëÄøÅÙ¡¢¤«¤Ê¤ê
¤Ê¤ë¤Û¤É kind of ¤ÏÊØÍøɽ¸½¤À¤è¤Ê¤¡¡£ ÌäÂê¤Ï kinaba ¤È¶õÌÜΨ100%¤Ê¤³¤È¤Ç¤¹¤¬¡£
(01:06)
http://d.hatena.ne.jp/giveup/20061203#1165165185
¤¢¡¼¤Ê¤ó¤«HHK¤â¤è¤¯¸«¤ë¤È Alt^Opt ¤È¤« ½ñ¤¤¤Æ¤¢¤ë»È¤Ã¤Æ¤Ê¤¤¥¡¼¤¢¤ë¤Ê¡¼¡£ ¤³¤ìº£¤Ï X Ū¤Ë¤Ï¥¹¥Ú¡¼¥¹¤«¡¼¡£
¤¦¤àͽÁÛÄ̤êÊÑ´¹/̵ÊÑ´¹¥¡¼¤Î¤è¤¦¤À¡£ Thinkpad ¤òľÀÜ¿¨¤ë»þ¤Î¤¿¤á¤Ë¥¹¥Ú¡¼¥¹¤Ë¤·¤¿¤ó¤À¤Ê¡£ ¤Ä¡¼¤³¤È¤Ï¼«Í³¤Ë»È¤¨¤ë¡£ ¤±¤É¤³¤ì¥â¥Ç¥Õ¥¡¥¤¥¢¤Ë¤Ï¤Ê¤é¤ó¤è¤¦¤Ê¤ß¤¿¤¤¤Ê¡£
¤¢¤È¤½¤â¤½¤âÊÌ¤Ë Ctrl+Alt »È¤ï¤Ê¤¤»Ò¤Ê¤ó¤À¤è¤Ê¤¡¡£
(11:32)
http://d.hatena.ne.jp/giveup/20061203#1165166438
memset(&p, 0, sizeof(p)); ¤Ç¤Ê¤¤¤È¡Ä
Ïü«ÂΤϤ¿¤Þ¤Ëʹ¤¯Ïäʤó¤Ç·ë²Ì¤¬ÊѤï¤ë¤ó¤Ç¤·¤ç¤¦¤Í¤§¡Ä Èó¥Ì¥ë¥¼¥í´Ä¶Íߤ·¤¤
(11:45)
showkey ¤Í showkey ¡£ key ¤Î¥¡¼¤Î¥¡¼¥Ü¡¼¥É¤Î¥¡¼¥³¡¼¥É¤Î¥³¡¼¥É¤Î code ¤Î scan ¤Î¥¹¥¥ã¥ó¤Îɽ¼¨¤¹¤ë¤Î¤Ï showkey ¤Ã¤Æ¥³¥Þ¥ó¥É¤À¤«¤é¡£ ¤³¤ó¤À¤±¤¢¤ì¤Ð¤Þ¤¿Ëº¤ì¤Æ¤â¸¡º÷¤Ç¤¤ë¤À¤í¤¦¡Ä
(11:54)
find `echo $PATH|sed 's/:/ /g'` -name *key*
¤ó¡¼
findpath () { find `echo $PATH|sed "s/:/ /g"` -name $@ }
¤Ê¤ó¤« noglob ¤Ë¤Ç¤¤ó¤Ê¤¡¡£
(12:04)
screen ¥Ð¥Ã¥Õ¥¡¤ò X ¤ËÁ÷¤ë ~/bin/__scr2x ¤ò¾¯¤·¼ê¤òÆþ¤ì¤¿¡£
#!/bin/bash screen -X eval "msgminwait 0" "writebuf /tmp/scr" "bell_msg 'hoge'" "msgminwait 1" trap '' SIGHUP sleep 0.2 xclipstr "`cat /tmp/scr`" & screen -X echo 'xclip'
Í×¤Ï sleep Æþ¤ì¤¿¡£ Æþ¤ì¤Ê¤¤¤È·ë¹½¥¢¥ì¤À¤Ã¤¿¡£
¤¢¤È copy »þ¤Î emacs ²½
markkeys "h=^B:l=^F:$=^E"
¤µ¤ì¤Æ¤Ê¤«¤Ã¤¿¤Î¤Ç¤·¤¿¡£ ¤³¤ì¤Ï¤Ê¤ó¤«¥¤¥ä¤ÊÍýͳ¤¬¤¢¤Ã¤¿µ¤¤â¤·¤¿¤ó¤À¤±¤É¡¢¤Ê¤ó¤À¤Ã¤¿¤«¡£
(13:13)
http://msdn.microsoft.com/library/ja/jpmemory/html/_win32_VirtualProtect.asp?frame=true
http://f4.aaa.livedoor.jp/~madprog/doc/self-mod.html
¼ê¶á¤Ê¤È¤³¤Ë Windows Íߤ·¤¤¤Ê¤¡¡£ ¤Ä¤Þ¤ê HHK ¤«¤é¼ê¤ò¤Ï¤Ê¤µ¤º¤Ë ¥í¥°¥¤¥ó¤·¤Æ¥³¥ó¥Ñ¥¤¥éÁö¤é¤»¤é¤ì¤ë¤¯¤é¤¤¤Îµ÷Î¥¤ËÍߤ·¤¤¡£
¥Ç¥£¥¹¥×¥ì¥¤ÃÖ¤±¤ë¤Á¤ã¤ÖÂ楲¥Ã¥È&& ¤Ê¤ó¤Á¤ã¤Ã¤Æ¥Ç¥å¥¢¥ë¥Ç¥£¥¹¥×¥ì¥¤|| ŬÅö¤Ë¥´¥ß¥Î¡¼¥ÈPC¥²¥Ã¥È&& VNC ¤Î¤É¤Ã¤Á¤«¤«¤Ê¤¡¡£ ¤Ê¤ó¤Á¤ã¤Ã¤Æ¥Ç¥å¥¢¥ë¤Ï¥Ç¥¹¥¯¥È¥Ã¥×¤Î Windows¥Þ¥·¥ó¤¬»ÈÍÑÉԲĤˤʤë¤Î¤¬Äˤ¤¡£
¤È¤ê¤¢¤¨¤º Windows ¥Þ¥·¥ó¤Ë VNC Æþ¤ì¤ë¤«¡Ä
(13:40)
¤ª¡¼¤³¤¦¤¤¤¦¥¤¥Ç¥£¥ª¥à¤¬¡£
http://d.hatena.ne.jp/tociyuki/20061204/1165201446
via http://d.hatena.ne.jp/sumim/20061203/p2
Ruby ¤ÎÊý¤Ï¤â¤¦¤Á¤ç¤¤Ã»¤¯¤Ç¤¤ë¤«¤·¤é¡£
tr »È¤¦¤Ê¤é
echo HZPFIZ | ruby -pe '$_.tr!("A-Z",[*"A".."Z"].reverse*"")'
gsub ¤Ï Kernel#gsub ¤Î¤ª¤½¤í¤·¤µ¤ò³À´Ö¸«¤ì¤Þ¤¹¡£ ¥´¥ë¥Õ¤Ê¤é¤¢¤È1B¤Ï½Ì¤á¤ë¤±¤É¡£
echo HZPFIZ | ruby -pe 'gsub(/[A-Z]/){(155-$&[0]).chr}'
String#gsub ¤È String#gsub! ¤Î°ã¤¤¤ÏÉáÄ̤Ǥ¹¡£ gsub! ¤ÎÊý¤Ï¸µ¤Îʸ»úÎó¤ò½ñ¤´¹¤¨¤ë¤ï¤±¤Ç¤¹¡£ Kernel#gsub ¤È Kernel#gsub! ¤Î°ã¤¤¤Ï¤Ê¤ó¤È¡ª ½ñ¤´¹¤¨¤Ê¤«¤Ã¤¿¾ì¹ç¤ÎÌá¤êÃͤ·¤«°ã¤ï¤Ê¤¤¤Î¤Ç¤¢¤Ã¤¿¡¼¡ª¡ª
¤É¤¦¤Ç¤â¤¤¤¤¡£
(13:49)
NII ¤«¤é¾¤ËÁ÷¤ëÍѤΥ°¥ê¡¼¥Æ¥£¥ó¥°¥«¡¼¥É¤È¤ä¤é¤¬ Á÷¤é¤ì¤Æ¤¤¿¤ó¤À¤±¤É¡¢ ÆüËܤ¬³Ë¹¶·â¼õ¤±¤Æ¤ë¤È¤·¤«»×¤¨¤Ê¤¤³¨ÊÁ¤À¤Ã¤¿¡£
(14:14)
µ¶Áõ¤È¡¢´ÉÍý¼Ô¤Î̵ÃÎ/ÂÕÂƤˤè¤ë ´ü¸ÂÀÚ¤ì¤Î¶èÊ̤¬¤Ä¤«¤ó¤Î¤¬¤¿¤Ö¤ó¡¢ ¥»¥¥å¥ê¥Æ¥£¤Î¿ÍŪ¤Ë¥·¥å¥Ã¥·¥å¥Ã¤Ê¤ó¤À¤È»×¤¦¤ó¤À¤±¤É¡£
´ü¸ÂÀÚ¤ì¤È¤«¡¢Ã±¤Ê¤ë GET ¤Ç¥Ö¥é¥¦¥¶¤¬ ¤¤¤Á¤¤¤Á¶¯¤¤·Ù¹ð½Ð¤¹¤«¤é¤¤¤«¤ó¤Î¤«¤Ê¤¡¡£ ¤Ö¤Ã¤Á¤ã¤±´ü¸ÂÀÚ¤ì¤Î¾ÚÌÀ½ñ¤È¤«¤Ã¤Æ¤Û¤Ü°ÂÁ´¤Ê¤ó¤¸¤ã¤Ê¤¤¤Î¤È¤«¡£ ǧ¾Ú¶ÉÄ̤äƤʤ¤¾ÚÌÀ½ñ¤ËÂФ·¤Æ¡¢ ¥Ñ¥é¥á¡¼¥¿¤òÅϤ¹¾ì¹ç¤Ë¸Â¤Ã¤Æ¡¢ ¤Ê¤ó¤«¶¯¤¤·Ù¹ð½Ð¤¹¤È¤«¤Ê¤é¤½¤ó¤Ê¤Ë¤¦¤Ã¤µ¤¯¤Ê¤¤¤·¡¢ ¥é¥¤¥È¤Ê¥æ¡¼¥¶¤âµ¤¤ò¤Ä¤±¤ë¤ó¤¸¤ã¤Ê¤¤¤«¤Ê¤¡¤È¤«¡£
CAVE¼°¤Ë
¤³¤ÎÀè¤Ë¤Ï¡¢Ë½ÎÏŪ¤Çµ´¤Î¤è¤¦¥ª¥ì¥ª¥ì¾ÚÌÀ½ñ¤¬¤¢¤Ê¤¿¤òÂԤäƤ¤¤Þ¤¹¡£ ¤½¡¦¤ì¡¦¤Ç¡¦¤â¡¦Àè¤Ë¿Ê¤ß¤Þ¤¹¤«¡£ YES > NO
¤¯¤é¤¤¤ä¤ì¤Ð¤¦¤¶¤¯¤Æ¤¤¤¤¤ó¤¸¤ã¤Ê¤¤¤«
(14:30)
(14:30)
http://www.typemiss.net/blog/kounoike/20061204-115
Ê̲ò¤¬°Å¹æ¤À¤Ê¤¡¤¹¤´¤¤¡£
¤È¤³¤í¤Ç Code Golf ¤Î¥ë¡¼¥ë¤Ç¤¹¤¬¡¢ ¡Ö½ÐÎϤκǽé¤Ë²þ¹Ô¤òÆþ¤ì¤Æ¤¤¤¤¡×¤È¤¤¤¦¤Î¤¬ ¤¢¤ë¤È¤¤¤¦¤Î¤Ï°Æ³°ÃΤé¤ì¤Æ¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£
(20:15)
¤Æ¤Ê¤ó¤«¤Í¡¼¤Èʹ¤¤¤Æ¤ß¤¿¤é¡¢ 2ch¤Ç¥Ø¥ó¤Êµ¤¤¬¤¹¤ë¤È¤¤¤Ê¤Ð¤µ¤ó¤¬¤ª¤Ã¤·¤ã¤Ã¤Æ¤¤¤¿ ³Ø¹»¤Îɾ²Á¤À¤í¡¼¤Í¤È¤¤¤¦Ïä餷¤¯¡£ ¤Ê¤ó¤« US ¤À¤È ABCDF ¤È¡¢ D ¤ÏÆüËܤǸÀ¤¦ C ¤È¤«²Ä¤Ê¤Î¤Ç¡¢ ¥×¥í¥°¥é¥ß¥ó¥°¤Îñ°ÌÉԲĤ¸¤ã¤Ê¤¯¤Æ¤è¤«¤¿¡¼¤È¤¤¤¦¡¢ D ¤Î°ÕÌ£¤¬°ã¤¦°Ê¾åÌõ½ÐÉÔǽ¤Î°ÕÌ£¤Ê¤Î¤«¤Ê¤¡¤È¤¤¤¦´¶¤¸¤À¤Ã¤¿¡£ ¤¿¤·¤«¤Ë Segfault ¤µ¤ó¤Æ̾Á°¤Î»þÅÀ¤Ç¤Ê¤ó¤« À®ÀÓ°¤½¤¦¤Ê¤ï¤±¤Ç¤½¤ó¤Ê´¶¤¸¤Ê¤Î¤«¤Ê¤¡¤È¡£
¤¢¤ÈÆüËܤÎɾ²Á¤Ï SABC ¤¸¤ã¤Í¡¼¤Î¤«¤È¤«¸À¤ï¤ì¤¿¡£ ¥²¡¼¥àÂç¹ñ¡ª¡ª
(20:35)
00: A, 01: B, 10: C, 11: D ¡¢ ¤Ç¤¹¤«¤é¡¢ 1·î1Æü¤¬ D ¤ÎÆü¤È¤¤¤¦¤Î¤âǼÆÀ¤¬¤¤¤¤Þ¤¹¡£ ²¿¤ò±£¤½¤¦¡¢ C89 ¤Ï 1·î0Æü¤Ë¥ê¥ê¡¼¥¹¤µ¤ì¤Þ¤·¤¿¡£
(21:20)
http://d.hatena.ne.jp/giveup/20061204#1165241449
if (argc < 99) return 0;
¤È¤«¤Ç¤Ê¤ó¤È¤«¤Ê¤ë¤±¤É¡¢ ¥¹¥¿¥Ã¥¯¤ÎÄ´À°¤¬¤Ê¤¡¡£
memcpy(&main, &&l+???, 15);
¤È¤«¤ÇÆ°¤¯¤È¤«¤Ã¤³¤¤¤¤¤±¤É¡£
(23:32)
Á° | 2006ǯ 12·î |
¼¡ | ||||
Æü | ·î | ²Ð | ¿å | ÌÚ | ¶â | ÅÚ |
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Á´¤Æ¥ê¥ó¥¯¥Õ¥ê¡¼¤Ç¤¹¡£ ¥³¡¼¥ÉÊҤϼ«Í³¤Ë»ÈÍѤ·¤Æ¤¤¤¿¤À¤¤¤Æ¹½¤¤¤Þ¤»¤ó¡£ ¤½¤Î¾¤Î¤â¤Î¤ÏGPL°·¤¤¤Ç¤¢¤ì¤Ð¤¢¤é¤æ¤ë»ÈÍѤ˴ؤ·¤Æʸ¶ç¤Ï¸À¤¤¤Þ¤»¤ó¡£ ¤Ê¤Ë¤«¤¢¤ì¤Ð²¼µ¥á¡¼¥ë¥¢¥É¥ì¥¹¤Ø¡£
¡ÖD¤Ã¤Æ°¤¤À®ÀӤʤϤº¤À¤«¤é¤è¤¯¤ï¤«¤é¤ó¤Ê¤¢¡×¢ª¡Ö¤È¤ê¤¢¤¨¤ºÄ¾Ìõ¤·¤È¤±¡×¢ª¡Ö2ch¤ÇÊ̤βò¼á(Dimension)¤¬½Ð¤¿¤«¤é¤¤¤¿¤À¤¡×¢ª¡Ö¤³¤ÎÁ°¥Í¥¤¥Æ¥£¥Ö¤Î¤Ò¤È¤«¤éÆͤùþ¤ß¤¬Æþ¤Ã¤ÆÌõ½ÐÉÔǽ¤Êµ¤¤¬¤·¤Æ¤¤¿¤Î¤Ç¡¢¤¢¤¤é¤á¤Æ±Ñ¸ì¤ËÌ᤹¡Ê¤¤¤Þ¤³¤³¡Ë¡×
¤ß¤¿¤¤¤ÊÊÑÁ«¤¬¤¢¤ê¤Þ¤·¤¿¡£¤â¤¦blockquote¤ÏÁ´Éô±Ñ¸ì¤Ç»Ä¤·¤Æ¤â¤¤¤¤¤«¤Ê¡¼¤È»×¤Ã¤Æ¤ë¤ó¤Ç¤¹¤±¤É¡¢º¤¤Ã¤¿¤³¤È¤Ë¡¢another D in programming ¤Î£±¸Ä¾å¤Î¥ä¥Ä¤À¤±¤ÏÌõ¤»¤ë¤·Ìõ¤·¤¿¤¤µ¤¤¬¤¹¤ë¤ó¤Ç¤¹¤è¤Í¡£¡£¡£
¤Ê¤ë¤Û¤É¡£¸Ä¿ÍŪ¤Ë¤ÏÌõ¤»¤ë¤â¤Î¤ÏÌõ¤·¤Æ¤â¤é¤Ã¤¿Êý¤¬¤ï¤«¤êÎɤ¤µ¤¤¬¤·¤Þ¤¹¡£º£¸«¤Æ¤ß¤¿¤ó¤Ç¤¹¤¬¡¢ blockquote Æñ¤·¤¤¤Ç¤¹¤Í¡Ä±Ñ¸ì¤ÇÊüÃÖ¤·¤ÆÌõÃí¤È¤«¡¢Ìõ¤·¤Æ¸¶Ê¸¤òÌõÃí¤È¤«¡¢Î¾Êý¤¢¤ë¤ÈËÝÌõ¤Î¶ìǺ¤¬³À´Ö¸«¤¨¤Æ¸«¤Æ¤ëÊý¤È¤·¤Æ¤ÏÌÌÇò¤¤¤Ç¤¹¤Í¡£
ÌÌÇò¤½¤¦¤À¤Ã¤¿¤Î¤ÇFirefox¤Î³ÈÄ¥¤ò½ñ¤¤¤Æ¤ß¤Þ¤·¤¿¡£
http://d.hatena.ne.jp/letter/20061204
¥á¥Ã¥»¡¼¥¸¤ò̵ÃǤǤª¼Ú¤ê¤·¤Æ¤¤¤Þ¤¹¡£¤¹¤ß¤Þ¤»¤ó¡£
¤ª¤ª¤ª¤¹¤Ð¤é¤·¤¤¡£¤µ¤Ã¤½¤¯Æþ¤ì¤Æ¤ß¤Þ¤·¤¿¡£¤³¤ó¤Ê°ÛÍͤʥá¥Ã¥»¡¼¥¸¤¬½Ð¤ì¤Ð¤µ¤¹¤¬¤Ë¤Ó¤Ó¤ê¤Þ¤¹¤Í¡ª
¤¢¤È¡¢¡Ö¤³¤ó¤Ê¤¢¤ä¤·¤²¤Ê¥×¥é¥°¥¤¥ó¤ò¥Á¥§¥Ã¥¯¤»¤º¤ËÆþ¤ì¤ë¤Ê¤ó¤Æ¡ª¤¢¤Ê¤¿¤Î¤è¤¦¤Ê¿Í¤¬°ìÈÖ¥ª¥ì¥ª¥ì¾ÚÌÀ½ñ¤ËñÙ¤µ¤ì¤ë¤ó¤Ç¤¹¡ª¡ª¡×·Ï¤Î¥Í¥¿¤Ç¤Ï¤Ê¤¤¤«¤È¸å¤Ë¤Ê¤Ã¤Æ¤Ó¤¯¤Ä¤¤¤Æ¥½¡¼¥¹¥Á¥§¥Ã¥¯¤·¤Æ¤ß¤ÆÆäˤʤˤâ¤Ê¤µ¤½¤¦¤Ê¤Î¤Ç°Â¿´¤·¤Þ¤·¤¿¤ÈÇò¾õ¤·¤Æ¤ª¤¤Þ¤¹¡£
¤Á¤Ê¤ß¤Ë¥á¥Ã¥»¡¼¥¸¤Ï¤´Â¸¤¸¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢ CAVE ¤È¤¤¤¦²ñ¼Ò¤Î¥·¥å¡¼¥Æ¥£¥ó¥°¡¢ÅܼóÎÎ˪Âç±ýÀ¸¤È¤¤¤¦¥²¡¼¥à¤«¤é¤Ç¤¹¡£
Ä̤ꤹ¤¬¤ê¤Ç¤¹¡£
<a href=http://dmajor.info/>¥¢¥ê¥Ð¥¤²ñ¼Ò</a>