Skip to content

Instantly share code, notes, and snippets.

View kawikao's full-sized avatar

Kawika Ohumukini kawikao

View GitHub Profile
@neuroticnerd
neuroticnerd / python-on-ubuntu.sh
Last active July 27, 2018 07:09
Python 2.7.9 on Ubuntu 14.04.2 (without overwriting original version)
#! /usr/bin/env bash
# http://smirnov-am.blogspot.com/2015/04/installation-of-python-279-in-ubuntu.html
# http://davebehnke.com/python-pyenv-ubuntu.html
# https://renoirboulanger.com/blog/2015/04/upgrade-python-2-7-9-ubuntu-14-04-lts-making-deb-package/
# install dependencies
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
@lalyos
lalyos / README.md
Last active September 27, 2020 17:54
consul event handler to call plugn

Consul can send events to each node in the membership. This gist shows how to bind event handlers with plugins.

sending events

consul event -http-addr=<HOST>:8500 -name=start "mycluster"

installing plugins