Skip to content

Instantly share code, notes, and snippets.

ibeex / gist:1400432
Created Nov 28, 2011
Simple web server watchdog
View gist:1400432
# -*- coding: utf-8 -*-
Simple web server watchdog, edit constants and stop start commands
preferably run with daemon
ibeex /
Created Dec 7, 2011 — forked from stefanv/
Command line sparks in Python
# coding=utf-8
# Python version of Zach Holman's "spark"
# by Stefan van der Walt <>
ibeex / gist:1510386
Created Dec 22, 2011
Reliably run unreliable processes
View gist:1510386
# -*- coding: utf-8 -*-
Run forking multiprocess workers with emphasis's on running reliably long running processes, that
are for one or other reason prone to random crashing. Can be demonised with
ibeex /
Created Feb 14, 2012 — forked from bostwick/
Facebook News Feed Word Cloud
#!/usr/bin/env python
import sys
import urllib2
import json
from collections import defaultdict
from nltk import word_tokenize
IGNORED_WORDS = ["!", ".", ",", "(", ")", "'s", ":", "?", "...", "$",
ibeex / rc.d
Created Jul 18, 2012 — forked from jippi/rc.d
Logstash Init script
View rc.d
update-rc.d logstash-shipper defaults
update-rc.d logstash-reader defaults
ibeex / cli output
Created Dec 4, 2012
homebrew Issue #16269
View cli output
Mac7o% brew doctor
Your system is raring to brew.
Mac7o [brew doctor] ~ 12-12-04 9:26AM
Mac7o% brew --config
HEAD: fc7e4d799c4c212e0843b6ad3d3e72fc09fb4d34
HOMEBREW_CELLAR: /usr/local/Cellar
#! /bin/sh
# Provides: supervisord
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Example initscript
# Description: This file should be used to construct scripts to be
# placed in /etc/init.d.
ibeex / gist:5141917
Created Mar 12, 2013
Gtk+ failed to build on 10.8.2
View gist:5141917
brew doctor
Warning: Some installed formula are missing dependencies.
You should `brew install` the missing dependencies:
brew install gtk+
Run `brew missing` for more details.
brew --config
View gist:5568501
livestreamer -p "/Applications/ -vvv" --verbose-player 480p
[cli][info] Found matching plugin justintv for URL
[cli][info] Opening stream: 480p
[cli][info] Starting player: /Applications/ -vvv
VLC media player 2.0.6 Twoflower (revision 2.0.6-9-gda489c1)
[0x1002070a0] main libvlc debug: VLC media player - 2.0.6 Twoflower
[0x1002070a0] main libvlc debug: Copyright © 1996-2013 VLC authors and VideoLAN
[0x1002070a0] main libvlc debug: revision 2.0.6-9-gda489c1
[0x1002070a0] main libvlc debug: configured with ../extras/package/macosx/../../../configure '--prefix=/Users/fkuehne/Desktop/videolan/gits/vlc-2.0/release/vlc_install_dir' '--enable-macosx' '--enable-merge-ffmpeg' '--enable-growl' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-shout' '--enable-ncurses' '--enable-twolame' '--enable-realrtsp' '--enable-libass' '--enable-macosx-audio' '--enable-macosx-eyetv' '--enable-macosx-qtki
ibeex /
Last active Dec 23, 2015 — forked from bxt/
# Originally from
# Usage:
# Stup localhost 80000 as proxy in web browser cache will cache the files
# on disc and not redownload it again.
# To clear the cache simply do a `rm *.cached`. To stop the server simply
# send SIGINT (Ctrl-C). It does not handle any headers or post data.
import BaseHTTPServer
import hashlib