¥È¥Ã¥× «Á°¤ÎÆüµ­(2007-03-01) ºÇ¿· ¼¡¤ÎÆüµ­(2007-03-03)» ÊÔ½¸

¤Ï¤¸¤á¤Æ¤Î¤Ë¤­

¤³¤³¤Î°ÌÃÖÉÕ¤±

2004|11|
2005|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|09|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|07|08|09|10|11|12|
2017|01|02|03|04|05|06|07|08|09|10|11|12|
2018|01|02|03|04|05|06|07|08|09|10|11|12|
2019|01|02|03|04|05|06|07|08|09|10|11|12|
2020|01|02|03|04|05|06|07|08|09|10|11|12|
2021|01|02|03|04|05|06|07|08|09|10|11|12|
2022|01|02|03|04|05|06|07|08|09|10|11|12|
2023|01|02|03|04|05|06|07|08|09|10|11|12|
2024|01|02|03|04|05|06|07|08|09|10|11|

ToDo:


2007-03-02

_ ¤Ä¤Ê¤¬¤ê¤Þ¤·¤¿

http://d.hatena.ne.jp/w_o/20070223#c1172261767

ÉáÄ̤ËÆɤó¤Ç¤Ê¤«¤Ã¤¿¡£ ¤Þ¤¡ wo ¤µ¤ó¤Îµ­½Ò¤Ï¤Ê¤á¤ë¤è¤¦¤ËÀµºÂ¤·¤ÆÆɤßÊÖ¤¹¤È¤¤¤¦ ËͤÎÀ­Êʤ˵ߤï¤ì¤¿¡£

¤¢¤ÈÀµµ¬É½¸½¤â format ¤â²¶ Turing complete ¤Ç¤Ï¤Ê¤¤¡£ ´Ö°ã¤¤¤Ê¤¯¥ê¥¢¥ë Turing Complete ¤Ç¤â¤Ê¤¤¤³¤È¤Ç¤¢¤í¤¦¡£

¤¢¤È¤à¤·¤íÀµÂ§Ê¸Ë¡¤ÊÀµµ¬É½¸½¤È¤¤¤¦¤Î¤Ï¤É¤³¤Ë¤¢¤ë¤Î¤À¤í¤¦¤«¡£

(04:58)

_ ¤É¤Ç¤â¤¤¤¤¤±¤É

infix ¤Ã¤Æ

a+(b+c)

¤Ã¤Æ¤¤¤¦ÆþÎϤ¬Ìµ¤¤¤Î¤¬Í¥¤·¤µ¤À¤è¤Í

(05:00)

_ iTermʸ»ú²½¤±

¤Ê¤¼¤«²ò¾Ã¡£

¤Ê¤ó¤« iTerm ½¤Àµ¤·¤è¤¦¤È Terminal.app ¤Ç¤Û¤²¤Û¤²¥â¡¼¥É¤ËÆþ¤Ã¤¿¤é¡¢ screen ¤¬Æ°¤«¤ó¤¯¤Ê¤Ã¤¿¤«¤éÉÔ¿³¤À¤Ê¡¼¤È»×¤¤¤Ä¤Ä screen -m ¤È¤«¤Çµ¯Æ°¤·¤¿¤é²ò¾Ã¤·¤Æ¤¿¡£

¤Ç¤â¥Ð¥¤¥Ê¥ê¤Ç½¦¤Ã¤Æ¤­¤¿¥ä¥Ä¤¸¤ã¥À¥á¤Ç¡¢ ¼«Ê¬¤Ç¥³¥ó¥Ñ¥¤¥ë¤·¤¿¥ä¥Ä¤À¤±Âç¾æÉס£ ¤è¤¯¤ï¤«¤é¤ó¤±¤É make Deployment ¤·¤Æ¤½¤ì¤ò»È¤¦¤è¤¦¤Ë¡£

·ëÏÀ¤ò¸À¤¦¤È¤ï¤¤¤ï¤¤

