2013-01-01ãã1å¹´éã®è¨äºä¸è¦§
å®è·µVimãèªãã ãå ã ãã®æã®æ¬ã¯ã»ã¨ãã©èªã¾ãªããã©ãã³ã¢æ©è½ãä¸å¿ã«èª¬æãã¦ããã¨ç¥ã£ã¦èå³ãæã£ãã®ã§ãèªãã§ã¿ãã 以ä¸ã¯ãä»åèªãã§æ°ããç¥ã£ããã¨ãæ°ã¥ãããã¨ã«ã¤ãã¦ã normalã³ãã³ã(TIP30) â<,â>normal . ã§ããã¸ã¥ã¢ã«ã¢ã¼ãã§â¦
ç¡è¦ããããã¡ã¤ã«ããªãã¸ããªã«ããã確èªãã¦ããããããªãåé¤ãããã¨æã£ã¦èª¿ã¹ãã¡ã¢ã gitã®ls-filesãµãã³ãã³ãã§ç¢ºèªã§ããã $ git ls-files -i --exclude-standard -iãªãã·ã§ã³ã§ç¡è¦ãã¡ã¤ã«(ignore)ã®ã¿ã表示ããã®ãªãã·ã§ã³ã¯--excludeâ¦
ä¼ç¤¾ã§ç®¡çãã¦ããã·ã¹ãã ã«Cè¨èªã§ä½ãããWebã·ã¹ãã ããããOracleã®OCIã使ã£ã¦DBã«æ¥ç¶ãã¦ãããããªå¦çãè¡ãã10å¹´ã»ã©éç¨ãã¦ãããããã ãã®ã·ã¹ãã ãbuildããã¨ãã¯shellã¹ã¯ãªãããå®è¡ããã®ã ããshellã¹ã¯ãªããå ã§gccã³ãã³ããâ¦
éçºç°å¢ã®æ§ç¯ãªã©ã§é »ç¹ã«å°å ¥ããã®ã§ã¡ã¢ã EPEL EPEL - FedoraProjectãéã How can I use these extra packages? ã®ç¯ã«ãããªã³ã¯(EL5ãEL6)ã®ã©ã¡ãããéã éãããã¼ã¸ã®ä¸é¨ã« epel-release-XXXã¨ããã®ã§ãããããã¦ã³ãã¼ãããããã¯URLãâ¦
ããå¿ããã®ã§ã¡ã¢ã IPã®æå® $ sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth1 HWADDR=... TYPE=Ethernet UUID=... ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=static IPADDR=192.168.56.14 NETMASK=255.255.255.0 BOOTPROTOã®å¤ãdhcpãâ¦
ãã³ã¬ã³ãã³ã1ã»2 Reloadåºç社/ã¡ã¼ã«ã¼: ã¹ãã¤ã¯ã»ãã¥ã³ã½ããçºå£²æ¥: 2013/10/10ã¡ãã£ã¢: Video Gameãã®ååãå«ãããã° (18件) ãè¦ã PS Vitaã§1ã¨2ãã»ããã§ã§ããã¨ãã¢ãã¡åããããã¨ãç¥ã£ã¦è³¼å ¥ããã®å¾ãé²ç»ããã¢ãã¡ãã¾ã¨ãã¦è¦³ãâ¦
$ git cherry-pick -m 1 ec6a3c5 ãã¼ã¸ã³ãããã¯ããã®ã³ãããã®è¦ªãè¤æ°ï¼ãã¼ã¸å ããã¼ã¸å ï¼ããã®ã§ããã®ã¾ã¾ã§ã¯é©ç¨ã§ããªãã é©ç¨ããã¨ãã«ã©ã¡ãã®è¦ªãé¸ã¶ãããããæå®ããã®ã-mãªãã·ã§ã³ã親ã³ããããé¸æãã¦ã親ã³ãããã¨ãã¼ã¸ã³â¦
ä»æã¯ããã«ã¬ã©ã±ã¼ããiPhone5s 16GB(ã¹ãã¼ã¹ã°ã¬ã¤)ã«å¤æ´ããã ãã£ãªã¢ã¯ãã³ã¢ã äºç´ 10/4(é)ã«ãããã§äºç´ç³è¾¼ã¿ã10/5(å)ã®æ¼é ã«ã¡ã¼ã«ã§å ¥è·é£çµ¡ãããã10/6(æ¥)ã®ååä¸ã«äºç´å ã®ãã³ã¢ã·ã§ããã§æ´æ°ãäºç´ãã¦3æ¥ã»ã©ã§å ¥æã å¥ç´æ´â¦
$ tree -d -I 'foo|bar|hoge' -Iãªãã·ã§ã³ã§æå®ãããã¯ã¤ã«ãã«ã¼ãã§ã®æå®ã ãã|ã§æ¡ä»¶ãè¤æ°æå®ãããã¨ãã§ããã åè How do we specify multiple ignore patterns for tree command? - Unix & Linux Stack Exchange
$ grep --color=auto foo * colorãªãã·ã§ã³ã§è©²å½é¨åããã¡ã¤ã«åãªã©ãè²ã¥ãããã ç°å¢å¤æ°GREP_OPTIONSãè¨å®ããã¨ãã³ãã³ãå®è¡æã«è¨å®ãããªãã·ã§ã³ãé©ç¨ãããã # ~/.bashrc export GREP_OPTIONS='--color=auto' # å®è¡æã«--color=autoãé©â¦
pgrep -f foo.php -fãªãã·ã§ã³ãã¤ããã¨ãå®è¡ãã¦ããã³ãã³ãã©ã¤ã³å ¨ä½ã«å¯¾ãã¦æ¤ç´¢ããçµæã表示ããã -fãªãã·ã§ã³ãã¤ããªããã°ãããã»ã¹åã®ã¿ã対象ã«æ¤ç´¢ããçµæã表示ããã åè Linux - ps aux | grep ãããpgrepã§ããã»ã¹ãæ¢ãã¨æ¥½ -â¦
ä¾ãã°checkoutãµãã³ãã³ã㧠$ git checkout /path/to/file ã¨ããã¨ããã®ã¨ãå¤æ´ãã¦ãããã¡ã¤ã«ãææ°ã®ãªãã¸ã§ã³ã®ç¶æ ã«æ»ãã $ git checkout HEAD^ /path/to/file ã®ããã«ãªãã¸ã§ã³ãæå®ããã¨ããã®ãªãã¸ã§ã³ã®ç¶æ ã«å¤æ´ããã åè Gitã§â¦
VirtualBoxã«CentOS 6.4 minimal x86_64 ãã¤ã³ã¹ãã¼ã«ããã ãããã¯ãã¼ã³ã®ãã¼ã¹ã«ãããã¯ãã¼ã³ã®ä½æã¨è¨å®ã«ã¤ãã¦ã¯ä»¥åãVirtualBoxã§CenOSã®ã¯ãã¼ã³ãä½æãã - ä½æ¥ãã¼ãã«ã¾ã¨ããã ä»®æ³ç°å¢ HDD: 8GB åºå®ãµã¤ãºã§ä½æ Memory: 512MB Neâ¦
findã³ãã³ããªã©ã§ãã¡ã¤ã«ã®ä¸è¦§ãåå¾å¾ãåãã¡ã¤ã«ã«å¯¾ãã¦å¦çãè¡ãæã対象ãã¡ã¤ã«ã«ã¹ãã¼ã¹ãããã¨ããã§ãã¹ãåºåãããçµæãã¡ã¤ã«ãåå¨ããªãããªã©ã®ã¨ã©ã¼ã«ãªãã ãããåé¿ããã«ã¯ãã¹ã¯ãªãããå®è¡ããéã«ä¸æçã«åºåãæåãå¤â¦
Reeder 2Silvio RizziÂ¥450 iPad miniã§ä½¿ç¨ããææ³ã æä½æ§ã¯Reederã¨åããã¹ã ã¼ãºãªæåã ããããAccountsã¬ã¤ã¤ã¼ã§ãReeder2ã«ç»é²ããã¢ã«ã¦ã³ãã®ä¸è¦§ã表示ããããããããä¸ããã¨ã§å½è©²ã¢ã«ã¦ã³ãã®Feedãåç §ã§ããã ç¾æç¹(2012/09/14)ã§â¦
VirtualBox㧠CentOSã®ä»®æ³ç°å¢ãæ§ç¯ããæã«è¡ã£ãè¨å®ãiptablesã®è¨å®ãå¤æ´ãã¦ãhttpã¨httpsã§ã¢ã¯ã»ã¹ã§ããããã«ããã 1.ç¾å¨ã®è¨å®ã®ç¢ºèª $ sudo /sbin/iptables -L --line-numbers Chain INPUT (policy ACCEPT) num target prot opt source destâ¦
ãã¼ã«ã«ã®ä»®æ³ç°å¢ãèµ·åå¾ãæå»ã®ãããä¿®æ£ããããã«ä½æããbashã¹ã¯ãªããã ntpdateã³ãã³ããsudoã³ãã³ããå®è¡ã§ãããã¨ãåæã åè ntpdãåãã¦ããç°å¢ã§ãntpdateãå®è¡ãã - å RX-7ä¹ãã®é©å½ãªæ¥ã
VirtualBoxã§ä½æããä»®æ³ãã·ã³ããã¼ã¹ã«æ°ããä»®æ³ãã·ã³ãç¨æããæ¹æ³ã è¤è£½å ã®ä»®æ³ãã·ã³ CentOS 6.4 minimal 64bit NICã¯NATç¨ã¨ãã¹ããªã³ãªã¼ã¢ããã¿ã¼ç¨ã®2㤠Ubuntuçã¯ãVirtualBoxã§ã¯ãã¼ã³ãä½æãã - ä½æ¥ãã¼ããåç §ã ã¯ãã¼ã³ä½æ 1â¦
æ°ãããµã¼ããæ§ç¯ããã¨ãã«ã¯ã¾ã£ãã®ã§ã¡ã¢ã ç°å¢ã¯php5 + curlãWebãã¼ã¸ã¨ãã¦ã¢ã¯ã»ã¹ããã¨ãã«ãããã°ã©ã ã§curlã®ã¢ã¸ã¥ã¼ã«ãç¨ãã¦å¤é¨ã®Webãµã¼ãã«ã¢ã¯ã»ã¹ãããã®çµæã«åºã¥ãã¦å¦çãè¡ãã èµ·ããç¾è±¡ã¯ãWebãã¼ã¸ã¨ãã¦ã¢ã¯ã»ã¹ããâ¦
Macã§èµ·åããã¨ãã®å¤æ´æ¹æ³ãWindowsçãåæ§ã ã¨æãã(ç°å¢ããªãã®ã§è©¦ãã¦ãªã) SQL Developerãèµ·åããã ã¡ãã¥ã¼ãã ãã¼ã« > ããªãã¡ã¬ã³ã¹ ãé¸ã³ããã¤ã¢ãã°ãéãã å·¦ã®ä¸è¦§ãã ãã¼ã¿ãã¼ã¹ > NLS ãé¸ã¶ã å³ã®ä¸è¦§ããæ¥ä»æ¸å¼(RR-MM-â¦
å°ãã¯ã¾ã£ãã®ã§ã¡ã¢ã phpã®ããã°ã©ã ã§ã¯é£çµæ¼ç®å(.)ã§é£çµã§ããããããsmartyãã³ãã¬ã¼ãã§ã¯ãããã(.)ã¯é åã®è¦ç´ ã表ãã®ã§ãæååã®é£çµãã§ããªãã smartyãã³ãã¬ã¼ãã§æååãé£çµããæ¹æ³ã¯2éãã 1.cat修飾å {assign var='path' vâ¦
ä»äºã§æã ã社å ç¨ã®ãã¼ã«ãä½ããç®çã¯æ§ã ã ããæè¿ãä½ã£ãã®ã ããä½ãå§ããé ã«Bootstrap3ã®RCãåºãã ãã£ãããªã®ã§ãBootstrap2ã試ããããæã£ã以ä¸ã«ä½¿ãããããããã¦å¹æçã ã£ãã(3ã¯RCã ã£ãã®ã§è¦éã£ã) 社å ç¨ãªã®ã§ãã¼ã¸ã®è¦â¦
ã¯ã¦ãªããã°ã使ãå§ãã¦ä¸å¹´ã»ã©éããã®ã§ãå ¨ä½çãªè¦ç´ãã¨å¤æ´ãããã ãã£ããã¨ã¯ã主ã«ä»¥ä¸ã®3ã¤ã 1. æ§ããã°ã®ã¤ã³ãã¼ã ã¯ã¦ãªãã¤ã¢ãªã¼ã«ãã£ãæ§ããã°ã®è¨äºã»ã³ã¡ã³ãã»ã¹ã¿ã¼ã»ããã¯ãã¼ã¯ãã¤ã³ãã¼ããããªãã¤ã¬ã¯ããè¨å®ããã â¦
git mergeãªã©ã§è¡çªããã¨ããvimã使ã£ã¦è§£æ¶ããæ¹æ³ã 1. mergetoolãè¨å®ãã git mergetoolã®è¨å®ãããã $ git config --global mergetool.vimdiff3.cmd 'vimdiff -c "wincmd J" "$MERGED" "$LOCAL" "$BASE" "$REMOTE"' 2. shellã¹ã¯ãªãããä½æãâ¦
ä¼ç¤¾ç¨ã®gitãªãã¸ããªã¨githubã®ãªãã¸ããªã§ã¯ã¦ã¼ã¶åãã¡ã¼ã«ã¢ãã¬ã¹ãç°ãªãã ä¼ç¤¾ã®ç°å¢ã ã¨ã$HOME/.gitconfigã«ã¯ä¼ç¤¾ç¨ã®è¨å®ããã¦ããããç°å¢è¨å®é¢ä¿ãªã©ã¯githubã§ç®¡çãã¦ããã®ã§ãã®å¤æ´ãè¡ãã¨ä¼ç¤¾ç¨ã®è¨å®ãåæ ããã¦ãã¾ãã ããã§â¦
ããå¿ããã®ã§ã¡ã¢ã ãªã¢ã¼ããªãã¸ããªãç»é²ãã¦ãªãå ´åã¯ãå ã«ãªã¢ã¼ããªãã¸ããªãç»é²ããã $ git remote add origin {ãªã¢ã¼ããªãã¸ããªã®URL} git push ã§ãªã¢ã¼ããªãã¸ããªã¨ãã©ã³ãåãæå®ãã¦pushã $ git push -u origin master uãªãã·â¦
VirtualBoxã§ä½æããä»®æ³ãã·ã³ããã¼ã¹ã«æ°ããä»®æ³ãã·ã³ãç¨æããæ¹æ³ã è¤è£½å ã®ä»®æ³ãã·ã³ Ubuntu 12.04 64 bit NICã¯NATç¨ã¨ãã¹ããªã³ãªã¼ã¢ããã¿ã¼ç¨ã®2㤠CentOSçã¯ãVirtualBoxã§CenOSã®ã¯ãã¼ã³ãä½æãã - ä½æ¥ãã¼ããåç §ã ã¯ãã¼ã³ä½æâ¦
é£ä¼ä¸ã«å±ãã大éã®ã¨ã©ã¼ã¡ã¼ã«ãå¦çãããããrubyã使ã£ã¦æªèªã¡ã¼ã«ã®åå¾ã¨ å¿ è¦ãªå¦çããããªããæ¢èªã«ãããIMAPçµç±ã
ã¯ã¦ãªã§ã¯ããã¤ã³ãå¶åº¦ãã¯ã¦ãªãã¤ã³ããã§è³¼å ¥ã§ãããã¤ã³ãã®åä½ãè¦ç´ããã¯ã¬ã¸ããã«ã¼ãæãã®å ´åã«ã¯ã980åã8,200åã14,000åã®åä½ã§ãè³¼å ¥ã§ããããã«ãã¾ããã ã¯ã¦ãªãã¤ã³ãã®è³¼å ¥åä½ãè¦ç´ããã¯ã¦ãªããã°Proã«å¿ è¦ãªãã¤ã³ããâ¦
Virtualboxã§MongoDBã試ãã¦ããã¨ãããã¨ããã£ã¹ã¯å®¹éãã»ã¼100%ã«ãªã£ã¦ãã¾ã£ãããã£ã¹ã¯å ¨ä½ã¯8.0GBã§ããã®ãã¡ã«ã¼ãã¯5.7GBã 調ã¹ãã¨ããã/var/lib/mongodb/journal/ 以ä¸ã®ãã¡ã¤ã«ã®ãµã¤ãºãã2.0GBã»ã©ã«ãªã£ã¦ããã ãµã¤ãºãå°ããããâ¦