Skip to content

Instantly share code, notes, and snippets.

View allenhuang's full-sized avatar

allen huang allenhuang

  • Kaohsiung, Taiwan
View GitHub Profile
@allenhuang
allenhuang / myapp.conf
Created March 6, 2017 16:07
Sample config file for Spring Boot executable jar
DEV_RANDOM='java.security.egd=file:/dev/./urandom'
DB_URL='spring.datasource.url=jdbc:postgresql://127.0.0.1:5432/mydb'
SERVER_PORT='server.port=8888'
IPV4STACK='java.net.preferIPv4Stack=true'
IPV4ADDRESS='java.net.preferIPv4Addresses=true'
JAVA_OPTS="-D${IPV4STACK} -D${IPV4ADDRESS} -D${DEV_RANDOM} -D${DB_URL} -D${DEV_RANDOM}"
@allenhuang
allenhuang / proxychains4_formula.rb
Created September 27, 2012 06:33
Unofficial brew formula for proxychains 4
# Unofficial brew formula for proxychains 4
# Instruction:
# $ git clone git://gist.github.com/3792521.git gist-3792521
# $ brew install --HEAD gist-3792521/proxychains4_formula.rb
#
# The default config file will be located in /usr/local/etc/proxychains.conf
#
require 'formula'
class Proxychains < Formula