This file contains hidden or 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/env python | |
""" | |
signups.py - Signups Module | |
Copyright 2011 - Michael Yanovich, yanovich.net | |
Licensed under the Eiffel Forum License 2. | |
This module collects a list of names by people who type ".signup" | |
and then displays them. | |
""" |
This file contains hidden or 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
######################################################################## | |
## | |
## yano's .bashrc | |
## | |
######################################################################## | |
######################################## | |
## general settings | |
######################################## |
This file contains hidden or 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
05:08 [~/dev/sophia] | |
(yano@yano) $ ./configure | |
Checking for Perl 5.10.0 ... OK! | |
Checking for Carp ... OK! | |
Checking for FindBin ... OK! | |
Checking for Getopt::Long ... OK! | |
Checking for POD::Usage ... not found (install POD::Usage). | |
Checking for POE ... OK! | |
Checking for POE::Component::IRC ... OK! | |
Checking for POSIX ... OK! |
This file contains hidden or 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
05:51 [~/dev/sophia] | |
(yano@yano) $ ./configure | |
Checking for Perl 5.10.0 ... OK! | |
Checking for Carp ... OK! | |
Checking for FindBin ... OK! | |
Checking for Getopt::Long ... OK! | |
Checking for POD::Usage ... not found (install POD::Usage). | |
Checking for POE ... OK! | |
Checking for POE::Component::IRC ... OK! | |
Checking for POSIX ... OK! |
This file contains hidden or 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/env python | |
## index.cgi | |
import cgitb | |
cgitb.enable() | |
import os | |
import urllib | |
import urllib2 | |
import web |
This file contains hidden or 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
Options +FollowSymlinks | |
RewriteEngine on | |
RewriteBase / | |
RewriteRule ^logs/\d\d\d\d\-\d\d-\d\d.*$ logs/index.cgi [L] | |
RewriteRule ^.osurb/\d\d\d\d\-\d\d-\d\d.*$ .osurb/index.cgi [L] | |
RewriteRule ^logs/today$ logs/today.php [L] | |
RewriteRule ^tr/.*$ tr/index.cgi [L] |
This file contains hidden or 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
def lists_same(lol): | |
""" helper code that takes a list of list (lol) and checks to make sure | |
that all elements in each list are in all of the lists (order doesn't | |
matter) """ | |
if not isinstance(lol, list) or not len(lol) > 0: | |
return 1 | |
## lol is a list of lists | |
length = 0 |
This file contains hidden or 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/env python | |
""" | |
AAAAAA.py | |
This script, when placed in a folder with other episodes, will find the next | |
episode number and query thepiratebay for the infohash of the most popular | |
match. | |
This script is only used to find shows that are freely available. | |
I personally enjoy Pioneer One and a bunch more films provided freely over at |
This file contains hidden or 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
/set weechat.look.highlight_regex \[Alabama\].*Choctaw |
This file contains hidden or 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
/set weechat.look.highlight_regex \\\[Alabama\\\].*Choctaw |