2009-01-01ãã1å¹´éã®è¨äºä¸è¦§
anything ã®è¨å®ã§ã«ã¼ã½ã«ãã¼ã使ããªãã¦ãä¸ä¸ç§»åãã§ãããã㫠以ä¸ã®è¨å®ãæ¸ãã¦ããã®ã ãã©ããã¤ã®ã¾ã«ããããªããªã£ã¦ããã (define-key anything-map "\C-p" 'anything-previous-line) (define-key anything-map "\C-n" 'anything-next-lineâ¦
Cygwin ã®ãã¼ã¸ã§ã³ã¯ 1.7.1-1 git ã追å ããã ãã§ä»ã«ã¯ç¹ã«ä½ãè¨å®ãã¦ããªãç¶æ ã ãã®ç¶æ ã§ã³ãããã¡ãã»ã¼ã¸ã UTF-8 ã§æ¸ãããã ã¡ãã㨠git log ã§æ¥æ¬èªã表示ãããã 以åã¯cygwinã®gitã§utf-8ã®ãã¡ã¤ã«åã¨ã³ããã - ãã«ã²ã®ç¬ãè¨â¦
家ã§ä½¿ã£ã¦ã PC ããã¼ããããã¹ã¯ãããã«ããã®ã§ããã¼ãã¼ããæ°ããããã å³å´ã«ãã³ãã¼ã®ã¤ãã¦ããã¤ã ä»ã¾ã§ SAI ã§çµµãæãã¨ãã¯ãã¼ãã®å³å´ã«ãã³ã¿ããç½®ãã¦ã å³æã§ãã³ãæã¡å·¦æã§ãã¼ãã¼ãã·ã§ã¼ãã«ããã使ã£ã¦æãã¦ããã ã§ãâ¦
æ°ãã PC ã«ã¾ã XP ãå ¥ãã¦åããã¦ããã®ã ãã© ä»ã¾ã§æç¨ãã¦ãã Meadow ããã®ã¾ã¾æã£ã¦ã㦠cygwin ã® curl ãå ¥ããããããªãåãã¦ãããã .hatena ã使ãåããªãã£ãã®ãããã£ãã®ãããããªãã ãã£ã¨æéããããã¨æã£ã¦ããã©ããã£ãâ¦
.gitconfig ã«ä»¥ä¸ã®ããã«æ¸ãã¦ãã㨠git commit ããã¨ãã« Emacs ã§ã³ãããã¡ãã»ã¼ã¸ãæ¸ããã [core] editor = emacsclientw ããã§ãã³ãããã¡ãã»ã¼ã¸ã«æ¥æ¬èªãæ¸ã度㫠C-x RET f utf-8 ãã¦ããã³ããããã¦ããã ãã© æ¯åããã®ãé¢åã«ãªâ¦
ä»ã¯ãããªæãã®è¨å®ã§æºè¶³ãã¦ãã php ã®ã¤ã³ãã³ã㯠4 ãããã¡ã¹ã¿ã¿ãããªã®ã§ããã«å¾ã ã¿ãã使ããã©ããã¯ç¶æ³ã«ãã£ã¦ä½¿ãåãã¦ãã ;;; php-mode (require 'php-mode) (add-hook 'php-mode-hook '(lambda () (setq tab-width 4) (setq indentâ¦
javascript-mode ã®æåããããããªã£ã¦ãããç´ããã¨ãããã ãã© ããæ©ä¼ã ããã¾ã js2-mode ã試ãã¦ã¿ãã ããããããæãã ã£ãã®ã§ä»åº¦ããä¹ãæãããã¨ã«ããã js2-modeã使ãããããã - speg03ã®æ¥è¨ãåãããããã¾ã¨ã¾ã£ã¦ãã¦å¤§å¤å©â¦
å ¬å¼ã®ãã«ãã§ç´¹ä»ããã¦ããæ¹æ³ã¯å¤ããã¼ã¸ã§ã³ç¨ã®ãã®ã§ä½¿ããªãã 身è¿ã§ Firebug ã使ã£ã¦ãã人ã«èãã¦ãåã¨ã¯ãªãã ãæåãéãã ã ããã§ãã©ããããããã®ãããåãããã«å°ã£ã¦ããã ã§ãä»æ¥ã¤ãã«è§£æ±ºãããï¼ å ·ä½çãªæé ã¯ãããªæâ¦
ã§ãã©ããã¦ä½¿ããããã«ãªã£ãã®ããµãããªåããã⦠ãã£ã¨åã« hatena-mode 使ãåºããã¨ããã¨ãã åããããªæãã§ä½¿ããªãã£ããã ããªã¼ã å¬ãããã©ã¹ãããªããªãã ã¾ãåããããªãã¨ã«ãªã£ããã©ãããã (´ã»Ïã»ï½) ã¨ããããæå¾ãã¾ããâ¦
ãã¤ãªã¹ãã®ãã¤ãªã¹ãããã£ããããã®ã«ãªã¼ã¨ åããæã£ã¦ããã®ã§ä½ã£ã¦ã¿ã¾ããã ãã¤ãªã¹ãã®ãã¤ãªã¹ãã ãããã¡ã¿ãã¤ãªã¹ãã§ãã ããã£ãã使ã£ã¦ã¿ã¦ä¸ããã ãã¦ã³ãã¼ãã¯ãã¡ãããã©ããã NicoVideo MetaMyList for Greasemonkey 使ãâ¦
extract_colorcodes_from_aco.rb binary_file = 'test.aco' color_num = 0 colorcodes = [] open(binary_file, 'rb') {|f| f.getc; f.getc # 0001 ãèªã¿é£ã°ã color_num = 256 * f.getc + f.getc # è²æ° p color_num until f.eof? colorcode = "" f.getc; â¦
display_binary_file.rb binary_file = 'test.aco' decimal_mode = false #decimal_mode = true item_num = 0 open(binary_file, 'rb') {|f| until f.eof? if decimal_mode print "%5d" % (f.getc * 256 + f.getc) else print "%02x%02x" % [f.getc, f.getc]â¦