ãµãã« Chrome ã® JS å¦çç³»ãã³ãã³ãã©ã¤ã³ããå®è¡ããããªã£ãã®ã§å ¥ãã¦ã¿ããã¨ã«ããã ï¼Chrome ã®ã³ã³ã½ã¼ã«ããããããããªãã¨ããã°ãããªãã®ã ãã©â¦ãï¼v8 ã®ãã«ãã«ã¯ SCons ã¨ãããã«ããã¼ã«ãå¿ è¦ãããã®ã§ãããå ¥ããå¿ è¦ãããã â¦
ãWEB+DB PRESS 62ãã®ç¹éãLinux ã®åºç¤ç¥èããèªãã§ã ãã¼ã«ãã³ã§ãã§ãã¯ãã¦ãããè¦ãã¦ãããããã¨ãããã°ã«ãæ¸ãã¦ããã è¦ãã¦ããããã³ãã³ãã®ä¸è¦§ ã³ãã³ã 解説 ZZ ä¿åãã¦çµäº w 次ã®åèªã«ç§»å b åã®åèªã«ç§»å ^ è¡é ã«ç§»å $ è¡â¦
ãã©ã³ãã®ãµã¤ãºã¨å¤§ãããã¬ã¤ã¢ã¦ãã®å¹ ãåºãåãããã«ããã ããã§å°ãè¦ããããªãããªï¼ before .day { font-size: 80%; } #simple-header { max-width: 910px; } h1 { max-width: 910px; } .hatena-body { max-width: 910px; } after .day { font-â¦
Unix ã®æ¹è¡ã³ã¼ã '\n' ããWindows ã®æ¹è¡ã³ã¼ãã« '\r\n' å¤æããã«ã¯ä»¥ä¸ãå®è¡ããã°ããã $ tr '\n' '\r\n' < unix.txt > win.txt 以ä¸ã§ãåãçµæãå¾ããããã©ãä¸è¿°ã®æ¹æ³ã®æ¹ãå¿ç¨ãå©ãã $ tr -d '\r' < unix.txt > win.txt
homebrew ã§å ¥ããã $ brew install postgresql 9.1.3 ãå ¥ã£ãã $ brew list postgresql /usr/local/Cellar/postgresql/9.1.3/bin/vacuumlo /usr/local/Cellar/postgresql/9.1.3/bin/vacuumdb /usr/local/Cellar/postgresql/9.1.3/bin/reindexdb /usr/locâ¦
Terminal ã§ãwhich rubyãããã¨ã/Users/gan2/.rbenv/shims/rubyãã¨è¡¨ç¤ºãããã Emacs ã§ãM-! which rubyãããã¨ã/usr/bin/rubyãã¨è¡¨ç¤ºãããã åãããã®éããä½ã¨ããããã¨æã£ã¦ããããé¡ãã ãã Emacs ã§ã rbenv ã®æ¹ãè¦ã«è¡ã£ã¦ä¸ãããâ¦
ããã¹ãé§å JavaScriptããè²·ã£ãã®ã§èªãã§ããã®ã ãã©ããã®æ¬ãéãã¦ä½¿ã JsTestDriver ãåããªãã¦å°ã£ã¦ããã ã»ããã¢ããã¯åé¡ãªãçµãã£ã¦ãã¦ããã¹ããã¡ã¤ã«ãå¿ è¦ã¨ããªãç¶æ ã§ã¯åé¡ãªãåä½ããã $ java -jar ~/bin/JsTestDriver-1.2â¦
Windows ã§ã¯ããã©ã¦ã¶ã§ãªã³ã¯å ãæ°è¦ã¿ãã§éãããã¨ãã¯ããControl + å·¦ã¯ãªãã¯ãã使ãã MacbookAir ã§ã¯ãControl ã®ä»£ããã«ãCommand + å·¦ã¯ãªãã¯ãã使ãã ã§ããCommand ãæ¼ãæ¹ã«ã¯ã©ãã«ãæ £ããªãã¦å«ã ã£ãã®ã§ã KeyRemap4MacBook ã®â¦
åã¯æ®æ®µ howm ã使ã£ã¦ã以ä¸ã®ãããªè¡¨è¨ã§ Todo ã管çãã¦ããã * { } ããã㨠* {*} ãã£ããã¨ããã¦ãèªä½ã®é¢æ°ã使ã£ã¦ãä¸è¨ã®ãããªè¡¨è¨ãããè¡ã§ã¯ã C-t ãæ¼ããã³ã« { } 㨠{*} ãåãæ¿ããããã«ãã¦ããã ãã®ã¨ã³ããªã¯ãã®èªä½é¢æ°â¦
å°ãè¿·ã£ããã©ãçµå±ã®ã¨ããã¯ä»¥ä¸ãåèã«ãã¦ã¿ã¼ããã«ãã refe ãå©ããããã«ãªã£ãã http://d.hatena.ne.jp/ruedap/20110426/vim_ref_plugin_ruby_reference_search_tool_refe2 ãã£ã¬ã¯ããªæ§æãªã©ããã¾ãæ©ã¾ãä¸è¨ã¨åãã«ãã¦ãããã Windoâ¦
Macbook Air ã«ããã©ã«ãã§å ¥ã£ã¦ããã®ã¯ 1.6 ã ã£ãã®ã ãã©ã æç¨ã§ 1.7 ãå¿ è¦ã«ãªã£ãã®ã§ãã£ã¡ãæ°ããå ¥ãã¦ã¿ãã Java ã OSX ãå ¨ç¶åæãåãã£ã¦ããªãã®ã§ãã£ããæãã¥ã£ãã®ã§ã ã¨ããããããããã°å ¥ããï¼ã¨ããæé ã以ä¸ã«æ®ãã¦ãâ¦
以ä¸ã®ãµã¤ãã§ç´¹ä»ããã¦ããæ¹æ³ã§ä½¿ããããã«ãªã£ããããããããããããã [移転ãã¾ãã]Carbon Emacsã«migemoã¤ã³ã¹ãã¼ã«[追è¨ãã]: ãã©ã¹Î±ç©ºé(è·¡å°) ãã ããruby1.9 ã使ã£ã¦ããããã« configure ã§ãããã åã¯æ°æ¥åã«ã¨ãããã rbenv â¦
WEB+DB PRESS ç·éç·¨ã«ã¤ãã¦ã DVD ãããpdf ã iPhone ã«å ¥ãã¦ãGoodReader ã§èªãã§ããã å ¨ç¶ä½¿ãããªãã¦ããªã GitHub ãæå¹æ´»ç¨ã§ããããã«ãªãããã¦ã æãµã©ãµã©ã¼ã£ã¨ããèªãã§ããªãã£ãã®ãä»åº¦ã¯ãã£ããèªã¿è¿ãã¦ããã ãã®è¨äºã®èâ¦
ãããä¹ ãã¶ãã®ãã¹ãã emacs ã®è¨å®ãã¨ãããã移ããã hatena-mode ã§ãã¹ããã§ããããã«ãªã£ãã®ã§ã ã¾ãæ¥è¨æ¸ãã¦ãããã¨æãã å®ã¯ Windows7 ããä½åº¦ããã¹ããããã¨ãããã¨ããã£ãã®ã ãã©ã hatena-mode ããã¾ãåãã¦ãããªãç¾è±¡ãâ¦
ããã«ä»¥ä¸ã®ãã㪠elisp ãæ¸ãã¦ãã°ããçµã¤ã®ã ãã©ã å®éã«ã¯ elscreen-howm ã®åé¤æ©è½ã常ç¨ãã¦ããã ;; ä¸è¦§è¡¨ç¤º(C-c , a )㧠d ããã¨ãã¡ã¤ã«ãåé¤ (define-key howm-view-summary-mode-map "d" 'delete-howm-file) (defun delete-howm-file â¦
id:rubikitch ããã® open-junk-fileã§éããããã¡ããelscreen ã®æ°ããã¹ã¯ãªã¼ã³ã§éãããã«ããã (defun open-junk-file () (interactive) (let* ((file (expand-file-name (format-time-string "%Y/%m/%Y-%m-%d-%H%M%S." (current-time)) "~/My Dropâ¦
Dropbox ã¯ä¾¿å©ãDropbox ã¯å大ã .emacs ã®åæã¯ãã£ã¨ããããããã¨æãã¤ã¤ãæ¾ç½®ãã¦ãã¦ããã*1 ã§ãããããéãè °ãä¸ãã¦åæããã®ã§ã¡ã¢ãã¦ããã*2 ãã¹ã¯ãããã¯å®¶ã§ä½¿ã£ã¦ããã¤ã§ããã¼ãã¯å¤ã§ä½¿ã£ã¦ããã¤ã .emacs ã¯å¤§ä½ä¼¼ããããªâ¦
ããå«ã â¦ãã°ãã使ããªãã§ç½®ãã¨æ¯å使ããªããªãâ¦ã ããã¦ãã®åº¦ã«ãããªãã®æéãããã¦ãã¤ã®ã¾ã«ã使ããããã«ãªãã ãããããã©ã¹ãããªããªãã ãã£ã¨å ¨ç¶æããããªãã¨ããã«åå ããããã ãããªãã ããããããä¸åº¦ã¯ã¦ãã©ä½¿ã£ã¦ã¿ãâ¦
hatena-mode ã§ãM-x hatena-get-webdiary ãã¦éå»ã®æ¥è¨ãåã£ã¦ãã¦ã ããã¤ã utf-8-unix ã§ãã¹ãããã¨ããã©ã¦ã¶ã§è¦ãã¨ãã«æååããã¦ããMeadow ã§ãã¡ã¤ã«ãéããã¨ãã«ã èªåçã« utf-8-unix ã«å¤æããããã«ãã¦ããã®ã ãã©ããã®è¨å®ãâ¦
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; â¦