Skip to content

Instantly share code, notes, and snippets.

View epleterte's full-sized avatar

Christian Bryn epleterte

  • I am on the Internet
View GitHub Profile
@epleterte
epleterte / mysql_rep.sh
Created November 4, 2015 09:22 — forked from onecooltaco/mysql_rep.sh
A mysql replication plugin for the check_mk nagios system
#!/bin/bash
#
# A mysql replication plugin for the check_mk nagios system.
# Place me in /usr/lib/check_mk_agent/local on the client
#
# Hereward Cooper <coops@iomart.com> - 16/06/11
MYSQL_USER="root"
MYSQL_PASS="PAassw0rd"
// ==UserScript==
// @name watchcartoononline
// @description Description
// @author Chris H (Zren / Shade)
// @icon http://xshade.ca/favicon.ico
// @namespace http://xshade.ca
// @version 1
// @grant none
// @include http://www.watchcartoononline.com/*
// @include http://www.animeuploads.com/embed.php*
@epleterte
epleterte / buttons.py
Created December 20, 2013 01:13 — forked from larsks/buttons.py
#!/usr/bin/python
import pifacecommon.core
import pifacecommon.interrupts
import os
import time
quit = False
def print_flag(event):
@epleterte
epleterte / role.rb
Created September 17, 2012 23:07 — forked from tommybotten/role.rb
Example fact to determine the role of a server
# Fact: role
#
# Purpose:
# Return the installed and running applications on the system.
#
# FIXME: Add amq, varnish,
# FIXME: As of now, interpreting/matching text and not return codes :(
Facter.add(:role) do
setcode do
@epleterte
epleterte / .tmux.conf
Created May 25, 2012 07:51 — forked from aaronjensen/.tmux.conf
robust tmux zoom toggle
# zoom
unbind ^M
bind ^M new-window -d -n zoom 'tmux-zoom'