View create-poster.sh
ffmpeg -r 1 -t 1 -vframes 1 -i input-file.mp4 output-file.png
View validate-github-profile.js
#!/usr/bin/jjs
if (arguments.length < 1) {
print("Usage: validate-github-profile.js user ...");
exit();
}
var github_oauth = JSON.parse(readFully("./github-oauth.json"));
var user_pass = "${github_oauth.user}:${github_oauth.token}";
var github_api_url = "https://${user_pass}@api.github.com";
View gist:f622dfab31097103c8de82012982cf44
$ docker exec my-busybox.1.xewffdq29h7pomx8jhw9xib14 nslookup tasks.my-busybox
Server: 127.0.0.11
Address 1: 127.0.0.11
Name: tasks.my-busybox
Address 1: 10.0.9.4 my-busybox.2.mx5nq93n8w7z80ndfkqd1zmhj.my-network
Address 2: 10.0.9.5 my-busybox.3.nd4lp1z7iliys8wsplusxkq0a.my-network
Address 3: 10.0.9.3 19d4fdded3dd
View gist:4f9bdb83627b31a366efb9571b61aee2
WellKnownAddressList(
10.0.9.3
)
MasterMemberSet(
ThisMember=Member(Id=1, Timestamp=2017-04-14 11:12:04.36, Address=10.0.9.3:36273, MachineId=1586,
Location=machine:c4917b7c9b9b,process:1, Role=CoherenceServer)
OldestMember=Member(Id=1, Timestamp=2017-04-14 11:12:04.36, Address=10.0.9.3:36273, MachineId=1586,
Location=machine:c4917b7c9b9b,process:1, Role=CoherenceServer)
ActualMemberSet=MemberSet(Size=1
Member(Id=1, Timestamp=2017-04-14 11:12:04.36, Address=10.0.9.3:36273, MachineId=1586,
View gist:6662eca04437fbd2aed737e57c0272e0
WellKnownAddressList(
10.0.9.3
10.0.9.4
10.0.9.5
)
MasterMemberSet(
ThisMember=Member(Id=2, Timestamp=2017-04-14 11:18:01.087, Address=10.0.9.5:42521, MachineId=686,
Location=machine:8f4159035dd1,process:1, Role=CoherenceServer)
OldestMember=Member(Id=1, Timestamp=2017-04-14 11:12:04.36, Address=10.0.9.3:36273, MachineId=1586,
Location=machine:c4917b7c9b9b,process:1, Role=CoherenceServer)
View hello.md
public static void main(String args[]) {
  System.out.println("no highlight");
}
public static void main(String args[]) {
  System.out.println("markdown with highlight");
}
View arquilian.xml
<container qualifier="weblogic" default="true">
<configuration>
<property name="adminUrl">http://localhost:7001</property>
<property name="adminUserName">weblogic</property>
<property name="adminPassword">welcome1</property>
<property name="target">AdminServer</property>
</configuration>
</container>
View arquilian.xml
<extension qualifier="docker">
<property name="autoStartContainers">true</property>
<property name="dockerContainersFile">docker-compose.yml</property>
<property name="serverVersion">1.12</property>
<property name="serverUri">unix:///var/run/docker.sock</property>
<property name="tlsVerify">false</property>
</extension>
View arquilian.xml
<extension qualifier="cube">
<property name="connectionMode">STARTORCONNECTANDLEAVE</property>
</extension>
View maven.log
weblogic:
image: 1221-domain:latest
ports:
- "7001:7001"
environment:
- PRODUCTION_MODE=dev
Running the Test Applications
You can run the test application from an IDE or from the command-line by invoking Maven: