ãã j2 ãä»ãå¿ãã¦ã¯ãtemplateãè¦ã¤ãããªãï¼ãã¨è¨ããã¾ãã ã©ãããtemplate fileãæ¢ãã¦ããã®ãï¼ã¨èª¿ã¹ã¦ã¿ããã©ããããä¸ã«ãã¾ãè½ã¡ã¦ãªãã®ã§ã¡ã¢ã ãããªæ§æã® Playbook ã ã¨ã㦠play_dir âââ hosts âââ roles â âââ foo â âââ defaâ¦
role åã 'nginx' ã ã¨ãã¦ãtemplates/nginx.conf ã¨ãããã¡ã¤ã«ããã£ãå ´åã templates/.conf ã¨ãããã¡ã¤ã«åã«ãªã£ã¦ãã¾ãã github.com ansible 2.3.1 以éã§ä¿®æ£ããã¦ããã®ã ãã©ãã¡ããã©ãã®ãã¼ã¸ã§ã³ã使ã£ã¦ã¦ã¯ã¾ã£ãã
kibana ã® visualize æ©è½ã§éè¨ã°ã©ããä½æã§ãããã©ãããã Elasticsearch ããç´æ¥åå¾ãããã Query ã«ç´ããªãããããªããã ãã©ããããã«æã§ããã®ã¯é¢åã ã⦠Visualize ç»é¢ä¸é¨ã®ç¢å°ãæ¼ãã¨ãspy mode ã«ãªãã Table (æ¤ç´¢çµæã® Table vâ¦
ä¹ ãã¶ãã« ruby ããããæ©ä¼ããã£ãã®ã§ãåå¿çã«ã URL encode ãããæååã decode ãããã®ã ãã©ãRuby 2.1 ã® URI.decode ã ã¨é ãããï¼ ã¨ããã®ããªãã¨ã解決ã§ããªããã¨èª¿ã¹ã¦ãã¾ããã ãã³ããã¼ã¯ã³ã¼ã ä¼¼ããããªãã¨ããã£ã¦ãããâ¦
ã²ãã³ããªã®ã«å°ãã¿ã ãã¾ã«ä½¿ããã©ãæ¯åå¿ãã¦ã¯èª¿ã¹ã¦ãã®ã§æ¸ãã¦ããã Python 2.x ã§ä½¿ãæ㯠print ã®ã¨ãããæ¸ãç´ãã¨ããã $ python --version Python 3.6.0 $ pip list | grep python-dateutil python-dateutil 2.6.0 $ python sunday_listâ¦
æè¿ã¯ qiita ã«æ¸ãã¦ã¿ã¦ãã¾ã http://qiita.com/gom markdown 使ããã®ã§ã¯ãã©ã
æ¯åå¿ããã®ã§ã¡ã¢ä»£ããã«ãssh-keygen ã§å¤æ´ã§ãã¾ã $ ssh-keygen -p -f ~/.ssh/id_rsa Enter old passphrase: Key has comment '.ssh/id_rsa' Enter new passphrase (empty for no passphrase): Enter same passphrase again: Your identification hasâ¦
ä»äºã®æã«è¦ã¦ãã³ã¼ãã§ãããï¼ã¨æã£ããã®ããã£ãã®ã§èª¿ã¹ãã ã¯ã©ã¹ç¶æ¿æã«ã親ã®æã£ã¦ãã static property ã¯åããåç §ãã¦ãåãå¤ãå ¥ã£ã¦ãã¾ãã(static_property.php)ããããåã¯ã©ã¹ã§ååã® static property ã宣è¨ããã¨ã親ã¨åã§å¥â¦
ããããã®åéã«ã¡ãã£ã¨ããä½æãhttp://projecteuler.net/problem=10 200ä¸ã¾ã§ã®ç´ æ°ã®åè¨ãæ±ããã åã«ç´ æ°ãªã¹ããæ±ãã¦åè¨ããã°ããã ããçµã¿è¾¼ã¿ã¯ã©ã¹ä½¿ã£ã¦ããããã©ãèªåã§å®è£ ããã #!/usr/bin/env ruby class Prime def list(max) #â¦
95/1000ãæ®ã£ã¦ããã©ä½ãããæ¢åã®ãã¤ã¢ãªã¼ããã®ç§»è¡ã¨ãã©ããªãã®ããªã¼ã
ä»æ´ãªããã«è»½ã触ã£ã¦ã¿ããhttp://www.phantomjs.org/ ã¤ã³ã¹ãã¼ã«ã¯homebrewã§ã $ brew install phantomjsJavascriptã®ã³ãã³ãã©ã¤ã³å®è¡ç°å¢ããããAPIã¨ãã¦ã¯ãä»ã®Webkitãã©ã¦ã¶ã¨åãJavascript APIã«å ãã主ã«ä»¥ä¸ã®2ã¤ã®ã追å ããã¦ãããâ¦
Activityã®onResume()ã¨onPause()ã§å¶å¾¡ããã°è¯ãã¨èãããããããããã¯ã¹ã¯ãªã¼ã³ã表示ããã¦ã¦ãé³ããªã£ã¦ãã¾ã£ã¦å°ãããããªæã¯onWindowFocusChanged()ã使ãã¾ãããããµã³ãã«ã§ã¯onResume()ã ããç½®ãæãã¦ããããã©ãæ¡ä»¶ã«ãã£ã¦ã¯ãã®ã¡â¦
ã ãã¶æã®ã¡ã¢ãä¸æ¸ãã«ç ã£ã¦ãã®ã§å ¬éãã¦ã¿ã¾ãããæããããªãã
argumentsã¯å¼æ°ãªã¹ãã ã¨æã£ã¦ããããå®ã¯ãªãã¸ã§ã¯ããããã arrayã«ãã®ã¾ã¾æ¸¡ãããæã«å°ãã®ã ããå¤æã§ããã Array.prototype.slice.call(arguments) https://developer.mozilla.org/en/JavaScript/Reference/functions_and_function_scope/arâ¦
JSã®applyã£ã¦ãã£ã¨ããããã£ã¦ãªãã£ãã®ã§èª¿ã¹ã¦ã¿ãã schemeã®(apply )ã¨åããããªããã¨èãã¦ç´å¾ããããªãã¸ã§ã¯ãã®é¢æ°ãå¥ã®ãªãã¸ã§ã¯ãã«é©ç¨ããã "hoge".slice() //=> "hoge" [].slice.apply("hoge") // => ["h", "o", "g", "e"] ä¼¼ãã¡â¦
Androidæ¸ãã¨ãã«ãEclipseããããã ãã©ããã£ã±ãæ馴ããã¨ãã£ã¿ã使ãããããã£ã¦ãã¨ã§JDEEã試ãã¦ã¿ããã¨ããããã§ãèªåç¨ã³ãã³ããªãã¡ã¬ã³ã¹ã ã¤ã³ã¹ãã¼ã« http://jdee.sourceforge.net/ JDEEã¨elibããã¦ã³ãã¼ããã¦make install è¨å® â¦
ç°å¢: Ubuntu 11.04 (VMWare fusion) æºå $ sudo apt-get install build-essential $ sudo apt-get install kernel-package libncurses-dev ncurses-dev libqt3-mt-dev ã½ã¼ã¹ãç¨æãã $ sudo apt-get install linux-source-2.6.38 $ cd /usr/src $ sudo â¦
ã¨ããããã§ãå é±æ¥æã«éå¬ãããTokyuRubyä¼è°03ã§ç大ã«é ããæãã¦ãã¾ãããhttp://regional.rubykaigi.org/tokyu03 å½æ¥ã®æ§å: http://togetter.com/li/143092å§ãããããã¾ã¾ã«ãã¼ã«ã空ãã¦ãããããã¤ã®ã¾ã«ããã»ã»ã» æ¬å½ã«ããã¾ããããâ¦
PHPã§ã¯ãstatic宣è¨ãªãã§ãã¡ã½ããã®staticå¼ã³åºããã§ãã¦ãã¾ãã ã§ãã©ã£ã¡ãéãã®ï¼ã¨ãã話ã ã¡ã¢ãªã®ä½¿ç¨éãæ¯ã¹ã¦ã¿ããã£ããã©ãéãã®ã¿ã
åºæ¬ã«ç«ã¡æ»ã£ã¦ããã¼ã¸ã½ã¼ãããã£ã¦ã¿ãã Ruby, C, Scala, Gaucheã®4種é¡ã æåã«Rubyã§æ¸ãã¦ãä»ã«ç§»æ¤ã¨ããæµãã Scalaã¨Gaucheã¯ã»ã¼åããæ®éã«å帰ã§æ¸ãããã©ãScalaã¯æ«å°¾å帰ã«æé©åããã¦ããããªã Cã ãã¯é åãã¬ã³ã¬ã³ä½ããã¨ãâ¦
ãã Google Reader Open entry in background tab - Google Chrome extension galleryããã¤ãæ¢åã®ãããã®ã§ããã1度ã«è¤æ°ã¿ããéãã¦ãã¾ã£ãããã¼ãä»ã®ã ã£ããã§èªåã®ä½¿ãæ¹ã«ã¯ãããªãã£ãã®ã§ã ä½ã£ã¦ãã¾ãã¾ãããã¨ããããæä½éã®æ©è½â¦
ã¨ã¦ãå 容ãæ¿ããå å®ããä¼è°(è¬ç¾©ï¼)ã§ããï¼ ã¹ã¿ããã»è¬å¸«ã®çæ§ãç²ãæ§ã§ããã ã»ãã·ã§ã³ãããªãããã¼ã¨ããããRubyã®å®è£ å¨ãã®è©±ãã¦ããçã㧠ã¤ãã¦ããã®ããã£ã¨ or ã¤ãã¦ããã¦ãªãé¨åãããã¾ããã ã§ããåå¼·ã«ãªãé¨åãã¨ã¦ãâ¦
è±èªã¯è¦æã§ãããRails 3 ã§ã®å¤æ´ãç¥ãããã£ãã®ã¨å訳ã®ç·´ç¿ãå ¼ãã¦è¨³ãã¦ã¿ã¾ããã è±èªåããªãã®ã§ããªãåºæ¥ãæªãã§ããã»ã»ã» å ¬éãããè¿·ãã¾ããããæ¥ãæãã¾ããééããªã©ãããã¾ããããé£çµ¡ãé ããã¨ããããã§ã m(_ _)m(追è¨) idâ¦
åçãããã è¨äºä¸è¦§ãè¦ãéæ ã³ã¼ãæ¸ããé: PHP >> Ruby å¾åã¯å ¨ç¶Ruby触ãã¦ãªã ããã°ã®æ¬æ°ãå»å¹´ã®åå ãã®ååããããåå¼·ä¼(ã¾ãã¯é£²ã¿ä¼)ã¬ãã¼ã emacsã®è¨å®ããã£ã¦ã°ã£ã ããå°ãæèãã¦Rubyæ¸ããªãã¨ããããªã¨æãä»æ¥ãã®ãããâ¦
PHPã¯æé»ã®åå¤æããã¦ããã¾ãã ä½è¨ãªãä¸è©±ãªãã¨ãå¤ãã§ãããé©å½ããã°ã©ãã«ã¯ä¾¿å©ãªå ´é¢ãããã¾ãããã¦ããããæ¼ç®ããã©ã°ãè¤æ°è¨å®ãããå ´åãªããã«ãã¾ã«ä½¿ãã¾ãããããã¤ãã¾ãä½è¨ãªãã¨ããã¦ããã¾ãã ãªãã¨ãæååããããæ¼â¦
2010/03/18 ãã£ã¬ã¯ããªãåããå ´åã®ãã¹æå®ãééã£ã¦ããã®ã§ä¿®æ£ èªåå°ç¨redmineãåããã¦ãããµã¼ãã貧弱ããã¦ãApache+passengerã ã¨ç ããªããããé ããªãã nginxãªãå°ãã¯è»½ããªãããªã¼ã¨ãé©å½ã«èãã¦å ¥ãã¦ã¿ãã使ã£ãç°å¢: CPU: Atoâ¦
å½æ¥ã¹ã¿ããã¨ãã¦åå ãæ¦å ´ãããªã«ã¡ã©ãã³ããã«ã¡ã©ãåãåã£ã¦ãé²ç»ããããã«ããã«ããã¦ã¾ããã 以ä¸ãææ³ã¨ãããã»ã»ã» ãã£ãã㨠éå§å æã¡åããã¨è»½ãè²·ãåºãã è¨å¶ã主ã«ã«ã¡ã©ã¨iMovieã®è¨å®ã LTä¸ é²ç»ã¹ã¤ãããè¦ã¤ããªãããâ¦
Scalaã®ã¨æ¸ãé çªãåå¾ãã¦ã¾ããã»ã»ã» 第19åãªã¼ãã³ã½ã¼ã¹ãã¯ããã¸ã¼åå¼·ä¼ã«è¡ã£ã¦ãã¾ããã 以ä¸ãã¡ã¢æãã¨éæãè¬å¸«: ç½ç³ãã@ããã html5-developers.jp @google group HTML5 ã£ã¦ãªã«ï¼ HTML ææ°ãã¼ã¸ã§ã³ãæ°è¦ç´ ãå±æ§ãå¤ãã 10 æâ¦
Scala Hack-a-thon #1 : ATND Scalaããããè¨ãã¤ã¤å ¨ç¶ããã¦ãªãã£ãã®ã§ãè¡ã£ã¦ãã¾ããã ä¼å ´ã®æ§å ã»ã¼æºå¸ã§ãã£ãããæãããã»ã©ç¡è¨ã ãã ãtwitterã¯å¤§ã«ãããã ãã£ãã㨠ã¤ã³ã¿ããªã¿ã¯ãã£ããã©ãã¨ãã£ã¿ã¨ãã«ãç°å¢ãæºåãã¦ãªãâ¦
æ¥ãã§ã¡ã¢ã ãã¦ã³ãã¼ã svn co http://lampsvn.epfl.ch/svn-repos/scala/scala-tool-support/trunk/src/emacs/ scala-mode è¨å® ;; elispãæºãè¾¼ãã§ãããã£ã¬ã¯ããªã ~/lisp ;; scalaã¯Macportsã§ã¤ã³ã¹ãã¼ã« ;; scala-mode (add-to-list 'load-patâ¦