(06:04)

_ ¤Ê¤ó¤À

chardet ¤Ï¤Á¤ã¤ó¤È¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¿¤Î¤Í¡£ mod_python Æ°¤¤¤¿¡£

(06:10)

_ ¤Ê¤ó¤Ç T-T

¤·¤Ð¤é¤¯¤·¤¿¤é¤Þ¤¿²½¤±¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¤ª¤«¤·¤¤¡Ä

ËÜÅö¤Ë²¿¤â¤·¤Æ¤Ê¤¤¤Ï¤º¤Ê¤Î¤À¤¬¡£ window ¤È¤« screen ¤È¤«ÊĤ¸¤Æ¤Ê¤¤¤·¤Ê¤¡¡£Ææ

(06:27)

_ ¤Þ¤¡

¤À¤¤¤Ö¥Þ¥·¤Ç¤Ï¤¢¤ë¡£

hjkl °ÜÆ°»þ¤¬¤è¤¯¤Ê¤¤¤è¤¦¤À¡£ ¥«¡¼¥½¥ëºÆÉÁ²è¤È¤¤¤¦¤«¡£

¤¿¤Ö¤ó¸«¤Æ¤Æ»×¤¦¤Î¤À¤±¤É»°¤Ä²½¤±¤«¤¿¤¬¤¢¤ë¡£

¤ó¡¢ºÆÉÁ²è¤¬¥À¥á¤Ê¤é¤â¤¦ÉÁ²è¤ä¤á¤Æ¤â¤é¤¨¤Ð¤¤¤¤¤«

(06:30)

_ ¤¦¤à´°àú

¥ß¥Ã¥·¥ç¥ó¥³¥ó¥×¥ê¡¼¥È¡£

(06:33)

_ adhoc¤Ê½¤Àµ

VT100Screen.m ¤Ë¤Æ¡£

//		if (sc[i]>0xa0 && [NSString isDoubleWidthCharacter:sc[i] encoding:encoding]) 
		if (sc[i]>0x80)

¡ù¤¬¸«¤¨¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¤ï¤¢¢ö

¤Ç¤â¤³¤³¤Þ¤Ç»¨¤À¤ÈȾ³Ñ¥«¥Ê¤È¤«¥ä¥Ð¤¤¤«¤Í¡£

(06:51)

_ =?SHIFT_JIS?Q?=94=BC=8Ap=CE=B9=DE?=

(06:51)

_ ¤Ê¤ó¤«

_ =?SHIFT_JIS?Q?=94=BC=8Ap=CE=B9=DE?=

(06:51)

ÏÀ³°¤À¤Ê¡£ ¤Æ¤¤¤¦¤«¤³¤ìüËö¤ÎÌäÂꤸ¤ã¤Ê¤¯¤Æñ¤Ë¥á¡¼¥ë¥µ¥Ö¥¸¥§¥¯¥È¤ÎÌäÂ꤫

¤Þ¤¡¤â¤¦È¾³Ñ¥«¥Ê¤È¤«Ëº¤ì¤è¤¦¡£

¤¦¡¼¤ó¤·¤«¤· w3m ¤¬²½¤±¤Ê¤¤¤Î¤Ï²÷Ŭ¶Ë¤Þ¤ê¤Ê¤¤¤Ê

¤È»×¤Ã¤¿¤é¤Þ¤¿Ê¸Æ⤬²½¤±¤ë¥¿¥¤¥×¤Î¥ä¥Ä¤¬½Ð¤Æ¤ë¡£ ¤Þ¤¡¤³¤ì¤ÏÉÑÅ٤Ϲ⤯¤Ê¤¤¤· ^l ¤ÇÂбþ¤Ç¤­¤ë¤±¤É¡£

(06:56)

_ cmigemo

