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
#!/usr/bin/env python3 | |
import json | |
import os | |
import sys | |
from configparser import ConfigParser | |
from datetime import datetime | |
from pathlib import Path | |
import boto3 |
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
version: 0.2 | |
phases: | |
install: | |
runtime-versions: | |
java: openjdk11 | |
commands: | |
- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://127.0.0.1:2375 --storage-driver=overlay2& | |
- timeout 15 sh -c "until docker info; do echo .; sleep 1; done" |
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
<appender name="server-json" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |
<Append>true</Append> | |
<File>${LOG_PATH:-.}/json.log</File> | |
<encoder class="net.logstash.logback.encoder.LogstashEncoder"> | |
<fieldNames> | |
<thread>[ignore]</thread> | |
<levelValue>[ignore]</levelValue> | |
<timestamp>timestamp</timestamp> | |
<version>version</version> | |
</fieldNames> |
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
target/ | |
!.mvn/wrapper/maven-wrapper.jar | |
### STS ### | |
.apt_generated | |
.classpath | |
.factorypath | |
.project | |
.settings | |
.springBeans |
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
$(document).ready( function () { | |
// I only have one form on the page but you can be more specific if need be. | |
var $form = $('form'); | |
if ( $form.length > 0 ) { | |
$('form input[type="submit"]').bind('click', function ( event ) { | |
if ( event ) event.preventDefault(); | |
// validate_input() is a validation function I wrote, you'll have to substitute this with your own. | |
if ( validate_input($form) ) { register($form); } | |
}); |