See related links to what you are looking for.
See related links to what you are looking for.
æè¿ ChefDKã¨ããå ¨é¨å ¥ãããã±ã¼ã¸ããªãªã¼ã¹ãããã®ã§ãããã§ä¸çºã§ãã http://www.getchef.com/downloads/chef-dk/ CentOS6ã ã¨ãããªæãã§ä¸çºã§ãã sudo rpm -ivh https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chefdk-0.3.0-1.x86_64.rpm rubyã¨ãrbenvã¨ãgemã¨ãã®ç°å¢ã«ã¤ãã¦é ãæ©ã¾ããå¿ è¦ããªãã®ã§ã¨ã¦ã楽ã§ãã ã¡ãªã¿ã«ChefDKã使ããã«èªåã§ããããã¤ã³ã¹ãã¼ã«ãããã¨ããã¨ã©ããªããã¨ããã¨ããããæéããããã¾ãã ã¨ãã«Berkshelfãä¾åãã¦ããã©ã¤ãã©ãªã§"dep-selector-libgecode" ã¨ããã®ããã®ãããæªç©ã®ãããªãããã®ã§ãã³ã³ãã¤ã«ããã®ã«ã¡ã¢ãªãï¼GBãå
naoya @naoya_ito ã·ã§ã«ã§ãã¹ã¯ã¼ãå ¥åããã³ããã§ããããªãã§ãããéä¸ã¾ã§æã£ã¦ééããã¨ãããããªãã§ãããCtrl + u æã¤ã¨ãªã»ããã§ããã®ç¥ã£ã¦ã? 俺ã¯ç¥ã£ã¦ã 2014-04-07 19:40:06
ãªãã¨ãªãæè¿ã©ããªæãã§Gitã使ã£ã¦ããããé©å½ã«ãªã¹ãã¢ãããã¦ã¿ãã ãã使ãã㤠git status git status --branch --short ã«ãã¦ãããå¤æ´ããããã¡ã¤ã«ãåºããã¨ããããä½ãããããã£ããææ¡ããç¨ãsã«ã¨ã¤ãªã¢ã¹ãã¦ãããä¸æ¥100åãããå®è¡ãã¦ããã®ã§ã¯ãªããã git diff ç¹ã«ãªãã·ã§ã³ã¯æå®ãã¦ããªããä½ãããããã£ããææ¡ããç¨ãdã«ã¨ã¤ãªã¢ã¹ãã¦ãããä¸æ¥50åãããå®è¡ãã¦ããã®ã§ã¯ãªããã git grep ãã¼ã¸ã§ã³ç®¡çãã¦ãããã¡ã¤ã«ãã渡ããåèªãå«ãè¡ãæ¤ç´¢ã表示ãé¢æ°ã®æ¤ç´¢ãªã©ããããå ´é¢ã§è¶ 便å©ããªãã·ã§ã³ã¯ --line-number --show-function --color --heading --break ããªã¹ã¹ã¡ã git ls-files ãã¼ã¸ã§ã³ç®¡çãã¦ãããã¡ã¤ã«ã®ãã¡ã¤ã«ãã¹ã表
OS X Mountain Lion ã¸ã£ã³ã«ï¼ä»äºå¹çå ä¾¡æ ¼ï¼1700 ãã¼ã¸ã§ã³ï¼10.8 説æï¼OS X Mountain Lion is the latest release of the worldâs most advanced desktop operating system. Mountain Lion includes over 200 new features to update your Mac into the best computing experience yet. With the new Messages app you can send text, photos, videos, contacts, web links, and documents to anyone using another Mac, iPhone, iPad, or iP
2013å¹´11æ18æ¥ è¿½è¨ ãã®è¨äºãæ¸ããå¾ãä½äººãã®ããããããã¡ã§ã¯åãApple IDã§ä¸¡æ¹ã¨ã使ãã¦ããããã¨ãããææãããã ãã Member Centerã®ã»ãã«ã¢ã«ã¦ã³ã追å -> iTunes Connectã«åãã¢ã«ã¦ã³ã追å ã¨ããé çªã ã¨ãè¦åã¯åºããã®ã®ãã¾ããContinueããã°ãåãApple IDã§ã¢ã«ã¦ã³ãä½æå¯è½ iTunes Connectã«ã¢ã«ã¦ã³ã追å -> Member Centerã«åã追å ã¨ããé çªã ã¨ãè¤éãªæé ã«ã¯ãªããã®ã®é©åãªæé ãéãã°ãåãApple IDã§ã¢ã«ã¦ã³ãä½æå¯è½ 失礼ãã¾ããã 追å æ å ±ãªã©ããã°æ¯éãããããã¾ãï¼ æ¦è¦ ç§ã¯iOSã¢ããªã®éçºã3年以ä¸ãã£ã¦ãã¾ãããæ¥ããããªããä¼ç¤¾ã§ãã®ããã®ã¢ã«ã¦ã³ãã管ç/éç¨ããæ¹æ³ããã¡ãã¨ææ¡ã§ãã¦ãã¾ããã§ããã ã¨ããã®ãå人ã§éçºããã¶ãã«ã¯ãããªç®¡çã¯å¿
ã¹ããç¨ãµã¤ãã§ã¯ç»é¢ã®ãµã¤ãºãããã¤ãããã®ã§ã viewportãæå®ãã¦èªåã§ç«¯æ«ã®ç»é¢ãµã¤ãºã«åããã表示ã«ãªãããã«ããã viewportã¯PCã§ããã¨ããã®ã¦ã¤ã³ãã¦ãµã¤ãºã¨ã¯éããã³ã³ãã³ãã表示ããé åã詳ãã㯠appleã®è§£èª¬ãã©ããããããmetaã¿ã°ã«è¨è¿°ãããã¨ã§ã¹ããã§è¡¨ç¤ºããã¨ãã®ãµã¤ãºã調ç¯ã§ããã ãã¡ãã«ãµã¤ãºã®ç®åºã«ã¤ãã¦æ¸ããã¦ããã®ã§åèã«ããã¨ãããï¼ ã¹ãããµã¤ãã®ä½ãæ¹ã§ããç´¹ä»ãããã®ã¯âã®æå®ã <meta name="viewport" content="width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0,user-scalable=no">ãããã以ä¸ã®æå³ã«ãªãã ããããã£å 説æ width 端æ«ã®å¹ initial-scale
Git åå¿è ãä¸ç´è ã«åãã¦ãç®ç«ããªããã©ä¾¿å©ãªã³ãã³ããç´¹ä»ãã¾ãã
vagrant box list ã§ã¯ box ãããã¨ããã®ã«ãvagrant up ããã¨ãã㪠box ç¥ããªãã£ã¦è¨ãããåé¡ã«ã¶ã¡å½ãã£ãã®ã§ã ã¾ã vagrant 1.0 ç³»ã§æ§åè¦ããã¦ã人åãã«ã¡ã¢ã£ã¦ããã¾ãã ã¡ãªã¿ã«ãã®å 容㯠Fixing âThe box ⦠could not be foundâ in the new Vagrant (1.1+) | WizOne Solutions ãåå¼ãã¦æ¸ããªããããã®ã§ãã ç®æ°ãããã®ã§ã¯ãªãã®ã§ãããããã ã¤ããã£ããä¹ ãã¶ãã«æ°ãã VM ãä½ãããã« vagrant up ããããããããªã¨ã©ã¼ãåºã¦ãã¾ããã $ vagrant up There were warnings and/or errors while loading your Vagrantfile. Your Vagrantfile was
ãã¤ãæãã ãã®ã«æéããããã¨ããããã°ã°ãã®ã§ã¡ã¢ã ä¾ãã°ããã³ããã¼ã¯ã¨ããã¨ã£ã¦ãã¦ãæ®ã£ããã£ãã·ã¥ãå¥éºãã£ã±ãã«æ¶ãããæã¨ãã«ä½¿ãã Linuxã®ã¡ã¢ãªã§ä¿æãã¦ãããã£ãã·ã¥ãã¯ãªã¢ããã«ã¯ã以ä¸ãå®è¡ããã # sync # echo 3 > /proc/sys/vm/drop_caches å¤ã®æå³ã¨ãã¦ã¯ããã 1ï¼ ãã¼ã¸ãã£ãã·ã¥ãè§£æ¾ 2ï¼ dentryãinode ãè§£æ¾ 3ï¼ ãã¼ã¸ãã£ãã·ã¥ãdentryãinode ãè§£æ¾ ä»¥ä¸ãåèã«ã /proc/sys/vm/drop_caches (Linux 2.6.16 以é) ãã®ãã¡ã¤ã«ã«æ¸ãè¾¼ã¿ãè¡ããã¨ã§ãã¯ãªã¼ã³ãªãã£ãã·ã¥ãdentryã inode ãã¡ã¢ãªä¸ããå¤ãããã®ã¡ã¢ãªã解æ¾ããã ãã¼ã¸ãã£ãã·ã¥ã解æ¾ããã«ã¯ã echo 1 > /proc/sys/vm/drop_caches
zshã®ç¹æ®é¢æ°ã§æåãªã®ã¯chpwd()ããã£ã¬ã¯ããªãå¤ãã£ãæã«å¿ ãå®è¡ãããé¢æ°ã£ãããããã¥ã¢ã«ãè¦ã¦ããä»ã«ãä¼¼ããããªããã¯æ©è½ããã£ãé¢æ°ããã£ãã®ã§åè¨ãã¾ã ã¡ãªã¿ã«é¢æ°ã®å®ç¾©ã¯ã·ã§ã«ä¸ã§ãããã¾ãããã¹ãç¨ã®ã¯ã³ã©ã¤ãã¼ã¨ããããªãã¨æ¸ãã«ãããã©ã hiroya /Users/hiroya $ hello zsh: command not found: hello #æªå®ç¾© hiroya /Users/hiroya $ hello(){ echo 'Hello,World'} #å®ç¾© hiroya /Users/hiroya $ hello Hello,World åæåãããæ㯠hoge(){} ã¨ç©ºã®é¢æ°ã§ãªã¼ãã¼ã©ã¤ãããã°OK zshã®ç¹æ®é¢æ° periodic If the parameter PERIOD is set, this function i
function precmd { hoge } ã¨ãæ¸ãã¨ã·ã³ãã«ã§ãããã§ãããè¤æ°è¨ç½®ã¯ã§ããªãã®ã§å ¨ãå¥ç®çã®ã³ã¼ãã§ãã£ã¦ããä¸ç·ããã«ãã¦æ¸ãç¾½ç®ã«ãªãã¾ãã ã©ã®ã¤ãã³ããä¸ã¤ã ããªãã¨ããããprecmd 㨠preexec 両æ¹ã«ã³ã¼ãå ¥ãããã¨ããªã©ã¯ãåããã¥ãããªãã¾ãã ããã§ããªã¬ãªã¬é¢æ°ãé©å½ã«ä½ã£ã¦ã(precmd|preexec|chpwd|periodic|zshaddhistory|zshexit|...)_functions é åå¤æ°ã«ãã®é¢æ°åãçªã£è¾¼ãã§ããã¨ããã§ãã function _OREORE_preexec_1 { echo oreore 1 } function _OREORE_preexec_2 { echo oreore 2 } preexec_functions=($preexec_functions _OREORE_pree
2009å¹´11æ17æ¥22:00 ã«ãã´ãªTipsLightweight Languages #osxtips - Scripters ã®ããã® Automatorå ¥é Mac OS X v10.6 Snow Leopard ã¢ããã« Snow Leopardã«ãªã£ã¦ä¾¿å©ã«ãªã£ããã®ã®ä¸ã¤ã¨ãã¦ãAutomatorãããã¾ãã ãã³ã©ã ãOS X ãããã³ã°! (341) ç¥ããããSnow Leopard (ãµã¼ãã¹ç·¨) | ãã½ã³ã³ | ãã¤ã³ãã¸ã£ã¼ãã« ãã¨ãã°ãé¸æãããæååã Perl ã¨ãã¦å®è¡ããã®çµæãç½®ãæãããµã¼ãã¹ã¯ããããªç°¡åã«ä½ãã¾ãã http://dl.dropbox.com/u/188965/automator/eval-as-perl.tbz Rubyãªããããã http://dl.dropbox.com/u/188965/automator/eva
alfredã¨ããã©ã³ãã£ã使ã£ã¦ããã®ã§ãããã©ã³ãã£ã®èµ·åãã¼ã·ã§ã¼ãã«ããã¯ä»ã¨ãã¶ãã®ããããªã®ã§ã³ãã³ããã¼ã®ããã«ã¿ããã«è¨å®ãã¦ãã¾ããã§ãéçºä¸ã«ã¡ã½ããåãããããã£åãèããããã«è±åãå¼ãããã¨ãããã¨ããããã¾ãããï¼ããããã¨ãã«alfredã®ãã¤ã¢ãã°ã§ãdefine æ¤ç´¢èªãã§Macã«æè¼ããã¦ããè¾æ¸ãã²ãã¾ããã¤ã¾ãâ¦ã ã³ãã³ããã¼ããã«ã¿ãã defiãããã¾ã§å ¥åãã¦tabã§ä¿ç®¡ æ¤ç´¢ãããåèªãå ¥å ããã ãã§è¾æ¸ãã²ãã¾ãã便å©ã
Macã¦ã¼ã¶ã¼ãå¢å ãã¦ããæè¿ã¯iPhoneã®äººæ°ããã£ã¦Windowsã¦ã¼ã¶ã¼ããMacã¦ã¼ã¶ã¼ã«ãªã人ãåã®å¨ãã§ãå¢ãããåºæ¬çã«Mac OSã¯å®å®ãã¦ãã¦ã¹ãã¼ããç³ãåãªãã Macãæ°ããæ¤è¨ãããã¨æã£ã¦ããæ¹ã¯â ãããªMacã§ãé·å¹´ä½¿ã£ã¦ããã°èª¿åã®æªãæãã§ã¦ããã ãããä»ã¾ãã«èªåã®MacBook Airãè²·ã£ãã¨ãã«æ¯ã¹ã¹ãã¼ããè½ã¡ã¦ããã®ã§è²ã ãã¥ã¼ãã³ã°ãããã大åã¹ãã¼ãã«åä¸ãã¿ããããMacãåã®ããã«ä»¥åããé ããªã£ã¦ãã¾ã£ãæ¹ã¯ä»¥ä¸ã®Tipsãåèãã¦é ããã幸ãã§ããã ããä¸è¨ã®ãã¹ã¦ã®æ¹æ³ã試ãã¦ãã¹ãã¼ãã¢ããããªãå ´åã¯OSã®åã¤ã³ã¹ãã¼ã«ãè¦éã«å ¥ããæ¹ãè¯ãã åã¤ã³ã¹ãã¼ã«ããã°å¤§æµã®åé¡ã¯è§£æ±ºããããåã¤ã³ã¹ãã¼ã«ããæã«ã¯Time Machinesçããããã¯ã¢ãã復å ããã°ç°¡åã«ã§ããã 1.容éã®å¤§ãããã¡ã¤ã«ã¯å¤ä»ãããã¤
[Mac] ãã¼ãªãã¼ããéãããæ¹æ³ã®è¨äºã§ãã·ã¹ãã ã§è¨å®ã§ããéçå¤ãçªç ´ããæ¹æ³ãæ¸ãã¦ããã®ã§ãããå¹æããã¾ã²ã¨ã¤å®æã§ããªããã®ã§ããã ä»æ¥çºè¦ããã®ããKeyRemap4MacBookã¨ããã½ããã¦ã§ã¢ãMacMiniã§ã使ãã¾ãããã¤ã³ã¹ãã¼ã«ãã¦ãåèµ·åå¾ãSystem Preferences(ç°å¢è¨å®ï¼- KeyRemap4MacBookã®ã¢ã¤ã³ã³ããããã¼ãªãã¼ãå¤ãå¤æ´ã§ãã¾ãã ç»é¢ã¯ãkey repeatã®éå§ã¾ã§ã150ms (default: 500ms)ãrepeatééã15msï¼default: 30ms)ã«è¨å®ãã¦ã¿ãä¾ãããï½ãéãéããããã§Macã§ãå¿«é©ã«ã³ã¼ãã£ã³ã°ã§ãããã§ãã
æãæµ®ããã Gitã®Tipsãåæãã¦ã¿ã¾ããã gitã®ã³ãã³ããã§è£å®ãã git-completion.bash ãå ¥ããã¨ãã§ã³ãã³ãã®è£å®ãå¹ãããã«ãªãã¾ãã ã¾ããPS1ã®è¨å®ãè¡ãã¨ç¾å¨ã®ãã©ã³ãåã常ã«bashä¸ã«è¡¨ç¤ºãããããã«ãªãã¾ãã ï¼Windowsã®å ´åãmsysgit ã¯æ¨æºã§å ¥ã£ã¦ã¾ãï¼ contrib/completion/git-completion.bash - GitHub ã¤ã³ã¹ãã¼ã«æ¹æ³ï¼å¼ç¨ï¼ # To use these routines: # # 1) Copy this file to somewhere (e.g. ~/.git-completion.sh). # 2) Add the following line to your .bashrc/.zshrc: # source ~/.git-completion.sh # # 3)
ä¾ãã°ã以ä¸ã®ãããªã³ãããå±¥æ´ãããã¨ãã¾ãã A---B---C---D masterãã㧠git rebase -i HEAD~3 ããã¦ã ã³ãããB ã E ã«æ¸ãæããããªã£ãã¨ãã¾ãããã®ã¨ããrebase -i ã«ãã£ã¦å±¥æ´ãæ¸ãæãã¦ãã¾ãã¨ã以ä¸ã®ããã«ãªãã¸ããªããBãDã®ã³ãããã¯æ¶æ» ãã¦ãã¾ãã¨æã£ã¦ãã人ãå± ãã®ã§ã¯ãªãã§ããããã A---E---C'---D' master確ãã«ãGitããã®ãããªåä½ãããã®ã§ããã°ãrebaseå¾ã«å ã®ç¶æ ã¸æ»ããã¨ã¯å°åºå°é£ã§ããããã«è¦ãã¾ããããããæ£ç¢ºã«æ¸ãã°ãå®éã®ã¬ãã¸ããªã®ç¶æ ã¯ä»¥ä¸ã®ããã«ãªãã¾ãã E---C'---D' master / A---B---C---Då®ã¯ã³ãããAãDã®ä¸é£ã®ã³ãããã¯æã¤ããã§æ®ã£ã¦ããããmasterãã¨ããã©ãã«*1ãæ°ããªæã«ä»ãæ¿ããããã ããªã®ã§ãããã£ã¦ã
äºæç ãæãåããªãITç³»æ°å ¥ç¤¾å¡ã«è´ãã·ãªã¼ãºç¬¬1段ã ~/.ssh/configã«ã¯ãããããªè¨å®ãæ¸ããããå¨å²ãè¦æ¸¡ããéãããã¾ãæ´»ç¨ããã¦ããããã«ã¯è¦åããããªããããã§ãä»åã¯ä¾¿å©ãªè¨å®ãããã¤ãéãã¦ã¿ãã é·ããã¹ãåã«çãååãã¤ãã Host exp1 HostName verrrryyy.looooong.hostname.example.jpãssh verrrryyy.looooong.hostname.example.jpã®ä»£ããã«ssh exp1ã§ãã°ã¤ã³ã§ããããã«ãªãã ã¡ãªã¿ã«ãzshã®å ´åãconfigãã¡ã¤ã«ã«ç»é²ããããã¹ãåã¯sshã³ãã³ããæã¤ã¨ãã«è£å®ãããã®ã§æ´ã«ä¾¿å©ã ç¹å®ã®ãã¹ãã¸ãã°ã¤ã³ããã¨ãã®ã¦ã¼ã¶åãéµãã«ã¹ã¿ãã¤ãºãã Host github.com User tkng IdentityFile ~/.ssh/id_rsa
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}