2013-07-01ãã1ã¶æéã®è¨äºä¸è¦§
ãããªæãã§scalaã³ã¼ããæ¸ãã object App { def main(args: Array[String]) { println("hello") } } ã³ã³ãã¤ã«ã¯scalac $ ls App.scala $ scala App.scala $ ls App$.class App.class App.scala javapã³ãã³ãã§classãã¡ã¤ã«ã解æããã $ javap App$â¦
+=:ã§æ«å°¾ã«è¦ç´ ã追å ã§ããã scala> import scala.collection.mutable.ListBuffer import scala.collection.mutable.ListBuffer scala> val buf = new ListBuffer[Int] buf: scala.collection.mutable.ListBuffer[Int] = ListBuffer() scala> buf += 1 reâ¦
def append[T](xs: List[T], ys: List[T]): List[T] = xs match { case List() => ys case x :: xs1 => x :: append(xs1, xs) } ãã¿ã¼ã³ããã使ã£ã¦å帰使ãã¨ãã¨ã¦ãScalaã£ã½ãã
ã¤ãã§ã«packerãããã¦ããã mitchellh/packer https://github.com/mitchellh/packer goãã¯ãã£ã¦ãªãã®ã§ãã²ã¨ã¾ãhomebrewã§ãããã $ brew install go ==> Downloading https://go.googlecode.com/files/go1.1.src.tar.gz #########################â¦
èªå® ç¨PCã«Vagrantç°å¢ããªãã£ãã®ã§ä½ã£ã¦ããã ç°å¢ $ uname -a Darwin user.local 12.4.0 Darwin Kernel Version 12.4.0: Wed May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64 ã²ã¨ã¾ãVirtualBoxãã¤ã³ã¹ãã¼ã« Oracle VM Virtâ¦
ã¯ã¾ã£ãã * * * * * wc -l `date --date "1 days ago" +%Y%m%d`.log >> logcount.log /bin/sh: -c: line 0: unexpected EOF while looking for matching ``' /bin/sh: -c: line 1: syntax error: unexpected end of file crontabã ã¨%ã¯ã³ãã³ãã®çµããã¨â¦
ä»æ¥ã¯Vagrant meetupãå¼ç¤¾ä¼å ´ã¨ãããã¨ã§ãä¼å ´æ å½ã Vagrant meetup ãä½è Hashimotoæ°ã®æ¥æ¥è¬æ¼ã - Chef Meetup | Doorkeeper http://chef-meetup.doorkeeper.jp/events/4624 æ®æ®µã¨éã£ã¦ææã®ã¤ãã³ãã ã£ãã®ã§ééå¨ãã§ãããµããã¦ãã¾ã£ãâ¦
sourceããããã¦ããããã ãã©ãçµå±é¢åã«ãªã£ã¦homebrewã§ãããã xdebug/xdebug https://github.com/xdebug/xdebug homebrewã§å ¥ããå ´åãåã®ç°å¢ã¯php 5.4ãªã®ã§ã brew install php54-debug 確èªã $ php -m | grep Xdebug Xdebug iniã®è¨ç½®ç¶æ³ã¯â¦
Job Import Pluginã使ãã¨æ¥½ã Job Import Plugin - Jenkins - Jenkins Wiki https://wiki.jenkins-ci.org/display/JENKINS/Job+Import+Plugin ã ã¨æã£ããä»ã¤ãã£ã¦ããJenkinsãè¥å¹²ç¹æ®ãªç°å¢ã«ç½®ããã¦ãã¦ãåç´ãªhttp(s)ã§queryã§ããªããèªè¨¼ããâ¦
Jenkins CLI - Jenkins - Jenkins Wiki https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI jenkins.jarãåå¾ãã¦ããã°ãããlocalããã§ãéµè¨å®ããã°å©ããã便å©ã