This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<ivysettings> | |
<include url="${ivy.default.settings.dir}/ivysettings-public.xml" /> | |
<settings defaultResolver="default" /> | |
<property name="m2.dir" value="${user.home}/.m2/repository" /> | |
<property name="m2.pattern" value="[organisation]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]" /> | |
<resolvers> | |
<filesystem name="local" m2compatible="true"> | |
<artifact pattern="${m2.dir}/${m2.pattern}" /> | |
<ivy pattern="${m2.dir}/${m2.pattern}" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
s/\B(?=(?:\d{3})+$)/,/g |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){function u(e){return document.evaluate(e,document.head,null,2,null).stringValue}open("http://b.hatena.ne.jp/entry?mode=more&url="+encodeURIComponent(u("link[@rel='canonical']/@href")||u("//meta[@property='og:url']/@content")||location.href),"_blank")})() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// XPath メモ | |
// 使用例 | |
var xpathResult = document.evaluate("XPath式", document.body, null, 9, null); | |
// var xpathResult = document.evaluate( | |
// xpathExpression, | |
// contextNode, | |
// namespaceResolver, | |
// resultType, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Required | |
- BuildShip | |
- AnyEditTools | |
- Lombok (run downloaded "lombok.jar" to start installer) | |
Optional | |
- CheckStyle | |
- FindBugs | |
??? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xmllint --format http://xmlsoft.org/html/libxml-xpathInternals.html | perl -nle '/Function: xmlXPath(\w+)Function</ && print lcfirst $1' | |
boolean | |
ceiling | |
concat | |
contains | |
count | |
false | |
floor | |
id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; Chef's cookbooks has too many "default.rb". | |
;;; This hook is for detecting each "default.rb". | |
(defun chef-rename-buffer () | |
(let ((fn (buffer-file-name))) | |
(and (stringp fn) | |
(string-match "/cookbooks/\\(.+\\)" fn) | |
(rename-buffer (match-string 1 fn) t)))) | |
(add-hook 'find-file-hook |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar cf FILE ⇔ cpio -oF FILE | |
tar tf FILE ⇔ cpio -tF FILE | |
tar xf FILE ⇔ cpio -iF FILE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn dependency:sources | |
mvn dependency:resolve -Dclassifier=javadoc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=INDIRECT("R"&(expr)&"C"&(expr), FALSE) |