View clean_places.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# 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!) |
View fp.sp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma semicolon 1 | |
/* | |
* As you can see below, this requires the SDKHooks plugin by DJ Tsunami, et al. | |
* You can get it at http://forums.alliedmods.net/showthread.php?t=106748%29: | |
* It is needed to eat the damage to and from friendly players. | |
*/ | |
#include <sourcemod> | |
#include <sdktools> | |
#include <sdkhooks> |