1.2 ¤Ë¥Ð¡¼¥¸¥ç¥ó¥À¥¦¥ó¡£¤Ê¤ó¤«¤³¤Ã¤Á¤ÎÊý¤¬¤Ê¤¸¤ó¤Ç¤¿¤ó¤À¤è¤Ê

(07:39)

_ top

³Ð¤¨¤é¤ì¤ë¤È»×¤¨¤Ê¤«¤Ã¤¿¤Î¤Ç alias

alias topm='top -o vsize'
alias topc='top -o cpu'

(07:46)

_ NSImage ¤ò Quarts2D ¤ÇÊÑ´¹

ꤤ¬»ß¤Þ¤ë¤Û¤ÉÃÙ¤¤¤Ê¡£

SDL_image »È¤Ã¤Æ¤¤¤¤¤Ç¤¹¤«

(08:16)

_ ¥Õ¥¡¥¤¥ë½ñ¤­¹þ¤à»Ò¤¬

¤Ì¡¼¤ó¤½¤í¤½¤íÂкö¤·¤Ê¤¤¤È¤Ê¤¡¡£ C# ¤¬ $HOME/.wapi ¤È¤«¤Î½ñ¤­¹þ¤ß¤òÍߤ·¤Æ¤¤¤ë¤ó¤À¤è¤Ê¡£ ¤Þ¤¡ËÜÅö¤Ë¤³¤ì¤À¤±¤Ê¤é¤¹¤°¤Ê¤ó¤È¤«¤¹¤ë¤ó¤À¤±¤É¡¢ ¤Þ¡¼¥Æ¥¹¥È¤¹¤ë¥Ä¡¼¥ë½ñ¤¤¤Æ¤«¤é¤Ã¤Æ¤È¤³¤À¤Ê¤¡¡£ ¤¢¤È /tmp ¤Î¸ºß¤òÁ°Äó¤È¤·¤Æ¤ë¸À¸ì´Ä¶­¤È¤«¤ë¤È¥¤¥ä¤À¤·¡£

¤¢¤È¥ß¥¹¤Ã¤Æ FizzBuzz ¤Ë¤Ë¤Ï¤µ¤ó¤Î¤ò²þÁ±¤·¤¿¥ä¥ÄÅꤲ¤Á¤Þ¤Ã¤¿¥¹¥Þ¥Ì¤Ë¤Ï¤³¡£

(11:27)

_ iTerm

´°àú¤Ê½¤Àµ¤¬¤Ç¤­¤¿¤È»×¤¦¡£ ÌäÂêÅÀ¡£

  • EUC-JP ¤Ç screen Ê»ÍÑ»þ¤Ë¡¢¿§¡¹ # ¤Ë²½¤±¤ë(UTF8¤â¤Á¤ç¤Ã¤È¸«¤¿¤±¤É¤â¤Ã¤È¤Ò¤É¤«¤Ã¤¿¤è¤¦¤Ê)
  • iTerm ¤Ïʸ»ú¥³¡¼¥É½èÍý¤Ë̵¿ô¤Î¥Ð¥°¤¬¤¢¤ë(Î㤨¤Ð¤½¤â¤½¤â decode_euc_jp ¤¬»È¤ï¤ì¤Æ¤Ê¤¤¤È¤«)
  • # ¤Ë²½¤±¤ë¤Î¤ÏÆó¼ïÎà¤Ç¡¢¥Ð¥Ã¥Õ¥¡¤¬ÅÓÃæ¤ÇÀÚ¤ì¤Æ 2Byte ÌܤÎÍî¤Á¤¿¥Ç¡¼¥¿¤¬¥­¥å¡¼¤ËÍè¤ë¾ì¹ç¤È¡¢¥«¡¼¥½¥ë°ÜÆ°»þ¤Ë 1B ¤À¤±¤Î EUC-JP ʸ»úÎó¤òÁ÷¤Ã¤Æ¤·¤Þ¤¦¸½¾Ý¤ÎÆóÅÀ¡£

