Skip to content

Instantly share code, notes, and snippets.

@seanbutnotheard
seanbutnotheard / kbmod.xml
Created September 29, 2013 01:58
KBMOD.com HTTPS Everywhere Ruleset
<ruleset name="KBMOD.com">
<target host="www.kbmod.com" />
<target host="kbmod.com" />
<securecookie host="^.*\.kbmod\.com$" name=".*" />
<exclusion pattern="^http://kbmod\.com/multistream/"/>
<rule from="^http://(www\.)?kbmod\.com" to="https://kbmod.com"/>
</ruleset>
@seanbutnotheard
seanbutnotheard / ffcapture
Last active December 1, 2022 12:58
FFMPEG Screen capture/stream script
#!/bin/bash
#LICENSE
#To the extent possible under law, the author(s) have dedicated all
#copyright and related and neighboring rights to this software to the
#public domain worldwide. This software is distributed without any warranty.
#See <http://creativecommons.org/publicdomain/zero/1.0/>.
# ffcapture, a hacky script to stream/capture your desktop or a window
# REQUIRES ffmpeg, xwininfo and bc to be installed!
@seanbutnotheard
seanbutnotheard / desuragames
Created July 26, 2012 03:35
Openbox pipemenu script to list installed Desura games.
#!/bin/bash
if [ -d $HOME/.desura ]; then
gamedir=$HOME/.desura/games
else
gamedir=/opt/desura/common
fi
desura=$(which desura 2> /dev/null || which desurium 2> /dev/null)