Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
Ansible 㨠Mackerel API ãçµã¿åããã¦ã1000å°è¦æ¨¡ã®ãµã¼ã群ã«å¯¾ãã¦åæã«ããã±ã¼ã¸ã®æ´æ°ããã®ä»ã®ãµã¼ããªãã¬ã¼ã·ã§ã³ã®ããã®æ¹æ³ãç´¹ä»ãã¾ãã ã¿ã¤ãã«ã« Mackerel ã¨ããã¾ãããããã»ã© Mackerel ã«ä¾åããªã話ã§ãã (Ansibleã¨Dockerã«ãã1000å°åæSSHãªãã¬ã¼ã·ã§ã³ç°å¢ - ããããããã°ã«ç¶ç·¨ãæ¸ãã¦ãã¾ãã) èæ¯ ç¤¾å ã§ã¯ããµã¼ãæ§æ管çãã¼ã«ã¨ã㦠Chef ã使ç¨ãã¦ãã¾ãã Chef Server ã¯éç¨ã大å¤ãªã®ã§ä½¿ç¨ãã¦ããããknife-solo 㨠Mackerel APIãçµã¿åããã¦ãã¹ã㨠Chef role ã¨ã®ãããã³ã°ã« Mackerel ã®ãã¼ã«æ å ±ãç¨ãã¦ãã¾ãã ã¾ããMackerel ã® Ruby ã¯ã©ã¤ã¢ã³ããå©ç¨ã㦠recipe å 㧠API ãå©ãã¦ãMackerel ã
å é±ã«å¼ãç¶ããä»é±ã¯Cè¨èªä»¥å¤ã®è¨èªãéçºããµãã¼ãããããã®ãããã¤ãã®æ©è½ãç´¹ä»ãã¾ãã scratchãããã¡ã§Emacs Lispã使ã£ã¦ã¿ãã ãåãã®éããEmacs Lispã¯Emacsã§ä½¿ããã¦ããLispã®æ¹è¨ã§ããEmacsã¯Cè¨èªã§æ¸ãããã³ã¢é¨å以å¤ã®ã»ã¨ãã©ããã®elispã«ãã£ã¦å®è£ ããã¦ãããã¦ã¼ã¶ã¯elispã«ãã£ã¦Emacsãã®ãã®ãæ¡å¼µãããã¨ãã§ãã¾ãã Emacsã®è¨å®ãã¡ã¤ã«ã§ãã.emacsãelispã®ããã°ã©ã ãã®ãã®ã§ãEmacsã¯.emacsã«æ¸ãããã³ã¼ããè©ä¾¡ãããã¨ã§ãè¨å®ãè¡ã£ã¦ãã¾ãã ã¨ãã£ã¦ãããããªã«é£ãããã®ã§ã¯ããã¾ãããEmacsãèµ·åããæã«ãæåã«éããããããã¡ *scratch* ã¯ãããã©ã«ãã§ã¡ã¸ã£ã¼ã¢ã¼ãã lisp-interaction-mode ã«ãªã£ã¦ããããã®ã¢ã¼ãã§ã¯elispã®å¼ããã®å ´
å æ¥ISUCONãè¡ããã¦ããã ãã¯ã¯åºå ´ãã¦ãªãã¦ãTwitterãã観æ¦ãã¦ããã ãã ã£ããã ãã©isuconã¿ã°ãçºãã¦ããã¨ä»¥ä¸ã®ã¹ã©ã¤ããæµãã¦ããã ä»å2ä½ã ã£ãpixivãã¼ã ã®katatsuyãããisuconåã«ä½ã£ã¦ããç¥è³æãããã èªãã§ã¿ããããªãã»ã©ãåºåãµã¼ãã¼ã®æ§ç¯æã®è¦å´ãç¥è¦ãç´ æ´ãããã¾ã¨ã¾ã£ã¦ããã ã§ãã¹ã©ã¤ãã®æå¾ã®ã»ãã«ããããã®æ¸ç±ãè¨ããã¦ã¦ããã«ããªãã»ã©Unixããã»ã¹ - Rubyã§å¦ã¶Unixã®åºç¤ãããã£ãã®ã§è³¼å ¥ãã¦èªãã§ã¿ãã 親ããã»ã¹ãåããã»ã¹ãforkããã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ãã¾ã³ãããã»ã¹ããã¼ã¢ã³ããã»ã¹ãããã»ã¹ã°ã«ã¼ããã»ãã·ã§ã³ã°ã«ã¼ããã·ã°ãã«ãã¹ããªã¼ã ããã¤ããIPCãã½ã±ãããã³ãã¼ãªã³ã©ã¤ã ãããã®ç¨èªã®ä¸ã§èª¬æã§ããªãè¨èãããRubyã¨ã³ã¸ãã¢ã¯ãã®æ¬ãèªãã¨è¯ãã ã©ããUnixããã°ã©
4å¹´ãããã¾ãã«ä¸åº¦éèªãã¦ããµã¼ããã§çµãã£ã¦ããã ãã©ãæè¿èªã¿è¿ããããããã¯ãã£ã¡ãè¯ãæ¬ã§ã¯ï¼ãã¨ãªã£ãã®ã§ç´¹ä»ãã¾ãã ãµã¤ãã®Linuxããã°ã©ãã³ã° Linuxã®ä»çµã¿ããå¦ã¹ãgccããã°ã©ãã³ã°ã®çé ä½è : éæ¨å³°éåºç社/ã¡ã¼ã«ã¼: ã½ãããã³ã¯ã¯ãªã¨ã¤ãã£ãçºå£²æ¥: 2005/07/27ã¡ãã£ã¢: åè¡æ¬è³¼å ¥: 35人 ã¯ãªãã¯: 450åãã®ååãå«ãããã° (146件) ãè¦ã ç¹ã«ç¬¬äºé¨ã第ä¸é¨ããã£ã¡ãããã¦ãLinuxã®éè¦ãªæ¦å¿µããæ¼ãããã¹ãã¨ãããæ¼ããã¦èª¬æãã¦ãã£ã¦æé«ãªæãã§ããã ãµãã¿ã¤ãã«ã«ãããLinux ã®ä»çµã¿ããå¦ã¹ã gcc ããã°ã©ãã³ã°ã®çéãã¨ããã¾ããããããæ®æ®µãã C è¨èªã§ã·ã¹ãã ã³ã¼ã«ã«è¿ãé¨åãæ®éã«æ¸ãã¦ããããã°ã©ãããããæ®æ®µã¯ Perl ã Ruby ãªã©ã®ã¹ã¯ãªããè¨èªã使ã£ã¦ãããããã®è¨èªã§æ¸ã
ãã°ããLinuxãã¿ãç¶ãã»ã»ã è¿ããã¡ã«æè¿åºãJava8ãã¿ãæ¸ãã¦ã¿ããã¨æãã¾ããããããå°ãLinuxãã¿ã«ãä»ãåããã ããã ååã¯sshdã対象ã«è¦ªããã»ã¹ãkillããå ´åã®åä½ã確èªããã killãããããã»ã¹ã®åããã»ã¹ã¯å¤å ããã»ã¹ã¨ãªããã«ã¼ãã«ã«ãã£ã¦èªåçã«initããã»ã¹ã®åã¨ãã¦æ±ãããäºã説æãããï¼ãã®åä½ãããªãã¢ã¬ã³ãã£ã³ã°ãã¨å¼ã¶ï¼ ä»åã¯ãã®ç¶ãã Linuxã§ä½æ¥ãã¦ãã¦Ctrl+Cãã¦ããã»ã¹ãçµäºããå ´åããã©ã¢ã°ã©ã¦ã³ãã®ããã»ã¹ããã®åããã»ã¹ãä¸ç·ã«çµäºããã ã¨ãããã¨ã¯ãåããã»ã¹ã¯å¤å ã¨ãã¦æ±ãããããªãã¢ã¬ã³ãã£ã³ã°ããã¦ããªããã¨ã«ãªãã ä»åã®è¨äºã§ã¯ãã®æ¯ãèãã®éãï¼ãªãã¢ã¬ã³ãã£ã³ã°ããããå¦ãï¼ã«çç®ããkill -SIGINTã³ãã³ãã¨Ctrl+Cã®éãã«ã¤ãã¦èãã¦ããã ããããkillã³ãã³ããCt
ãããã軽ãRubyããã£ã¦ã¿ãããã©ãªããæ å ±å¤ããã¦ã©ãããæãä»ããããããããããªãããªãã¡ã¬ã³ã¹çãªãã®ã¨ãè¨èªè«çãªãã®ã¨ãã³ãã¥ããã£ã¼çãªãã®ã¨ãã®æ å ±ã¯çµæ§ãããã©ããã£ã¨ã«ã¸ã¥ã¢ã«ã§ãã¨è¨ã£ã¦ã©ã®è¨èªã§ã使ãã¾ãããçãªèª¬æãããªãRubyããããæµ®ãåºã¦ããããªãã®ã§ããããã¡ãã£ã¨ããCLIãã¼ã«ã¨ãWebã¢ããªã¨ããä½ããç¨åº¦ã«ç解ã®æå©ãããã¦ããããã®ãã»ãããã©ãä»ã®æ®µéã§å¤§æå©ããããªããã¨ãã人åãã«åãRubyã®éæ¡å ãè´ãã¾ãã ã¹ãããï¼ï¼æè¦æéï¼ï¼ãï¼ï¼åãæè³é¡ï¼ï¼åï¼ ããªãã®ã³ã³ãã¥ã¼ã¿ã§Ruby2ç³»ã使ããããã«ãã¾ãã Macãªã²ã¨ => Mavericksãã¤ã³ã¹ãã¼ã«ããã Windowsãªã²ã¨ => RubyInstaller for Windowsã§Ruby2ç³»ãã¤ã³ã¹ãã¼ã«ããã Linuxãªã²ã¨ => ãèªç±ã«ã ã¿ã¼ãã
5. Vim script ã¨ã¯ï¼ â Ex ã³ãã³ãã® : ãã¨ã£ã¦é©å½ãªãã¡ã¤ã«ã«ç¸¦ã« 並ã¹ã¦æ¸ãã¾ã â ããã Vim script ã§ã â vimrc 㯠Vim ãèµ·åæã«èªåã§å®è¡ãã Vim script ãã¡ã¤ã« 6. Vim script ãä½æ éè¦ãï¼ â ã¿ããªãã©ã°ã¤ã³æ¸ãã¾ããã â vimrc 㯠Vim script ã§æ¸ã â ã¤ã¾ããVim script ãç¥ã£ã¦ããã¨ããåã£ãè¨ å®ãæ¸ããã¨ãã§ãã â Ruby ã®æã¯ã¤ã³ãã³ãå¹ 2ãJavaScript 㯠4 â ä¿åæã«è¡æ«ã¹ãã¼ã¹ããã¹ã¦åé¤ â å ¨è§ã¹ãã¼ã¹ãå¯è¦åãã â etc
ãªãã»ã©Unixããã»ã¹ â Rubyã§å¦ã¶Unixã®åºç¤ Jesse Storimer, 島ç°æµ©äº(翻訳), è§è°·ä¿¡å¤ªé(翻訳) é人åºçä¼ 3,520å (3,200å+ç¨) ãWorking with Unix Processesãå¾ æã®å®è¨³ã並åå¦çããã¼ã¢ã³ãããã»ã¹çæãããã¦ã·ã°ãã«ã¨ãã£ãUnixã®åºç¤ã§ããããã»ã¹ã«ã¤ãã¦Rubyã§è§£èª¬ããããä»ã©ãã®ãéçºè ã«åããæ°ããUnixããã°ã©ãã³ã°ã®æå¼ãã§ãã â»æ¬æ¸ã®å ¬å¼ããã·ã¥ã¿ã°ã¯#naruhounix ã«ãªãã¾ãã é¢é£ãµã¤ãåèè ã«ããå ¬å¼ãã¼ã¸ã¨è¨³è ãã«ãããµãã¼ããã¼ã¸ãããã¾ãã Working With Unix Processes - Learn the Fundamentals of Unix Programming in Rubyãªãã»ã©Unixããã»ã¹ãµãã¼ããã¼ã¸ æ¥æ¬èªçåè¡ã«ããã¦Ruby
naoya ããã«ããã°ãã便å©ããã¦é¼»è¡ãåºã¾ãããã¨ãã Vagrant ã触ã£ã¦ã¿ã¦ãåã Git ãæåã«è§¦ã£ã以æ¥ã®è¡æãåãã¾ããã » Vagrant - naoyaã®ã¯ã¦ãªãã¤ã¢ãªã¼ éçºè ãããã gem ã§å ¥ãããã¨ãããRuby ã使ãéçºè ã®ä¸é¨ã§è©±é¡ã«ãªã£ã¦ãããããªã®ã§ãããVagrant ã¯ããããããã°ã©ãã³ã°ãããã¨æã£ã¦ããåå¿è ããéçºç°å¢ãç¨æããå¿ è¦ããããã¶ã¤ãã¼ã«ãããå¼·åãªãã¼ã«ãªããããªããã¨æã£ã¦ãã¾ãã Vagrant ã便å©ã«æããã²ã¨ã¤ã®ã±ã¼ã¹ã¨ãã¦ãWindows ã®ä¸ã« Linux ã®ä»®æ³ãã·ã³ãç¨æãããã¨ããã®ãæãããã¾ããWeb æ¥çã«ããã¨åéããã¦ãã¾ãããã«ãªãã®ã§ãããä¸ã®ä¸ã®ã»ã¨ãã©ã®äººã¯éçºè ãå«ã㦠Windows ã使ã£ã¦ããã§ãããããããã人ã PHP ã Ruby ãªã©ãå§ãã¦ã¿ããã¨æã£ãæã«ãé£
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}