¤È¤¤¤¦¤ï¤±¤Ç¡¢

  • decode_euc_jp ¤ËÆþ¤ë¤è¤¦¤Ë¤·¤Æ
  • euc_jp ¤Î 2Byte Ìܰʹߤâ¤Á¤ã¤ó¤È¥Á¥§¥Ã¥¯¤¹¤ë¤è¤¦¤Ë¤·¤Æ
  • data ¤¬ 1B ¤À¤±¤Î¾ì¹ç¤Ï¼¡¤ÎÆþÎÏÂÔ¤Á¤ËÆþ¤Ã¤Æ(¸å³¤È¤Ä¤Ê¤¬¤ì¤Ð¤Þ¤È¤â¤ÊEUC-JP¤Ë¤Ê¤ë¤«¤â¤·¤ì¤Ê¤¤)
  • ¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ïʸ»ú²½¤±É½¼¨¤â¤»¤º¤Ë¥Ð¥Ã¥Õ¥¡¤ò 1B ¼Î¤Æ¤ë
  • 2Byteʸ»ú¤òȾʬ¼Î¤Æ¤¿¤¬¤ë·¹¸þ¤¬¤¢¤ë¤Î¤Ç¡¢¤½¤Î¤Ø¤ó¤Î¥í¥¸¥Ã¥¯¤Á¤ç¤Ã¤È½ñ¤­´¹¤¨¤¿(¤³¤³¤¿¤Ö¤ó EUC-JP °Í¸)

¤Ã¤Æ´¶¤¸¤Ç¤¦¤Þ¤¯¤¤¤Ã¤¿¡£¤Ê¤ó¤«Â¾¤Ë¤â¥Ð¥°¤Ý¤¤¤Î¤¢¤Ã¤¿¤«¤é½¤Àµ¤·¤¿µ¤¤¬¤¹¤ë¡£ ¤Þ¤¡ decode_euc_jp ¤Ë¤ï¤ê¤È¤ª¤µ¤Þ¤Ã¤Æ¤ë¤Î¤Ç¡¢º£Å٥ѥåÁ½ñ¤¯¤ÈÎɤ¤¤È»×¤¦¡£

(12:17)

_ ¤½¤³¤Ç

D ¤òį¤á¤Æ¤ß¤ë¤Î¤Ç¤¹¤è¡Ä!

http://d.hatena.ne.jp/Cryolite/20070302#p1

mixin ¤Ë¤è¤ëʸ»úÎó¤Î¥³¥ó¥Ñ¥¤¥ë¥¿¥¤¥à eval ¤È¡¢ typeof ¤À¤Î is ±é»»»Ò¤¬¤¢¤Ê¤¿¤ò¤ï¤±¤Î¤ï¤«¤é¤Ê¤¤À¤³¦¤Ø

(12:19)

_ ¤¦¤ª¤ª

iTerm ¤¬´°àú¤À!!! Á´¤¯²½¤±¤Ê¤¤¤è¤ª¤«¡¼¤Á¤ã¤ó

(12:30)

_ ¤à

convert ¤Ã¤Æ¤« ImageMagick Æþ¤Ã¤Æ¤ë¡£ ¥³¥¤¥Ä»È¤¦¤Î¤¬°ìÈ֥饯¤«¤â¤·¤ì¤Ê¤¤¤Ê¡£

¤Ì¡¼¤ó fink ¤Ã¤Ý¤¤¡£

¤ó¡¼¤Æ¤« w3mimg -size ¤¬¤¨¤é¤¤·«¤êÊÖ¤·¸Æ¤Ð¤ì¤Æ¤¤¤ë¤È¤¤¤¦¤« ¤³¤³¤¬¥Ð¥°¤Ã¤Æ¤ó¤ë¤ó¤¸¤ã¤Í

(12:49)

_ ¤È¤ê¤¢¤¨¤º

