携帯メールでは受信日時が分かりにくいので日時を付加。
{DATE} {TIME} ({TRIGGER.STATUS}) {TRIGGER.NAME}
sudo vim /etc/ipsec.conf | |
sudo /etc/init.d/ipsec start | |
Checking your system to see if IPsec got installed and started correctly: | |
Version check and ipsec on-path [OK] | |
Linux Openswan U2.6.27/K2.6.34.7-56.40.amzn1.x86_64 (netkey) | |
Checking for IPsec support in kernel [OK] | |
NETKEY detected, testing for disabled ICMP send_redirects [FAILED] | |
Please disable /proc/sys/net/ipv4/conf/*/send_redirects |
export EDITOR=vim | |
PS1='\e[32m\u@\h \e[34m\w \e[33m[\t \d]\e[00m\n$ ' |
class Catcher { | |
final Map<String, Closure> nameAndClosure = [:] | |
def methodMissing(String name, args) { | |
assert args.length == 1 | |
assert args[0] instanceof Closure | |
nameAndClosure.put(name, args[0]) | |
} | |
} | |
def remotes(Closure c) { |
class RemoteCollectionBuilder extends BuilderSupport { | |
@Override | |
protected Object createNode(Object name, Map attributes, Object value) { | |
println("createNode $name, $attributes, $value") | |
name | |
} | |
@Override | |
protected Object createNode(Object name, Map attributes) { | |
println("createNode $name, $attributes") | |
name |
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'org.hidetake:gradle-ssh-plugin:0.4.0' | |
} | |
} | |
apply plugin: 'ssh' |
https://github.com/int128/dockerfiles/blob/master/centos7/Dockerfile
% docker build my:centos7 .
if (System.getProperty('os.name') == 'Linux') { | |
tasks.withType(JavaForkOptions) { | |
systemProperty 'java.security.egd', 'file:/dev/./urandom' | |
} | |
} |