2010-01-01ãã1å¹´éã®è¨äºä¸è¦§
â»ä¸è¬åãã¦ä¾ãåºããããã©ã¡ãã£ã¨é¢åãªã®ã§ãPHP_CodeSnifferã«éã£ãä¾ãåºãã¾ãã è¦åã¯åºããããã©ERRORã»ã©ã§ã¯ãªããã£ã¦ã¨ãã«WARNINGã«ãããã®ã ãã©ã PHP_CodeSnifferèªä½ã«ããããæ©è½ãç¡ãã®ã§ãèªåã§ä½ã¨ãããªãã¨ãããªããä½ãèâ¦
ãããã£ã¬ã¯ããªã«åå¨ãããã£ã¬ã¯ããªä¸è¦§ãåå¾ããä¾ã
; windows ã·ã§ã¼ãã«ãããæå¹ã«ãã ; http://www.emacswiki.org/emacs/w32-symlinks.el ; ntemacs ã ã¨ä½¿ããªãã½ã ;(setq w32-symlinks-handle-shortcuts t) ;(require 'w32-symlinks) åãããã«æ©ãã§ãã¦ã¨ããããç¡çãã解決ããã®ã§è¼ãã¦ããâ¦
æ¥æ¬èªå ¥åã«é¢ãã¦ãè¯ãã£ããããã£ã¨ä½¿ã£ã¦ã¦ã"ããã"ã§å¤æããã¨"2010/12/18"ã¨ã"å¹³æ22å¹´12æ18æ¥"ã«ãªã£ããã¨ãã¯ç¥ã£ã¦ããã©ã "ï¼ï¼"ãå¤æããã¨"0x2a"ã"052"ã"0b101010"ãå¤æåè£ã«åºããã¨ãç¥ã£ãã ä»ã¾ã§é¢æ°é»åã¨ãã¯ã³ã©ã¤ãã¼ã¨â¦
Linuxã§ä½¿ããã¯ã¬ã¼ã¸ã¼ãªå°æã³ãã³ããããã | IDEA*IDEA mv filename.{old,new}mvã®æ©è½ã ã¨åéããã人ãããããç¥ããªãã®ã§è£è¶³ã {}ã«ã«ã³ãåºåãã®æååãå ¥ãã¨ãã¨ãã·ã§ã«ã{}åå¾ã®æååããã£ã¤ããªããå±éãã¦ãããã®ã§ãããã¡ã¤ã«â¦
ãã®ã£ã£ã£ã£ã£ãããä¹ ãã¶ãã«Javaæ¸ãã¦ãid:holidays-lã§ãã "public static void main"ã®å¼æ°"String[] args"ãå¿ãã¦é ã®ä¸ãï¼ã«ãªããããä¹ ãã¶ãã§ãã æ´ã«è¨ãã¨ãCLASSPATHã ã£ãï¼JAVA_CLASSPATHã ã£ãï¼CLASS_PATHï¼ï¼ï¼ã¿ãããªãã¨ã«ãªã£â¦
ï¼ããï¼ã¯ç¢ºãã«HTMLã¨ã¹ã±ã¼ãããªãã¦ããããã ãã©ãï¼ããï¼ã«äºæãã¬"]]>"ãç¾ããã¨ããã§CDATAã»ã¯ã·ã§ã³ãçµãã£ã¦ãã¾ãã ã ããï¼ããï¼ã«"]]>"ã¨ããåé¢ãç¾ããªãããã«ããªãã¨ãããªãã®ã§ã å ¨ã¦ã® ]]> ã ]]]]> ã«ç½®ãæããã åæã®â¦
Googleæ¥æ¬èªå ¥åã¨MS-IMEã®åãæ¿ãæ©è½ãå®å ¨ã«OFFã«ããæ¹æ³ | ã©ã¤ãããã«ã¼ï¼»æ¥æ¬çï¼½ ä¸æ¹ç§ã¯MS-IMEãåé¤ããã
æ®éGROUP BYããã¨ãã«ã¯ãã¾ã¨ããããã¬ã³ã¼ãã®ãã¡ã©ããï¼ã¬ã³ã¼ãã ããåãã¾ãã GROUP_CONCATã使ãã¨ãï¼ã¬ã³ã¼ãã§ã¯ãªãã¦å ¨ã¬ã³ã¼ããé£çµããå¤ãåãåºãã¾ããMySQL :: MySQL 5.6 ãªãã¡ã¬ã³ã¹ããã¥ã¢ã« :: 12.19.1 GROUP BY (éç´) é¢æ° â¦
ããã¸ã§ã¯ãã大ãããªãã¨findãéããªãã®ã§ãlocate使ãã¾ããããã§ãã¡ãã£ã¨å°ã£ããã¨ãããã®ã§ãã®è©±ããã¾ãupdatedbã§ãã¡ã¤ã«ä¸è¦§ã®ãã¼ã¿ãã¼ã¹ãä½ã£ã¦ããã¾ãã $ project=/path/to/project ; \ updatedb \ --output=${project}.db \ --reqâ¦
.emacsåå²ã®ããã - KAYAC engineers' blog init-loader使ãã®ããããã ãããã©ããã£ã¨æ軽㫠;; ç°å¢æ¯ã®ãã¡ã¤ã«ã¯ï¼åã§åå (load (locate-user-emacs-file (prin1-to-string window-system))) ;; åå²ãã¡ã¤ã«èªã¿è¾¼ã¿ï¼~/.emacs.d/init.d/*.elã«â¦
vimã§ãè¨å®ç³»ãã¡ã¤ã«ãç¹ã«ä¿®æ£ãããã¨ç¡ãfoldingï¼æãç³ã¿ï¼ããæ¹æ³
ããã«ã¡ãï¼ä»æ¥ãå æ°ã«æãç³ãã§ã¾ããï¼è¨å®ç³»ã®ãã¡ã¤ã«ã¯ãããªæãã«ãªã£ã¦ãããã¨ãå¤ãã§ãããã # ã³ã¡ã³ã abc def # ã³ã¡ã³ãï¼ # ã³ã¡ã³ãï¼âï¼ foo bar ãããvimã§å æ°ã«æãç³ã¿ãããã©ããã¡ãã¡{{{ã¨ã}}}ã¨ãæ¸ãã»ã©ã®å æ°ã¯ç¡ãã®â¦
ã¾ãã¡ããã¨ãã®ã³ã¼ããè¦ã¦ãã ãããã¯ã©ã¹ã¡ã³ãã§å®æ°ãå®ç¾©ãã¦ãã¯ã©ã¹ã¡ã³ãã§ãããä»£å ¥ããã³ã¼ãã§ãã package { import flash.display.*; public class Main extends Sprite { private const constant:Object = {}; private var variable:Objeâ¦
æ®æ®µmanã¯è±èªã§èªãã§ããã ãã©ããã¾ã«æ¥æ¬èªã§èªã¿ãããã¨ãããï¼bashã®ããã¥ã¢ã«ããã£ã¨è¦ããæã¨ãï¼ã æ¥æ¬èªããã¥ã¢ã«ãæå ã«ç¡ãå ´åã¯ãLinux JF (Japanese FAQ) Projectãã«ãä¸è©±ã«ãªã£ã¦ãããä¸å¹´ã»ã©åã«ããã¸ã§ã¯ããçµäºãã¦ãã¾ã£â¦
Time::Piece::MySQL ã¨ã¿ã¤ã ã¾ã¼ã³ (è¨æ£ãã) - Yet Another Hackadelic Unix timeã«ã¿ã¤ã ã¾ã¼ã³ã®æ¦å¿µãæã¡è¾¼ãã®ã¯æ°æã¡æªãã§ãã å¾ãããUnix timeã«å¯¾ãã¦ã¿ã¤ã ã¾ã¼ã³ã«å¯¾å¿ããç®çã§æ°å¤ãå ç®æ¸ç®ãã¦ã¯ãããªãã¨æãã¾ãã ä½æ ãªãUnix tiâ¦
diffã«è²ä»ããããã£ããã©ãcolordiffã¿ãããªè¡åä½ãããªãã¦ãæååä½ã§è²ä»ããããã id:yappoã®String::Diff - Simple diff to String - metacpan.org使ã£ã¦ccdiff(charactor color diff)ã¨ããã®ãã§ã£ã¡ãããã ã£ã¦ãå¾ããåèªåä½ã®æ¹ãããâ¦
mintty-0.9.2-1ãã¤ã³ã¹ã³æã«exit(3)çãªã¨ã©ã¼ãåãã¦ã¹ã¿ã¼ãã¡ãã¥ã¼ã«ã·ã§ã¼ãã«ãããä½æãããªãã ããã£ã¦ãããããªæãã§ã§ããã --- etc/postinstall/mintty.sh.orig 2010-11-04 11:03:50.086733700 +0900 +++ etc/postinstall/mintty.sh 201â¦
iframeãæ´æ°ãããããã«ãããªå¦çãæ¸ãã¦ãã£ã¦ã <iframe id="foo" name="foo" src="/bar.html"></iframe> <a target="foo">æ´æ°</a> ä¸å¿åãã«ã¯åããã ãã©ãaè¦ç´ ã®ä½¿ãæ¹ããªãã ããªã¼ã¨ã軽ã調ã¹ã¦ãåºã¦ããªãã£ãã®ã§ãã¡ããã¨è©¦ãã¦ã¿ãã document.getElementById("foo").contentWindow.location.reload(); ã§ãããâ¦
ãã¤ã³ãªããã®æ³å ï¼ãã¤ã³ãªããã®ã»ããããHeinrich's lawï¼ ã¯ãå´åç½å®³ã«ãããçµé¨åã®ä¸ã¤ã§ããã1ã¤ã®é大äºæ ã®èå¾ã«ã¯29ã®è»½å¾®ãªäºæ ãããããã®èæ¯ã«ã¯300ã®ç°å¸¸ãåå¨ããã¨ãããã®ããã¤ã³ãªããã®ï¼ç½å®³ï¼ä¸è§å½¢ï¼ãã©ã¤ã¢ã³ã°ã«ï¼ï¼â¦
ï¼jQuery1.4.2ï¼ ããæ¥ãJSONããã¹ããåãåã£ã¦evalããå¦çãã¨ã©ã¼ãåãããã«ãªã£ããããããã³ã¼ãã jQuery.get('/foo.json', function(json) { var foo = eval('(' + json + ')'); }); æãå½ããã®ã¯ãContent-Typeãtext/plainã ã£ãã®ãappliâ¦
ï¼NTEmacs 23.2.1 ã¨ä»å±ã® tramp 2.1.18-23.2ã«ã¦ï¼Meadowã®ã¨ãããtrampããã¾ã«åºã¾ããã¨ããã£ã¦ãããããããããã£ããã§NTEmacsã«ä¹ãæãããã ãã©ãNTEmacsã§ããã£ã±ãåºã¾ã£ãã ã©ãããã¡ã¤ã«ãåå¨ããé層ãæ·±ãå ´åã«èµ·ããã£ã½ãã®ã§ãâ¦
zshã§bindkey -eãã¦ãC-v/M-vãç¡ãã¨ããã®ã¯ã shellãããªãã¦terminalå´ãããã£ã¦ãã¨ãªã®ï¼ãããããfunctionãç¡ãããã ãâ¦ã minttyã§ã¯PageUp/PageDownããè¨å®ã§ããªããâ¦ãæãã¦ã¨ãã¤äººï¼ ããã©ã¤ã³ã¨ãã£ããã ããè¤æ°è¡ã£ã¦ããæ¦å¿µãç¡â¦
(cond ((eq window-system 'w32) (load "~/.emacs.d/init-windows")) ((or (eq window-system 'ns) (eq window-system 'mac)) (load "~/.emacs.d/init-macos"))) ããããã®ã¯ä½ã¨ãªãå«ãªã®ã§ (load (concat "~/.emacs.d/init-" (prin1-to-string window-syâ¦
èªåã®init.elè¦ã¦ãã (defun see-you-again () "Save all of the window configurations if you say yes, and kill-emacs." (interactive) (when win:current-config (if (yes-or-no-p "Save All Configurations? ") (win-save-all-configurations)) (saveâ¦
ã¯ã¤ãã¯ã¹ã¿ã¼ã - ã¦ã§ãSDK - ããã¥ã¡ã³ãã¼ã·ã§ã³ - éçºè åãFacebook Social Pluginsãã³ãããã¦ãhttp://example.comãèªåã®ããã°URLã«æ¸ãæããã ã¯ã¦ãªãã¤ã¢ãªã¼ã«iframeã¯è²¼ããªãã®ã§ãã¤ãã®ããã«Googleã¬ã¸ã§ããã«å¤æã iframe â Goâ¦
CygwinããWindowsã®ããã»ã¹ã«ã·ã°ãã«ãéãã«ã¯/usr/bin/killã使ãã°ãããã ãã©ãã ããã°ã©ã å ããkillãããæãæ®éã«killãã§ããªãã£ãã ã§ã深追ãããã¨æªæãããã ã£ãã®ã§å®ç´ã«TASKKILL使ã£ãã #include <unistd.h> int main(int argc, char** ar</unistd.h>â¦
ã¨ã©ã¼ã³ã³ã½ã¼ã«ï¼chrome://global/content/console.xulï¼ãããã¯ãã¼ã¯ãã¦ãããããã£éãã¦âãã®ããã¯ãã¼ã¯ã¯ãµã¤ããã¼ã«èªã¿è¾¼ãã¨ããã 常ç¨ã¨éçºç¨ã§Profileã使ãåãã¦ãã¦ã常ç¨ã®æ¹ã«ã¯Firebugãå ¥ãã¦ãªãã ã¡ãã£ã¨JSã¨ã©ã¼ãè¦ããæâ¦
æ®ã£ã飲ã¿ç©ãä¼ç¤¾ã®å·èµåº«ã«å ¥ããã¨ãèªåã®ååãæ¸ãã¦ããã¾ãããã ã誰ãã«çãããã®ãé²ããããã§ã¯ãªããèªåã®é£²ã¿ç©ã ã¨ç¢ºä¿¡ãããããã§ãã ååããªãã¨èªåã®ãã®ãã©ããèªä¿¡ããªãã¦ãçµå±é£²ã¾ãªãã¾ã¾æ¾ç½®ãã¦ãã¾ããã¨ãããã¾ãã â¦
ãªãã¹ãå¤é¨ã³ãã³ãã使ããã«ãã£ã¦ããï¼ä¾ãã°basenameã®ä»£ããã«${foo##*/}ãªã©ï¼ å¤æ°ã®å é æåãåãåºãæ¹æ³ ${parameter:offset} ${parameter:offset:length}% /bin/bash -c 'foo=abcde ; echo ${foo:0:1}' a % /bin/zsh -c 'foo=abcde ; echo ${â¦
æ¤ç´¢ãã©ã«ã便å©ã§ãã å¥ãããã¡ã¤ã«ï¼å®¶ã¨ä¼ç¤¾ï¼ã§ãåãæ¤ç´¢ãã©ã«ãã使ãããæãvirtualFolders.datã ããã³ãã¼ãã¦ããã¡ã§ã æ¤ç´¢ãã©ã«ãã表ãMail/Local Folders/fooï¼Mail/Local Folders/foo.msfã¨å¯¾ã«ãªã£ã¦ãããã¡ã¤ã«ï¼ãå¿ è¦ã§ãã ãã®â¦