size ¤Î·ï¤Ï½¤Àµ¡£ -size ¤Ç¸Æ¤Ð¤ì¤ë¤¿¤Ó¤Ë²èÁü¥Õ¥©¡¼¥Þ¥Ã¥ÈÊÑ´¹¤È¤«¤·¤Æ¤¿¡£

(12:58)

_ ¤Ï¤Æ¤Ê¤°¤ë¡Á¤×¤Î¥È¥Ã¥×³¨

8bpp ¤ß¤¿¤¤¤À

(13:11)

_ double buffering

Cocoa¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤ä¤Ã¤Æ¤ë¤é¤·¤¤

(13:42)

ËÜÆü¤Î¥Ä¥Ã¥³¥ß(Á´5·ï) [¥Ä¥Ã¥³¥ß¤òÆþ¤ì¤ë]
_ ¤¢¤í¤Ï (2014-05-24 01:12)

Ëͤâ wo ¤µ¤ó¤Îµ­½Ò¤À¤±¤Ï¡¤Äê´üŪ¤Ë²¿ÅÙ¤âÆɤßÊÖ¤¹À­Êʤ¬¤¢¤ê¤Þ¤¹¡¥¤¢¤È perl ¤Î Rules ¤ä format ¤ËÂФ¹¤ë turing complete ¤Î·ï¤Ï¡¤¤â¤Á¤í¤ó¸ÀÍդΥ¢¥ä¤È¤¤¤¦¤«¡¤¤¢¤ë¼ï¤ÎÙèÙé¤Ç¤¹¡¥

> ÀµÂ§Ê¸Ë¡¤ÊÀµµ¬É½¸½

¸Å¤­Îɤ­½ã AWK ¤È¤«¤Ï¡¤¤Þ¤µ¤·¤¯ regular exp ¤À¤Ã¤¿¤è¤¦¤Êµ¤¤¬¤·¤Þ¤¹ (¼ã´³¤Ï³ÈÄ¥¤µ¤ì¤Æ¤ë¤«¤â ?)¡¥

Ǥ°Õ¤Îʸ»ú½¸¹ç (¶õʸ»ú¤ä '^'¡¤'$'¡¤'.' ¤â´Þ¤à¤È¤·¤Æ) ¤È¡¤¤¢¤È¤Ïµ¢Ç¼Åª¤Ë + ¤È * ¤ÈÀµµ¬É½¸½¤ÎʤӤȳç¸Ì¤À¤±¡¥

[ʸ»úÎó] ¤È¤«¤Ï¥·¥ó¥¿¥¯¥¹¥·¥å¥¬¡¼¤Ê¤Î¤ÇÎɤ¤¤È¤·¤Æ¡¤Ä¾Á°¤ÎÀµµ¬É½¸½¤òɽ¤¹ ? ¤ß¤¿¤¤¤Ê¡¤¥á¥¿ÊÑ¿ôŪ¤Ê¹½Ê¸¤¬Æþ¤Ã¤Æ¤¯¤ë¤È¡¤¤Þ¤¿Èù̯¤Êµ¤¤â¤·¤Þ¤¹¤¬¡¥

_ shinh (2014-05-24 01:12)

¼ÒĹ¤Î¤Ï¤Æ¤Ê¤Ï¤ß¤ó¤Ê¤Î¥Ð¥¤¥Ö¥ë¤Ç¤¹¤Í¡£

> awk

¤Ê¤ó¤«º£¤À¤È sed ¤È¤« grep ¤µ¤¨¸åÊý»²¾È¤Ç¤­¤ë¤ó¤Ç¤¹¤è¤Í¤§¡£

_ k.inaba (2014-05-24 01:12)

°Õ³°¤Ê¤è¤¦¤Ê¤½¤¦¤Ç¤Ê¤¤¤è¤¦¤Ê¤È¤³¤í¤Ç¡¢D¤Îstd.regexp¤¬¸åÊý»²¾È¤Ç¤­¤Ê¤¤¸Å¤­Îɤ­regular exp¤Ç¤¹¤Í

