Skip to content

Instantly share code, notes, and snippets.

View qgervacio's full-sized avatar

Quirino Gervacio qgervacio

View GitHub Profile
@qgervacio
qgervacio / test
Last active October 9, 2020 15:12
test
try {
final def output = []
final shell = new Shell(this.script)
// find all target files
def path = args.path?: "."
shell.call(command: "find ${path} -name '*${args.decrypt.gpgExt}'", capture: true).split("\n").each {
final def file = new File(it)
final def parent = file.getParent()
final def tFile = file.getName()
# the retry timing. the first one is always zero since it
# is the first attempt. value is in minutes. in this policy,
# we will get exactly 4 tries within a span of 6 minutes.
# so here, the 3rd attempt will be executed after 2 minutes
# immediately following the 2nd attempt.
app.retry.timings = ${APP_RETRY_TIMINGS:0,1,2,3}
@qgervacio
qgervacio / developer-setup-in-osx.sh
Last active January 18, 2020 14:25
Developer Setup in OSX
# ----------------------
# Developer Setup in OSX
# ----------------------
# NOTE: Skip the steps that you don't need.
# Reference(s):
# https://docs.brew.sh/Installation
# https://github.com/robbyrussell/oh-my-zsh
# https://docs.docker.com/docker-for-mac/install
@qgervacio
qgervacio / minishift-installation-in-osx.sh
Last active June 20, 2019 05:27
Minishift Installation in OSX
# -------------------------------------------------------------
# Summary of installation steps of OKD Minishift using Homebrew
# -------------------------------------------------------------
# Reference(s):
# https://docs.okd.io/latest/minishift/getting-started/index.html
# Tested in:
# ProductName: Mac OS X
# ProductVersion: 10.14