Skip to content

Instantly share code, notes, and snippets.

View tayzlor's full-sized avatar

Graham Taylor tayzlor

View GitHub Profile
@tayzlor
tayzlor / docker-compose.yaml
Created October 4, 2022 15:21
Airbyte docker-compose.yaml without db
version: "3.7"
#https://github.com/compose-spec/compose-spec/blob/master/spec.md#using-extensions-as-fragments
x-logging: &default-logging
options:
max-size: "100m"
max-file: "5"
driver: json-file
services:
# hook in case we need to add init behavior
# every root service (no depends_on) should depend on init
@tayzlor
tayzlor / avenues.json
Last active July 30, 2020 11:32
Avenues JSON
{
"items": [{
"application": "00002bbe-0802-4b47-97d8-dd7c0c3f5ea2",
"application_status": "ACTIVATED",
"email": "testuser@email.com",
"activated_at": 1596184655,
"cancel_at": 1596184655,
"financed_amount": 3246,
"financed_apr": 14.9,
"financed_term_months": 12,
@tayzlor
tayzlor / gist:4fbc52bc736ce47e626a
Created December 31, 2015 10:50
mesos slave coreos command
/usr/bin/docker run --rm --name mesos_slave
--net=host
--privileged
-p 5051:5051
-v /sys:/sys
-v /proc:/host/proc:ro
-v /usr/bin/docker:/usr/bin/docker:ro
-v /var/run/docker.sock:/var/run/docker.sock
-v /lib64/libdevmapper.so.1.02:/lib/libdevmapper.so.1.02:ro
-e "MESOS_MASTER=zk://172.31.1.11:2181,172.31.1.12:2181,172.31.1.13:2181/mesos"
#!/bin/bash
# works with a file called VERSION in the current directory,
# the contents of which should be a semantic version number
# such as "1.2.3"
# this script will display the current version, automatically
# suggest a "minor" version update, and ask for input to use
# the suggestion, or a newly entered value.
@tayzlor
tayzlor / gist:6781748
Created October 1, 2013 17:03
FPM a Pear package
fpm -s pear -t rpm --pear-channel pear.phing.info phing
ControlMaster auto
ControlPath /tmp/%h_%p_%r
ControlPersist 1800
# Check that the connection is still available every 15 seconds. If three
# consecutive attempts fail drop the connection.
# This is useful to automatically drop closed connections which is especially
# useful when using tools such as autossh. While they tend to have their own
# heartbeats (ping tunnels and echo services) they tend to be very fragile.
ServerAliveInterval 15