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"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>group</groupId> | |
<artifactId>artifact</artifactId> | |
<version>1.0-SNAPSHOT</version> |
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
configurations { | |
ebean | |
} | |
dependencies { | |
ebean group:'org.avaje', name:'ebean', version:'2.8.1' | |
} | |
task ebeanEnhancer { | |
doLast { |
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
function validate() { | |
file=$1 | |
regex=$2 | |
cat $file | awk " | |
/$regex/ { | |
print \$0 | |
next | |
} | |
!/$regex/ { | |
printf \"ERR-%05d:%s\n\", NR, \$0 > \"/dev/stderr\" |
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
accept-line-or-ls() { | |
zle accept-line | |
if [[ -z "$BUFFER" ]]; then | |
echo '' | |
ls | |
fi | |
} | |
zle -N accept-line-or-ls |
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
<bean id="faultTolerantStep" | |
class="org.springframework.batch.core.step.item.FaultTolerantStepFactoryBean" | |
abstract="true"> | |
<property name="transactionManager" ref="transactionManager" /> | |
<property name="jobRepository" ref="jobRepository" /> | |
<property name="startLimit" value="100" /> | |
<property name="commitInterval" value="1" /> | |
<property name="skipLimit" value="2" /> | |
<!-- リトライポリシーの設定 --> | |
<property name="retryPolicy"> |
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
<bean id="ebeanServerConfig" class="com.avaje.ebean.config.ServerConfig"> | |
<property name="name" value="cpm" /> | |
<property name="dataSource" ref="dataSource" /> | |
<property name="ddlGenerate" value="false" /> | |
<property name="ddlRun" value="false" /> | |
<property name="defaultServer" value="true" /> | |
<property name="register" value="true" /> | |
<property name="debugSql" value="true" /> | |
<property name="loggingDirectory" value="logs"/> | |
<property name="loggingLevel" value="SQL"/> |
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
" vim: set ft=vim ts=4 sw=4: | |
set nocompatible | |
set encoding=utf-8 | |
scriptencoding utf-8 | |
syntax on | |
"{{{ NeoBundleの設定 | |
filetype off | |
filetype plugin indent off |
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
hoge |
NewerOlder