- Java
- TnAbstractValueType を継承したValueTypeを作り、java.sql.Dateとorg.joda.time.LocalDateの変換を実装する
- DBFluteInitializerを継承し、prologue()をオーバーライドして、DBFluteConfig#registerBasicValueType() でLocalDateに対するValueTypeを登録する
- dfprop
- typeMappingMap.dfprop で、DATEをorg.joda.time.LocalDateにマッピングする
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
$script = <<SCRIPT | |
if ! [ `which ansible` ]; then | |
rpm --import http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/RPM-GPG-KEY-EPEL-5 | |
wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm -O /tmp/epel-release-5-4.noarch.rpm |
This file contains 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
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building sonar-jacoco-issue 0.0.1 | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ sonar-jacoco-issue --- | |
[INFO] Deleting C:\projects\oss\sonar\sonar-jacoco-issue\target | |
[INFO] | |
[INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (pre-test) @ sonar-jacoco-issue --- |
This file contains 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"?> | |
<commands> | |
<addCategory | |
id="custom_1374565425793" | |
name="GWT Bootstrap" | |
description="http://gwtbootstrap.github.io" | |
visible="true" | |
open="true"/> | |
<addComponent | |
id="com.github.gwtbootstrap.client.ui.Abbreviation_1374565475652" |
This file contains 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
@Grab('org.apache.poi:poi:3.9') | |
import org.apache.poi.hssf.usermodel.* | |
def config = [ | |
reverseDir : 'output/doc/data', | |
dataDir : 'playsql/data/ut/xls', | |
tableNameMap: 'tableNameMap.dataprop', | |
ignoreTable : [ | |
'ignore_table_name', | |
], |
This file contains 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
<?php | |
/** | |
* Require the library | |
*/ | |
require 'PHPTail.php'; | |
/** | |
* Initilize a new instance of PHPTail | |
* @var PHPTail | |
*/ | |
$tail = new PHPTail("/path/to/log"); |
This file contains 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
def findbugs = new XmlParser().parse('http://findbugs.googlecode.com/svn/trunk/findbugs/etc/findbugs.xml') | |
def messages = new XmlParser().parse('http://findbugs.googlecode.com/svn/trunk/findbugs/etc/messages_ja.xml') | |
def dir = new File('findbugs_ja') | |
dir.mkdirs() | |
java.util.Properties prop = new Properties() | |
findbugs.BugPattern.each { bug-> | |
def category = messages.BugCategory.find{ it['@category'] == bug['@category'] }.Description.text() | |
def msg = messages.BugPattern.find{ it['@type'] == bug['@type'] } |