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
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
<?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
/* | |
* Fair License (Fair) | |
* | |
* Copyright (c) 2012, IWAMURO Motonori | |
* | |
* Usage of the works is permitted provided that this instrument is | |
* retained with the works, so that any entity that uses the works is | |
* notified of this instrument. | |
* | |
* DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY. |
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
/* | |
* Fair License (Fair) | |
* | |
* Copyright (c) 2012, IWAMURO Motonori | |
* | |
* Usage of the works is permitted provided that this instrument is | |
* retained with the works, so that any entity that uses the works is | |
* notified of this instrument. | |
* | |
* DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY. |
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
/* | |
* Fair License (Fair) | |
* | |
* Copyright (c) 2012, IWAMURO Motonori | |
* | |
* Usage of the works is permitted provided that this instrument is | |
* retained with the works, so that any entity that uses the works is | |
* notified of this instrument. | |
* | |
* DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY. |
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
#!/bin/bash | |
if [ -f compiler-latest.zip ]; then | |
read -p 'Re-get archive?(y/N) ' yn | |
case "$yn" in | |
y|Y|yes) | |
;; | |
*) | |
echo "Abort." | |
exit 1 |
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
#!/usr/bin/ruby | |
# -*- coding: utf-8 -*- | |
# | |
# xpash - Interactive XPath Shell | |
require 'readline' | |
require 'rexml/document' | |
include REXML |
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
#!/usr/bin/ruby | |
# -*- coding: utf-8 -*- | |
require 'win32ole' | |
WIN32OLE.codepage = WIN32OLE::CP_UTF8 | |
$fso = WIN32OLE.new('Scripting.FileSystemObject') | |
$xl = WIN32OLE.new('Excel.Application') |
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
#!/usr/bin/ruby | |
# -*- coding: utf-8 -*- | |
require 'win32ole' | |
WIN32OLE.codepage = WIN32OLE::CP_UTF8 | |
$fso = WIN32OLE.new('Scripting.FileSystemObject') | |
$wd = WIN32OLE.new('Word.Application') |