_ ¤­¤à¤é (2014-05-24 01:12)

awk¤ÎÀµµ¬É½¸½¤Ïegrep¤ÈƱ¤¸¤Ç¤¹(KernighanÇî»Î·Ðͳ¤ÇAhoÇî»Î¤Ë³Îǧ¼è¤ì¤Þ¤·¤¿)¡£¤Ç¡¢egrep¤Î¼õ¤±ÉÕ¤±¤ëÀµµ¬É½¸½¤Ïgrep¤ÈÈù̯¤Ë°Û¤Ê¤ê¤Þ¤¹¡£¤¿¤È¤¨¤Ð¸åÊý»²¾È¤¬»È¤¨¤Þ¤»¤ó¤¬¡¢ÁªÂò¤È'?'¤¬»È¤¨¤Þ¤¹¡£
¤³¤ÎÊÕ¤Ïegrep¤¬AhoÇî»Î¤ÎÏÀʸ¤ò¸µ¤ËDFA¤ò»È¤Ã¤¿¼ÂÁõ¤Çºî¤é¤ì¤¿¤«¤é¤Ç¤Ï¤Ê¤¤¤«¤È»×¤¤¤Þ¤¹¡£
¸åÊý»²¾È¤¬¤¤¤Ä¤´¤í¤«¤é¤¢¤ë¤Î¤«¤ÏÉÔÌÀ¤Ç¤¹¤¬¡¢sed¤ÎÀ®Î©¤·¤¿»þÅÀ¤Ç¤Ï¤¹¤Ç¤Ë¤¢¤Ã¤¿¤«¤È¡£
»þ·ÏÎó½ç¤Ëʤ٤ë¤ÈQED¢ªED¢ªgrep¢ªsed¢ªegrep¢ªawk¤Ç¤¹¡£¤¿¤Ö¤ó¡£

_ shinh (2014-05-24 01:12)

> D

¤¢¡¼¤½¤¦¤¤¤¨¤ÐÉÔÊؤÀ¤Ê¤È»×¤Ã¤¿¤è¤¦¤Êµ¤¤â¡£

> awk

¤Û¤¨¡¼Î©ÇɤÊÎò»Ë¤¬¡£¤ï¤¶¤ï¤¶°Î¤¤¿Í¤Ë³Îǧ¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£

QED ¤Æ¤Ê¤ë¤Û¤É ed ¤ÎÁ°¿È¤Ç¤¹¤«¡£

¤ªÌ¾Á°:
E-mail:
¥³¥á¥ó¥È:
¿ÍÀ¸¡¢±§Ãè¡¢¤¹¤Ù¤Æ¤ÎÅú¤¨
ËÜÆü¤Î¥ê¥ó¥¯¸µ

Á° 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
1.shinh(2014-05-24 01:12) 2.¤¢¤í¤Ï(2014-05-24 01:12) 3.k.inaba(2014-05-24 01:12)
search / home / index

Á´¤Æ¥ê¥ó¥¯¥Õ¥ê¡¼¤Ç¤¹¡£ ¥³¡¼¥ÉÊҤϼ«Í³¤Ë»ÈÍѤ·¤Æ¤¤¤¿¤À¤¤¤Æ¹½¤¤¤Þ¤»¤ó¡£ ¤½¤Î¾¤Î¤â¤Î¤ÏGPL°·¤¤¤Ç¤¢¤ì¤Ð¤¢¤é¤æ¤ë»ÈÍѤ˴ؤ·¤Æʸ¶ç¤Ï¸À¤¤¤Þ¤»¤ó¡£ ¤Ê¤Ë¤«¤¢¤ì¤Ð²¼µ­¥á¡¼¥ë¥¢¥É¥ì¥¹¤Ø¡£

shinichiro.hamaji _at_ gmail.com / shinichiro.h