Skip to content

Instantly share code, notes, and snippets.

View hobophobe's full-sized avatar

Adam Dane hobophobe

View GitHub Profile
hobophobe /
Created February 16, 2013 22:02
Python 3 script to manually remove some Firefox history items.
# The queries operate only if either:
# * There are more than 10 visits (for things like my mail, which only bug me
# once they are trying to clog up my new tab page)
# * They are > 10 days old (for things like searches; recent searches aren't
# a big problem; old searches are).
# This should be run only if Firefox is shut down (and I mean really; you
# don't want to corrupt your DB because it was hung!)
hobophobe / fp.sp
Created July 21, 2011 01:08
Friendly Protection v0.3 SourceMod plugin
#pragma semicolon 1
* As you can see below, this requires the SDKHooks plugin by DJ Tsunami, et al.
* You can get it at
* It is needed to eat the damage to and from friendly players.
#include <sourcemod>
#include <sdktools>
#include <sdkhooks>