/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
ããã«ã¡ã¯ãokutani(@okutani_t)ã§ãããGitHub+dotfilesããå©ç¨ããã¨ãéçºç°å¢ãä¸ç¬ã§ä½ãã¦ä¾¿å©ãªãã¨ãæè¿ç¥ãã¾ããã dotfilesã¯ãã¼ã«ã§ããªãã§ããªããåç´ã«ã.vimrcãã.emacs.dãã.zshrcããªããã®ãé ã«ããããã¤ããã¡ã¤ã«ããæ ¼ç´ãããã£ã¬ã¯ããªã®ãã¨ã§ãã ãã®dotfilesãGitHubã§ç®¡çãã¦ããã¦ããdotfilesãªãã¸ããªãã¯ãã¼ã³+install.shã®å®è¡ãã§ããç°å¢æ§ç¯ãããã¼ã«ãããªãããããªããï¼ãã¨ãã£ãæãã§ãã ä»åã¯Macä¸ã§åä½ããã¦ãã¾ãããLinuxã§ãåãããã«install.shãä½æãããã¨ãã§ãããã¨æãã¾ãã ã¡ãªã¿ã«ãããããã®æ¹ãdotfilesã®ç®¡çæ¹æ³ã«ã¤ãã¦è¨äºã«ãã¦ããã®ã§ããã£ã¡ãåèã«ãªãã¾ãã åèdotfilesã管çããã â Qiita åèãããã«
ãããã¥ã¢ã«ãã·ã§ã«ã¹ã¯ãªããã使ã£ããµã¼ã管çã«èª²é¡ãæã¤æ¹ãã対象ã«ãAnsibleã®åºæ¬çãªä½¿ãæ¹ãç´¹ä»ããæ¬é£è¼ãAnsibleã§å§ãããµã¼ãä½æ¥èªååå ¥éããååã®ããã¬ã¤ããã¯ãåå©ç¨ããããããRoleã®åºæ¬ã¨å ±æãµã¼ãã¹Ansible Galaxyã®ä½¿ãæ¹ãã§ã¯ãAnsibleã®æ¨å¥¨ãã£ã¬ã¯ããªæ§æã§ãããRoleãã¨ãå ¨ä¸çã®Ansibleã¦ã¼ã¶ã¼ãRoleãå ±æããä»çµã¿ã§ãããAnsible Galaxyããç´¹ä»ãã¾ããã Ansible Towerã¨ã¯ ä»åã¯ãAnsibleã®å®è¡ãWebãã©ã¦ã¶ãã管çã§ããããã«ãããã¼ã«ãAnsible Towerããç´¹ä»ãã¾ãã Ansible Towerãå©ç¨ãããã¨ã§ããã¬ã¤ããã¯ã®å®è¡ãã¹ã±ã¸ã¥ã¼ãªã³ã°ããããã¦ã¼ã¶ã¼ã«ç¹å®ã®ãã¬ã¤ããã¯ã®å®è¡ã®ã¿ã許å¯ãããããªæ¨©éå¶å¾¡ãè¡ã£ãããããã¨ãã§ãã¾ããããã¯ãä¾ãã°ã客
Windows Subsystem for Linuxã®å ·ä½çãªè©±ãããåã«ãLinuxç³»ã§ã®è¡¨è¨ãªã©ã«ã¤ãã¦ç°¡åã«è§£èª¬ãã¦ãããWindowsç³»ã§ã¯ãç¹æ®ãã©ã«ããå«ãã¦ãé層åãã£ã¬ã¯ããªãããã©ã«ããã¨è¡¨ç¾ããããã«ãªã£ã¦ããããããã«å¾ãããLinuxç³»ã§ã¯ããã£ã¬ã¯ããªãã¨å¼ã¶ãã¨ãå¤ããããLinuxå´ã§ã®è¡¨ç¾ã¯ããã£ã¬ã¯ããªãããã æå³çã«ã¯åããã¨ã«ãªãããWSLå ã¨Windowså´ã§ã¯åãå ´æã§ããã¹ãéããããç¨èªã使ãåãããWSLå´ã§ã¯ããã¨ãã°ãã¦ã¼ã¶ã¼ãshiodaã®ãã¼ã ãã£ã¬ã¯ããªã¯ã/home/shiodaãã¨ãªãããããã¯Windowså´ã§ã¯ã%Userprofile%\appdata\local\lxss\homeããã©ã«ãã¨ãªããã¾ãããã®ã¦ã¼ã¶ã¼ãã£ã¬ã¯ããªã¯ãLinuxã§ã¯ãã~ãã§è¡¨ç¾ã§ããã ãã¨ãã°ãã¦ã¼ã¶ã¼ãã©ã«ãã®ä¸ã«ãããabc.t
jenkins ã§åãã¦ã ci ã®ã¸ã§ãã digdag ã§æ¸ãç´ãã¦ã¿ããã©ãããã¼ãã²ã¨ç®ã§åããããgit ã§ç®¡çã§ãããã並ååãç°¡åã ãæé«ã ãâ Kosuke Adachi (@foostan) October 8, 2016 ã¨ãããã¨ã§ Jenkins ã®ã¸ã§ãã Digdag ã«ç½®ãæã㦠Git ã§ç®¡çããã¨æé«ãªã®ã§ãä»å°ã£ã¦ãã人ã¯ããã¾ãããã1æ¥ããã°å¤åçµããã¾ãã ä»å試ããã®ã¯ CI ã®ã¸ã§ãã§ãããã©ããªã¸ã§ãã§ãå¿ç¨ã§ããã¨æãã¾ãã 詳ãã ããªãã Rebuild 152 è´ãã¦ããããã®ä¼è©±ã®ä¸ã«ãJenkinsãããããã£ã¦ã¯ã¼ããåºã¦ãããã§ããã rebuild.fm Jenkinsããããªãã®è¦æ¨¡ã§ä½¿ã£ã¦ãã人ãªãã馴æã¿ã ã¨æããã§ãããJenkinsã£ã¦èªç±åº¦ãé«ãã¦ã¸ã§ãã®ç·¨éãç°¡åã«ã§ããããæ°ãã¤ããªãã¨ã¸ã§ããã«ãªã¹ãªç¶æ ã«
Windows 10 ãã¼ã¸ã§ã³1607ï¼Windows Anniversery UpdateãRedStone1ï¼ã«ã¯ãWindows Subsystem for Linuxï¼ä»¥ä¸WSLã¨ç¥ãï¼ãæè¼ããã¦ãããããã¯ç»é²ãããã¢ã¤ã³ã³ã®å称ãªã©ããããbash on ubuntu on windowsããªã©ã¨å¼ã°ãã¦ãããç°¡åã«ããã¨ãWSLã¨ã¯ãWindowsã®ä¸ã§Ubuntu Linuxãåä½ããããã®ãã³ãã³ãã©ã¤ã³ããUbuntu Linuxã®ã·ã§ã«ã§ããbashãèµ·åããã¨ãããã¯ããLinuxã®ä¸ã ã Windows Subsystem for Linux㯠仮æ³ãã·ã³ç°å¢ã§ã¯ãªãããµãã·ã¹ãã ã§åãã WSLã¯ãããããä»®æ³ãã·ã³ç°å¢ãã§ã¯ãªããã©ã¡ããã¨ããã¨ãã³ã³ãããã¨å¼ã°ãããã®ã«è¿ãããä»®æ³ãã·ã³æ¯æ´æ©è½ã¯ã¾ã£ãã使ã£ã¦ããªããããããSubsystemã¨ã¯ãå
Build 2016ã§çºè¡¨ãã話é¡ã¨ãªã£ããWindows 10ã§ãã¤ãã£ãåä½ããbashãï¼ãWindows Subsystem for Linuxãï¼ããã¼ã¿çã¨ããä½ç½®ä»ãã ããå æ¥Windows 10 Anniversary Updateã«å«ã¾ããå½¢ã§æä¾ãéå§ãããããããã¦ã¼ã¶ã¼ã«èº«è¿ãªåå¨ã¨ãªã£ãããã®æ¦å¿µããå°å ¥ã®å®éããã¤ãã£ãLinuxç°å¢ã¨ã®éããªã©ã«ã¤ãã¦ã2åã«ãããã¬ãã¼ãããã ãWindows Subsystem for Linuxãã®è¡æ MicrosoftãWindows 10åãã«æä¾ãããWindows 10 Anniversary Updateãã¯ã2015å¹´11æå ¬éã®ãThreshold 2ã以æ¥10ãµæã¶ãã¨ãªã大åã¢ãããã¼ããçä½èªè¨¼æ©è½ããµãã¼ããããWindows Helloããé³å£°ã¢ã·ã¹ã¿ã³ããCortanaããªã©å¤ãã®æ©è½ãå¼·å
UNIXãMacã使ç¨ãã¦ããã¦ã¼ã¶ã¼ãªãã°èª°ã§ãä¸åº¦ã¯ã·ã§ã«ã¹ã¯ãªãããä½æããçµé¨ãããã¨æãã¾ããã©ããªç°å¢ã§ã使ãåãããã¼ã¿ããªãã£ã®é«ããé åã§ãããããã°ã©ãã³ã°è¨èªã¨ãã¦ã¿ãã¨ç¬ç¹ãªé¨åãå¤ãããªãã¨ãªãè¦ææèãæã£ã¦ããæ¹ãå¤ãããããã¾ããã æ¬æ¥ç´¹ä»ãããBash Infinity Frameworkãã¯ãããªã·ã§ã«ã¹ã¯ãªããã®æ¦å¿µãå®å ¨ã«å¤ãã¦ãã¾ãBashç¨ã®ãã¬ã¼ã ã¯ã¼ã¯ã§ãã ã¢ã¸ã¥ã©ã¼ãã¤è»½éã§ãC#ãJavaãJavaScriptã¨ãã£ãä»ã®è¨èªã®ã³ã³ã»ãããåãå ¥ãããã©ã°ï¼ãã¬ã¤ã§å¿ è¦ãªæ©è½ã ãã追å ãã¦ãããç¹å¾´ãæã£ã¦ãã¾ãã 主ãªç¹å¾´ã¯ä»¥ä¸ã®éãã§ã: èªåã¨ã©ã¼ãã³ããªã³ã° ååä»ããã©ã¡ã¼ã¿($1ã$2ã§ã¯ãªãã¦) é åã¨ãããããã©ã¡ã¼ã¿ã¨ãã¦å¼ã渡ãã try-catchã®å®è£ ç¬èªä¾å¤ã®throw ãã¼ã¯ã¼ãã®ã¤ã³ãã¼ã åºåãæ¹åã
CentOSã§ãµã¼ããç«ã¦ãã¨ãã«ãã¾ãæåã«å¿ ããã£ã¦ããããåæè¨å®ãããã ãã®ä½æ¥ã®ä¸è¦§ã以ä¸ã®ã¨ããã ããã±ã¼ã¸ãææ°åãã æ°è¦ã¦ã¼ã¶ãä½æãã suã³ãã³ããå¶éãã suã³ãã³ããå®è¡å¯è½ãªã¦ã¼ã¶ã»ã°ã«ã¼ããéå®ãã ç¹å®ã®ã°ã«ã¼ã以å¤suã³ãã³ãã§rootã«ææ ¼ã§ããªãããã«å¶éãã ãã¹ã¯ã¼ãå ¥åãªãã§sudoã³ãã³ããå©ç¨ã§ããããã«ãã sshæ¥ç¶ãå¶éãã rootã¦ã¼ã¶ã®sshãã°ã¤ã³ãç¦æ¢ãã sshã§å ¬ééµèªè¨¼ã®ã¿æ¥ç¶ã許å¯ãã sshã§ãã¹ã¯ã¼ãèªè¨¼ãç¦æ¢ãã å ¬ééµããµã¼ãã«ç»é²ãã sshdãµã¼ãã¹ãåèµ·åãã iptablesã¾ãã¯firewalldã®è¨å® âä»åã¯ãããªã Webã¢ããªã±ã¼ã·ã§ã³ãã¤ããããã¦ãWebãµã¼ãã¨APãµã¼ããç¨æãããã¨æã£ãããæ¯åãã®åæè¨å®ãããã®ãè¶ çµ¶ã¡ã³ããã...ã ã¨ãããã¨ã§ãèªååããããã«åæè¨å®ã
ææ°ã®é¡ä¼¼æ稿ã¨ãã¦ã·ã§ã«ã¹ã¯ãªããã®ã³ã¼ãã£ã³ã°ã«ã¼ã«2014ãä½µãã¦ã©ããã 2014/10/09è¿½è¨ ã¼ããã·ã§ã«ã¹ã¯ãªãããæ¸ãã¨ãã«æ°ã«ãã¦ãããã¨ãéå»ã®å¤±æã§æ¸ãçãããã¨ãå¿ããªãããã«ã 1. ã°ãã¼ãã«å¤æ°ã¯å¤§æå PATH ã HOME ãªã©ãç°å¢å¤æ°ã大æåãªã®ã§ãã¨ã¯ã¹ãã¼ãããå¤æ°ã大æåã§æ¸ãã¨ããç¿æ £ã¯ä¸è¬çã§ãããããªæ°ããã¾ãããã¨ã¯ã¹ãã¼ãããå¤æ°ãæ±ããã·ã§ã«ã¹ã¯ãªãããä½æããæ©ä¼ãç¨ãªã®ã§ã ã°ãã¼ãã«å¤æ°ã¯å¤§æå ãã¼ã«ã«å¤æ°ã¯å°æå ã¨ã¯ã¹ãã¼ãããå¤æ°ã大æå é¢æ°å ããã°ãã¼ãã«å¤æ°ã«ã¢ã¯ã»ã¹ããå ´åãããã¾ããããã¯ãåºå¥ãã¦ããã¨ãå¯èªæ§ãå¢ããããªæ°ãããã®ã§ãå§ãã§ãã 2. awk ãç¥ã Unix ä¸ã«ã¦ææ¸å¦çãããã¨ãã«ãæ°å¤ãã®ãã£ã«ã¿ã³ãã³ãï¼grepãcutãtrãheadãsortãuniqãsedãawkãwcã
ç§ã¯ã·ã§ã«ã¹ã¯ãªããã®å¤§ãã¡ã³ã§ãä»äººã®ã¹ã¯ãªããããé¢ç½ãæ¹æ³ãå¦ã¶ã®ã大好ãã ãæè¿ãSSHãµã¼ãã®2è¦ç´ èªè¨¼ãç°¡åã«ããããã®authy-sshã¹ã¯ãªããã«åºä¼ã£ãããã®ã¹ã¯ãªãã群ãè¦ã¾ããã¦ãã¦ãã¿ããªã¨å ±æãããããããã®ã¯ã¼ã«ãªãã¨ãè¦ã¤ããã åºåã«è²ä»ããã åºåæååããæåããæã¯ç·ã«ã失æããæã¯èµ¤ã«ãè¦åã¯é»è²ã«è²ã¥ããããã¨æããã¨ã¯ããããããã ããã NORMAL=$(tput sgr0) GREEN=$(tput setaf 2; tput bold) YELLOW=$(tput setaf 3) RED=$(tput setaf 1) function red() { echo -e "$RED$*$NORMAL" } function green() { echo -e "$GREEN$*$NORMAL" } function yellow() { e
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}