Skip to content

Instantly share code, notes, and snippets.

@zmarcantel
zmarcantel / gist:7159455
Last active December 26, 2015 13:39
pip install wheel
Installed using
pip install -U -f /srv/wheelhouse --use-wheel --no-index {{mod_name}}
Directory Structure
{{mod_name}}
{{mod_name}}
__init__.py
easy_setup.py
setup.py
input {
zeromq {
mode => "server"
address => ["tcp://*:12000"]
codec => "json"
#type => "log.%{[owner]}"
#tags => ["%{[owner]}.%{[log_level]}", "%{[log_level]}"]
topology => "pubsub"
}
@zmarcantel
zmarcantel / OnLoad.js
Last active December 16, 2015 22:09
Quick but good way to "interrupt" the existing onload function
(function(){
var old;
if( window.onload ) {
old = window.onload;
}
window.onload = function () {
// initialization code here