ToDo:
http://d.hatena.ne.jp/w_o/20070223#c1172261767
ÉáÄ̤ËÆɤó¤Ç¤Ê¤«¤Ã¤¿¡£ ¤Þ¤¡ wo ¤µ¤ó¤Îµ½Ò¤Ï¤Ê¤á¤ë¤è¤¦¤ËÀµºÂ¤·¤ÆÆɤßÊÖ¤¹¤È¤¤¤¦ ËͤÎÀÊʤ˵ߤï¤ì¤¿¡£
¤¢¤ÈÀµµ¬É½¸½¤â format ¤â²¶ Turing complete ¤Ç¤Ï¤Ê¤¤¡£ ´Ö°ã¤¤¤Ê¤¯¥ê¥¢¥ë Turing Complete ¤Ç¤â¤Ê¤¤¤³¤È¤Ç¤¢¤í¤¦¡£
¤¢¤È¤à¤·¤íÀµÂ§Ê¸Ë¡¤ÊÀµµ¬É½¸½¤È¤¤¤¦¤Î¤Ï¤É¤³¤Ë¤¢¤ë¤Î¤À¤í¤¦¤«¡£
(04:58)
¤Ê¤¼¤«²ò¾Ã¡£
¤Ê¤ó¤« iTerm ½¤Àµ¤·¤è¤¦¤È Terminal.app ¤Ç¤Û¤²¤Û¤²¥â¡¼¥É¤ËÆþ¤Ã¤¿¤é¡¢ screen ¤¬Æ°¤«¤ó¤¯¤Ê¤Ã¤¿¤«¤éÉÔ¿³¤À¤Ê¡¼¤È»×¤¤¤Ä¤Ä screen -m ¤È¤«¤Çµ¯Æ°¤·¤¿¤é²ò¾Ã¤·¤Æ¤¿¡£
¤Ç¤â¥Ð¥¤¥Ê¥ê¤Ç½¦¤Ã¤Æ¤¤¿¥ä¥Ä¤¸¤ã¥À¥á¤Ç¡¢ ¼«Ê¬¤Ç¥³¥ó¥Ñ¥¤¥ë¤·¤¿¥ä¥Ä¤À¤±Âç¾æÉס£ ¤è¤¯¤ï¤«¤é¤ó¤±¤É make Deployment ¤·¤Æ¤½¤ì¤ò»È¤¦¤è¤¦¤Ë¡£
·ëÏÀ¤ò¸À¤¦¤È¤ï¤¤¤ï¤¤
(06:04)
¤·¤Ð¤é¤¯¤·¤¿¤é¤Þ¤¿²½¤±¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¤ª¤«¤·¤¤¡Ä
ËÜÅö¤Ë²¿¤â¤·¤Æ¤Ê¤¤¤Ï¤º¤Ê¤Î¤À¤¬¡£ window ¤È¤« screen ¤È¤«ÊĤ¸¤Æ¤Ê¤¤¤·¤Ê¤¡¡£Ææ
(06:27)
¤À¤¤¤Ö¥Þ¥·¤Ç¤Ï¤¢¤ë¡£
hjkl °ÜÆ°»þ¤¬¤è¤¯¤Ê¤¤¤è¤¦¤À¡£ ¥«¡¼¥½¥ëºÆÉÁ²è¤È¤¤¤¦¤«¡£
¤¿¤Ö¤ó¸«¤Æ¤Æ»×¤¦¤Î¤À¤±¤É»°¤Ä²½¤±¤«¤¿¤¬¤¢¤ë¡£
¤ó¡¢ºÆÉÁ²è¤¬¥À¥á¤Ê¤é¤â¤¦ÉÁ²è¤ä¤á¤Æ¤â¤é¤¨¤Ð¤¤¤¤¤«
(06:30)
VT100Screen.m ¤Ë¤Æ¡£
// if (sc[i]>0xa0 && [NSString isDoubleWidthCharacter:sc[i] encoding:encoding]) if (sc[i]>0x80)
¡ù¤¬¸«¤¨¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¤ï¤¢¢ö
¤Ç¤â¤³¤³¤Þ¤Ç»¨¤À¤ÈȾ³Ñ¥«¥Ê¤È¤«¥ä¥Ð¤¤¤«¤Í¡£
(06:51)
(06:51)
_ =?SHIFT_JIS?Q?=94=BC=8Ap=CE=B9=DE?= (06:51)
ÏÀ³°¤À¤Ê¡£ ¤Æ¤¤¤¦¤«¤³¤ìüËö¤ÎÌäÂꤸ¤ã¤Ê¤¯¤Æñ¤Ë¥á¡¼¥ë¥µ¥Ö¥¸¥§¥¯¥È¤ÎÌäÂ꤫
¤Þ¤¡¤â¤¦È¾³Ñ¥«¥Ê¤È¤«Ëº¤ì¤è¤¦¡£
¤¦¡¼¤ó¤·¤«¤· w3m ¤¬²½¤±¤Ê¤¤¤Î¤Ï²÷Ŭ¶Ë¤Þ¤ê¤Ê¤¤¤Ê
¤È»×¤Ã¤¿¤é¤Þ¤¿Ê¸Æ⤬²½¤±¤ë¥¿¥¤¥×¤Î¥ä¥Ä¤¬½Ð¤Æ¤ë¡£ ¤Þ¤¡¤³¤ì¤ÏÉÑÅ٤Ϲ⤯¤Ê¤¤¤· ^l ¤ÇÂбþ¤Ç¤¤ë¤±¤É¡£
(06:56)
¤Ì¡¼¤ó¤½¤í¤½¤íÂкö¤·¤Ê¤¤¤È¤Ê¤¡¡£ C# ¤¬ $HOME/.wapi ¤È¤«¤Î½ñ¤¹þ¤ß¤òÍߤ·¤Æ¤¤¤ë¤ó¤À¤è¤Ê¡£ ¤Þ¤¡ËÜÅö¤Ë¤³¤ì¤À¤±¤Ê¤é¤¹¤°¤Ê¤ó¤È¤«¤¹¤ë¤ó¤À¤±¤É¡¢ ¤Þ¡¼¥Æ¥¹¥È¤¹¤ë¥Ä¡¼¥ë½ñ¤¤¤Æ¤«¤é¤Ã¤Æ¤È¤³¤À¤Ê¤¡¡£ ¤¢¤È /tmp ¤Î¸ºß¤òÁ°Äó¤È¤·¤Æ¤ë¸À¸ì´Ä¶¤È¤«¤ë¤È¥¤¥ä¤À¤·¡£
¤¢¤È¥ß¥¹¤Ã¤Æ FizzBuzz ¤Ë¤Ë¤Ï¤µ¤ó¤Î¤ò²þÁ±¤·¤¿¥ä¥ÄÅꤲ¤Á¤Þ¤Ã¤¿¥¹¥Þ¥Ì¤Ë¤Ï¤³¡£
(11:27)
´°àú¤Ê½¤Àµ¤¬¤Ç¤¤¿¤È»×¤¦¡£ ÌäÂêÅÀ¡£
¤È¤¤¤¦¤ï¤±¤Ç¡¢
¤Ã¤Æ´¶¤¸¤Ç¤¦¤Þ¤¯¤¤¤Ã¤¿¡£¤Ê¤ó¤«Â¾¤Ë¤â¥Ð¥°¤Ý¤¤¤Î¤¢¤Ã¤¿¤«¤é½¤Àµ¤·¤¿µ¤¤¬¤¹¤ë¡£ ¤Þ¤¡ decode_euc_jp ¤Ë¤ï¤ê¤È¤ª¤µ¤Þ¤Ã¤Æ¤ë¤Î¤Ç¡¢º£Å٥ѥåÁ½ñ¤¯¤ÈÎɤ¤¤È»×¤¦¡£
(12:17)
D ¤òį¤á¤Æ¤ß¤ë¤Î¤Ç¤¹¤è¡Ä!
http://d.hatena.ne.jp/Cryolite/20070302#p1
mixin ¤Ë¤è¤ëʸ»úÎó¤Î¥³¥ó¥Ñ¥¤¥ë¥¿¥¤¥à eval ¤È¡¢ typeof ¤À¤Î is ±é»»»Ò¤¬¤¢¤Ê¤¿¤ò¤ï¤±¤Î¤ï¤«¤é¤Ê¤¤À¤³¦¤Ø
(12:19)
convert ¤Ã¤Æ¤« ImageMagick Æþ¤Ã¤Æ¤ë¡£ ¥³¥¤¥Ä»È¤¦¤Î¤¬°ìÈ֥饯¤«¤â¤·¤ì¤Ê¤¤¤Ê¡£
¤Ì¡¼¤ó fink ¤Ã¤Ý¤¤¡£
¤ó¡¼¤Æ¤« w3mimg -size ¤¬¤¨¤é¤¤·«¤êÊÖ¤·¸Æ¤Ð¤ì¤Æ¤¤¤ë¤È¤¤¤¦¤« ¤³¤³¤¬¥Ð¥°¤Ã¤Æ¤ó¤ë¤ó¤¸¤ã¤Í
(12:49)
Á° | 2007ǯ 3·î |
¼¡ | ||||
Æü | ·î | ²Ð | ¿å | ÌÚ | ¶â | ÅÚ |
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°·¤¤¤Ç¤¢¤ì¤Ð¤¢¤é¤æ¤ë»ÈÍѤ˴ؤ·¤Æʸ¶ç¤Ï¸À¤¤¤Þ¤»¤ó¡£ ¤Ê¤Ë¤«¤¢¤ì¤Ð²¼µ¥á¡¼¥ë¥¢¥É¥ì¥¹¤Ø¡£
Ëͤâ wo ¤µ¤ó¤Îµ½Ò¤À¤±¤Ï¡¤Äê´üŪ¤Ë²¿ÅÙ¤âÆɤßÊÖ¤¹ÀÊʤ¬¤¢¤ê¤Þ¤¹¡¥¤¢¤È perl ¤Î Rules ¤ä format ¤ËÂФ¹¤ë turing complete ¤Î·ï¤Ï¡¤¤â¤Á¤í¤ó¸ÀÍդΥ¢¥ä¤È¤¤¤¦¤«¡¤¤¢¤ë¼ï¤ÎÙèÙé¤Ç¤¹¡¥
> ÀµÂ§Ê¸Ë¡¤ÊÀµµ¬É½¸½
¸Å¤Îɤ½ã AWK ¤È¤«¤Ï¡¤¤Þ¤µ¤·¤¯ regular exp ¤À¤Ã¤¿¤è¤¦¤Êµ¤¤¬¤·¤Þ¤¹ (¼ã´³¤Ï³ÈÄ¥¤µ¤ì¤Æ¤ë¤«¤â ?)¡¥
Ǥ°Õ¤Îʸ»ú½¸¹ç (¶õʸ»ú¤ä '^'¡¤'$'¡¤'.' ¤â´Þ¤à¤È¤·¤Æ) ¤È¡¤¤¢¤È¤Ïµ¢Ç¼Åª¤Ë + ¤È * ¤ÈÀµµ¬É½¸½¤ÎʤӤȳç¸Ì¤À¤±¡¥
[ʸ»úÎó] ¤È¤«¤Ï¥·¥ó¥¿¥¯¥¹¥·¥å¥¬¡¼¤Ê¤Î¤ÇÎɤ¤¤È¤·¤Æ¡¤Ä¾Á°¤ÎÀµµ¬É½¸½¤òɽ¤¹ ? ¤ß¤¿¤¤¤Ê¡¤¥á¥¿ÊÑ¿ôŪ¤Ê¹½Ê¸¤¬Æþ¤Ã¤Æ¤¯¤ë¤È¡¤¤Þ¤¿Èù̯¤Êµ¤¤â¤·¤Þ¤¹¤¬¡¥
¼ÒĹ¤Î¤Ï¤Æ¤Ê¤Ï¤ß¤ó¤Ê¤Î¥Ð¥¤¥Ö¥ë¤Ç¤¹¤Í¡£
> awk
¤Ê¤ó¤«º£¤À¤È sed ¤È¤« grep ¤µ¤¨¸åÊý»²¾È¤Ç¤¤ë¤ó¤Ç¤¹¤è¤Í¤§¡£
°Õ³°¤Ê¤è¤¦¤Ê¤½¤¦¤Ç¤Ê¤¤¤è¤¦¤Ê¤È¤³¤í¤Ç¡¢D¤Îstd.regexp¤¬¸åÊý»²¾È¤Ç¤¤Ê¤¤¸Å¤Îɤregular exp¤Ç¤¹¤Í
awk¤ÎÀµµ¬É½¸½¤Ïegrep¤ÈƱ¤¸¤Ç¤¹(KernighanÇî»Î·Ðͳ¤ÇAhoÇî»Î¤Ë³Îǧ¼è¤ì¤Þ¤·¤¿)¡£¤Ç¡¢egrep¤Î¼õ¤±ÉÕ¤±¤ëÀµµ¬É½¸½¤Ïgrep¤ÈÈù̯¤Ë°Û¤Ê¤ê¤Þ¤¹¡£¤¿¤È¤¨¤Ð¸åÊý»²¾È¤¬»È¤¨¤Þ¤»¤ó¤¬¡¢ÁªÂò¤È'?'¤¬»È¤¨¤Þ¤¹¡£
¤³¤ÎÊÕ¤Ïegrep¤¬AhoÇî»Î¤ÎÏÀʸ¤ò¸µ¤ËDFA¤ò»È¤Ã¤¿¼ÂÁõ¤Çºî¤é¤ì¤¿¤«¤é¤Ç¤Ï¤Ê¤¤¤«¤È»×¤¤¤Þ¤¹¡£
¸åÊý»²¾È¤¬¤¤¤Ä¤´¤í¤«¤é¤¢¤ë¤Î¤«¤ÏÉÔÌÀ¤Ç¤¹¤¬¡¢sed¤ÎÀ®Î©¤·¤¿»þÅÀ¤Ç¤Ï¤¹¤Ç¤Ë¤¢¤Ã¤¿¤«¤È¡£
»þ·ÏÎó½ç¤Ëʤ٤ë¤ÈQED¢ªED¢ªgrep¢ªsed¢ªegrep¢ªawk¤Ç¤¹¡£¤¿¤Ö¤ó¡£
> D
¤¢¡¼¤½¤¦¤¤¤¨¤ÐÉÔÊؤÀ¤Ê¤È»×¤Ã¤¿¤è¤¦¤Êµ¤¤â¡£
> awk
¤Û¤¨¡¼Î©ÇɤÊÎò»Ë¤¬¡£¤ï¤¶¤ï¤¶°Î¤¤¿Í¤Ë³Îǧ¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
QED ¤Æ¤Ê¤ë¤Û¤É ed ¤ÎÁ°¿È¤Ç¤¹¤«¡£