Tool
CentOS+Hudsonã§ãrubyããã¸ã§ã¯ãã®å®æãã¹ããå®è¡ããæé ã®ã¡ã¢ã§ãã CentOSã¯5.4ã GitHubã«ãã¹ãã£ã³ã°ããã¦ããrubyããã¸ã§ã¯ããã¨ã£ã¦ãã¦ã rakeã§rspecãå®è¡ãã¾ãã ãµã㪠Javaã®ã¤ã³ã¹ãã¼ã« Hudsonã®ã¤ã³ã¹ãã¼ã« Hudsonã®èµ·å Gitã¨Râ¦
DeamonToolsã§ç®¡çãã¦ããTomcatããã®GCãã°ãå¥ã®ãã¡ã¤ã«ã«åºåããè¨å®æé ã§ããæ®éã«åºåãã¦ãã¾ãã¨ä»ã®ãã°ã«ç´ãã¦æµãã¦ãã¾ãå¯è½æ§ãé«ãã®ã§ããã®é²æ¢ã«ããã¨ã§ãã°ã解æãã¦ãã¼ã¿ãåãåºãã®ãé¢åã ãããã¨ãããã¨ã§ãå ·ä½çã«ã¯ãâ¦
daemontoolsä»å±ã®tai64nã使ãã¨ãæ¨æºå ¥åã®åè¡ã«ç¾å¨ã®æå»ãä»ä¸ã§ãã¾ãã $ cat ./test.txt | tai64n @400000004af418f312d2bbb4 aa @400000004af418f312d2c76c bb @400000004af418f312d2cf3c ccå½¢å¼ãç¹æ®ãªã®ã§æå³ä¸æã§ãããtai64nlocal ã使ãâ¦
yesã¯ãkillãããã¾ã§æå®ãããæååãåºåãç¶ããã³ãã³ãã§ãã使ãæ¹ã¯ä»¥ä¸ã $ yes <æåå>æååãçç¥ããã¨ãyããåºåããã¾ãã 使ãé éä¸ã§ãããããyãã®å ¥åãæ±ããããããã°ã©ã ãå®è¡ããã¨ãã«ä½¿ããããã $ yes | <yã®å ¥åãæ±ããããã³ãã³ã>ã¹ã¯ãªãããæ¸</yã®å ¥åãæ±ããããã³ãã³ã>â¦
ã³ãã³ãããã³ããããå®è¡ããããã°ã©ã ã®ãªã¿ã¼ã³ã³ã¼ãã確èªãããå ´åã¯ã以ä¸ã§OKã§ãã $ <ããã°ã©ã ãå®è¡> $ echo %ErrorLevel%ãªãã¤ã¬ã¯ãã¨ããå®è¡çµæãå¤æ°ã«ä»£å ¥ã¨ãããããè¿·èµ°ãã¦ãã¾ã£ãã»ã»ãorz.
諸è¬ã®äºæ ã§ãEclipseã®Gitãã©ã°ã¤ã³ãEgitããåã¤ã³ã¹ãã¼ã«ãã¾ããã ãã¤ã®éã«ãupdateãµã¤ããç¨æãããã®ã§ããHelpã-ãSoftware Updates...ãããããã£ã¨ã¤ã³ã¹ãã¼ã«ã§ãã¾ãã ãã ãããã¼ã«ã«ç°å¢ã§ã¯æ§ãã¼ã¸ã§ã³ãæåã§ã¤ã³ã¹ãã¼ã«ãâ¦
ãã¹ãã¯ã©ã¹ãjarã«åºãã¦installããã«ã¯ãpom.xmlã«è¨å®ãæ¸ãã»ãããjar:test-jarãã´ã¼ã«ã使ã£ã¦ã³ãã³ãã©ã¤ã³ã§installããæ¹æ³ãããã¾ãã ãjar:test-jarãã ãã ã¨ããã¹ãã¯ã©ã¹ã®ã³ã³ãã¤ã«ã¯è¡ãªã£ã¦ãããªãããinstallããããªãã®ã§ã以â¦
SCã³ãã³ãã使ãã°ãWindowsã®ãµã¼ãã¹ãæä½ã§ãã¾ãããªã¢ã¼ãã§ã®æä½ããµãã¼ãããã¦ããã®ã§ãå¥ãµã¼ãã¼ã§åä½ãã¦ãããµã¼ãã¹ã®åèµ·åã¨ããå¯è½ãå ·ä½çã«ã¯ä»¥ä¸ã§OKã sc <"\"ä»ããµã¼ãã¼å ä¾) \\foo2003 > stop <ãµã¼ãã¹å> sc <"\"ä»ããµã¼â¦
ãVBoxManage clonehd ãã§VirtualBoxã®ãã£ã¹ã¯ã¤ã¡ã¼ã¸ãè¤è£½ã§ãã¾ãã VDIã®ãã¹ã¯ããuuidãorãååãorãVDIã¸ã®çµ¶å¯¾ãã¹ãã§æå®å¯è½ã§ãã ã-rememberããªãã·ã§ã³ãæå®ããã¨ãã³ãã¼ãããã®ãèªåã§VirtualBoxã«ç»é²ãã¦ããã¾ãã ãã¨ãã-fâ¦
[Eclipseã®gitãã©ã°ã¤ã³ãegitãã§ãã¦ã¼ã¶ã¼ãã¼ã ã®ã.gitconfigããã¡ããã¨èªã¿è¾¼ãã§ããã¾ãã Vistaã ã¨ä»¥ä¸ã®ãã¹ãªãã¾ãã \Users\<ã¦ã¼ã¶ã¼å>\.gitconfig Gitã®ã¦ã¼ã¶ã¼åãã¡ã¼ã«ã¢ãã¬ã¹ãæ¸ãã¦ããã¨ã³ãããæã«ã¡ããã¨åæ ãã¦ããã¾ãâ¦
egitã¨ããEclipseã§ä½¿ããGitãã©ã°ã¤ã³ããããã¨ãããã¨ã§ã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ãããã½ã¼ã¹ãåå¾ãã¦ã³ã³ãã¤ã«ãå¿ è¦ã§ãã¡ãã£ã¨ããã©ããããã§ãããazlab éçºMemo - Eclipseãã©ã°ã¤ã³ãã¤ã³ã¹ãã¼ã«ããã®æé ã«å¾ã£ã¦ç¹ã«åé¡ãªãã¤ã³ã¹ãã¼â¦
ãWindows Power Shell + .NET Framework ã¯ã©ã¹ã©ã¤ãã©ãªãã使ãã°ActiveDirectoryã«ãããã£ã¨ã¢ã¯ã»ã¹ã§ããã¯ã!ã¨ãæã£ã¦ãããããnetãã³ãã³ãã§è¿½å ã§ãããããããã§ãããorz.ã¨ãããã¨ã§ãnetãã³ãã³ãã§ãã¹ããå±ãããã¡ã¤ã³ã«ã¦ã¼ã¶ã¼â¦
ã¡ãã£ã¨ã¯ã¾ã£ãã®ã§ã¡ã¢ãVirtualBoxã®ã³ãã³ãã©ã¤ã³ãã¼ã«ã§ãã¦ã³ãããå ´åã以ä¸ã§ããã¿ããã§ãã $ VBoxManage modifyvm "<VMå>" -dvd host:/dev/cdrom</vmå>
ã³ãã³ãã©ã¤ã³ããVirtualBoxãæä½ãã¦ãä»®æ³ãã·ã³ã«Windowsãå°å ¥ããæé ã§ãã VBoxManageã使ã£ã¦ä»®æ³ãã£ã¹ã¯ã®ä½æããã¤ã³ã¹ãã¼ã«ã¾ã§ãX Windowã·ã¹ãã ãªãã®ç°å¢ã§è¡ãã¾ãã ä»®æ³ãã·ã³ã¯ãVRDPãµã¼ãã¼ã¨ãã¦åä½ããããã¨ã§ãWindowsã®ãâ¦
CentOS4ã¸ã®VirtualBoxã®ã¤ã³ã¹ãã¼ã«æé ã§ããåã¢ã¸ã¥ã¼ã«ã®ãã¼ã¸ã§ã³ã¯ä»¥ä¸ã CentOS4 VirtualBox2.0.6 æ¦è¦ VirtualBoxã®ãã¦ã³ãã¼ã ä¾åã¢ã¸ã¥ã¼ã«ã®ã¤ã³ãã¼ã« VirtualBoxã®ã¤ã³ã¹ãã¼ã« å©ç¨è ããvboxusersãã°ã«ã¼ãã«è¿½å VirtualBoxã®å®è¡ 1.â¦
ç¹ã«ãªãã·ã§ã³çãæå®ãã¦ããªããã°ã.ãã¨ããå¥ã®ååãã¤ãããã¦ä¿åããã¾ãã $ wget http://var.com/foo/ReleaseNote.ja --17:34:00-- http://var.com/foo/ReleaseNote.ja => `ReleaseNote.ja' var.com ãDNSã«åããããã¦ãã¾ã... xxxx var.comâ¦
以ä¸ã®è¨å®ãpom.xmlã«æ¸ãã¦ããã¨ããmvn installãã¨ãã§ãã¹ãç¨ã®ã¯ã©ã¹(ãsrc/testã以ä¸ã®ã½ã¼ã¹)ãåºããjarãä½æãããdeployãããããã«ãªãã¾ãã <project> ... <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions></plugin></plugins></project>
Specsã¯ãScalaã§ä½¿ããBDDãªãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ã§ããJUnit4ã¢ããã¿ãæä¾ããã¦ãããMavenã«çµã¿è¾¼ãã§ä½¿ããã¨ãå¯è½!ã¨ãããã¨ã§ãMavenãªJavaããã¸ã§ã¯ãã®ãã¹ããScala+Specsã§æ¸ãæé ãã¾ã¨ãã¦ã¿ã¾ãã ã¨ãã£ã¦ãåºæ¬çã«ã¯ã pom.xmâ¦
maven-scala-pluginã§ã¯ãscaladocã®ä½æããµãã¼ãããã¦ãã¾ããæé ã¯æ¬¡ã®éãã pom.xmlã®ãreportingãã«maven-scala-pluginã®è¨å®ãæ¸ã ãmvn scala:docã! 1.pom.xmlã«maven-scala-pluginã®è¨å®ãæ¸ãã pom.xmlã®ãproject/reportingãã«ä»¥ä¸ã®è¨å®â¦
Mavenã使ã£ã¦Scalaã®ã½ã¼ã¹ã³ã¼ããã³ã³ãã¤ã«ããç°¡åãªãµã³ãã«ã§ããmaven-scala-pluginã使ã£ã¦ããã£ã¨ã³ã³ãã¤ã«ã§ãã¾ãã Scalaã®ã½ã¼ã¹ã³ã¼ãç½®ãå ´ãä½æããã½ã¼ã¹ã³ã¼ããé ç½® pom.xmlã«maven-scalaãã©ã°ã¤ã³ã®åå¾å ã¨ããscalaã§ã³ã³ãã¤ã«â¦
ãã¼ã«ã«ã«ããéMaven製ã®jarããªã¢ã¼ããªãã¸ããªã«ãããã¤ããã³ãã³ãã§ããMavenã§ãã«ããã¦ããã°ãmvn deployãã§ãããã¤å¯è½ã§ãããä»ãã¼ã ããªãªã¼ã¹ããjarãªã©ã§Ant製ã®ããã£ããããã¨pom.xmlããªãã®ã§ä½¿ãã¾ããããã¨ãã£ã¦pom.xmlãç¨â¦
WebDAVã§pushã§ããGitãªãã¸ããªãä½ã£ãã®ã§ã¡ã¢ã 以ä¸ã¯ã ãã«ã¼ã«ã«ããGitãªãã¸ããªãhogeããã WebDAVã§pushã§ããGitãªãã¸ããªã¨ãã¦ãhttp://foo.com/git/hoge.gitãã§å ¬éããã! å ´åã®ä½æ¥æé ã§ãã ç°å¢ 使ç¨ããç°å¢ã¯æ¬¡ã®éãã ã¯ã©ã¤â¦
ãã¹ããå®è¡ããã¿ã¼ã²ãããæ¸ãã¾ããããã¹ãã®ã³ã³ãã¤ã«âå®è¡âã¬ãã¼ãä½æãè¡ãªãã¾ãã <path id="class.compile.path"> </path> <path id="test.compile.path"> <path location="lib/junit.jar"/> <path refid="class.compile.path" /> </path> </path></path>
GitHubããããããã¨ãã話ãèãã®ã§ä½¿ã£ã¦ã¿ããã¨æã£ã¦ã¢ã«ã¦ã³ããä½ã£ãã®ã ãã©ããªãã¸ããªã«httpã§ã¢ã¯ã»ã¹ããæ¹æ³ããããã¾ããã»ã»ã»ãgitèªä½ã¯httpã§ã®ãªãã¸ããªã®å ¬éããµãã¼ããã¦ãããããªã®ã§ãã§ããã¢ãã ã¨æã£ã¦ãããã ãã©ããâ¦
Maven Proxy ãã¤ã³ã¹ãã¼ã«ãã¾ããã Maven Proxyã¨ã¯ mavenããã®pluginåå¾ãªã¯ã¨ã¹ãã«å¿ãã¦jarã代çã§åå¾ãããããã·ãµã¼ãã¼ã§ãã以ä¸ã®æ©è½ãæã¡ã¾ãã ãããã·æ©è½: ã¯ã©ã¤ã¢ã³ãããã®åãåãããåããä¸ä½ãµã¼ãã¼ãã代çã§plugin jarâ¦
ãã«ããã·ã³ããã£ã¹ã¯ã¨ã©ã¼ã§ãè¨çµãããããåã¤ã³ã¹ãã¼ã«ããç¾½ç®ã«ã Cent OS 5 ãå ¥ãç´ãã¦ã subversionãå ¥ãã¦ã âCentOS ã« Subversion ãå°å ¥ãã ããã¯ã¢ãããã¼ã¿ã復帰ã㦠ã/etc/httpd/conf.d/subversion.confããç·¨éããããã¯ã¢ãâ¦
Cygwinãããã«ã¬ã³ããã£ã¬ã¯ããªãã¨ã¯ã¹ããã¼ã©ã¼ã§éãä¸è¡ã $ explorer.exe "$(cygpath -wa `pwd`)"ä»çµã¿ã¯ä»¥ä¸ã pwdã§ã«ã¬ã³ããã£ã¬ã¯ããªãåå¾ã cygpathã§Cygwinã®ãã¹ãWindowsã®ãã¹ã«å¤æã å¤æãããã¹ãå¼æ°ã¨ãã¦ãã¨ã¯ã¹ããã¼ã©ã¼ãâ¦
wgetã§ã§ãã¾ãã ã-rããªãã·ã§ã³ãæå®ããã¨ãæå®ãµã¤ãã®ãªã³ã¯ã辿ã£ã¦ãã¡ã¤ã«ããã¦ã³ãã¼ããã¦ããã¾ãã ã-lãã§ãªã³ã¯ã辿ãæ·±ããæå®ã ã-kããæå®ããã¨ã絶対æå®ã®ãªã³ã¯ãç¸å¯¾æå®ã«å¤æãã¦ããã¾ãã wget -r -k -l 1 <åå¾ãããµã¤â¦