Skip to content

Instantly share code, notes, and snippets.

@programingjd
programingjd / server.sh
Last active August 7, 2016 19:50
Bash script for start/stop/status/run operations on a server implemented in java.
#!/usr/bin/env bash
################################################################################
WEBROOT=/home/admin/www/ezpzjapanez.com
CERT=/home/admin/certs/certificates/ezpzjapanez.com.p12
################################################################################
# Directory containing this script
@programingjd
programingjd / build.gradle
Last active December 14, 2015 12:49
Gradle / Bintray dependency (without jcenter)
repositories {
jcenter()
maven { url 'http://dl.bintray.com/programingjd/maven' }
}
...
dependencies {
compile('info.jdavid.ok.json:okjson:2.6.1') {
artifact {
name = 'okjson'
extension = 'jar'