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
| # Known Movie Warez Sites and sites that hotlink movie posters etc. | |
| RewriteCond %{HTTP_REFERER} 3dl\.am [NC,OR] | |
| RewriteCond %{HTTP_REFERER} 4fullmovies\.com [NC,OR] | |
| RewriteCond %{HTTP_REFERER} 4hdmovies\.com [NC,OR] | |
| RewriteCond %{HTTP_REFERER} 66ys\.cc [NC,OR] | |
| RewriteCond %{HTTP_REFERER} alimhan\.com [NC,OR] | |
| RewriteCond %{HTTP_REFERER} allfreeimages\.co\.za [NC,OR] | |
| RewriteCond %{HTTP_REFERER} axxomovies\.org [NC,OR] | |
| RewriteCond %{HTTP_REFERER} bitturk\.net [NC,OR] | |
| RewriteCond %{HTTP_REFERER} boerse\.bz [NC,OR] |
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
| // based on http://wiki.urbandead.com/index.php/Zombie_Speech_Translators | |
| zombish = { | |
| 'a' : 'a', | |
| 'b' : 'b', | |
| 'c' : 'ZZ', | |
| 'd' : 'GB', | |
| 'e' : 'HA', | |
| 'f' : 'ZR', | |
| 'g' : 'g', |
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
| { | |
| from: | |
| @getsatisfaction.com | |
| @facebookmail | |
| @postmaster.twitter.com | |
| [email protected] | |
| [email protected] | |
| @foursquare | |
| [email protected] | |
| @imdb |
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
| { | |
| to: horrorblog.org | |
| from: horrorblog.org | |
| cc: horrorblog.org | |
| } |
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
| { | |
| from: | |
| @getsatisfaction.com | |
| @facebookmail | |
| @postmaster.twitter.com | |
| [email protected] | |
| [email protected] | |
| @foursquare | |
| [email protected] | |
| @imdb |
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
| { | |
| {to: from: cc:} | |
| horrorblog.org | |
| } |
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
| #!/bin/sh | |
| CTL_CMD="apachectl"; | |
| REQUESTS_MAX="2"; | |
| SHOUT_GROUP="wesc"; | |
| SLEEP=1 | |
| echo "Press CTRL+C to stop"; | |
| while [ "$end" != "end" ] | |
| do |
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
| // assume you embed your youtube videos in a container with the class ".youtube-video" | |
| // like this | |
| // <div class="youtube-video" id="youtube-VIDEOID"> | |
| // <img src="thumbnailurl" /> | |
| // </div> | |
| // and don’t forget the youtube jsapi js embed in your page and the google "pageTracker" | |
| // must also be available | |
| // | |
| window.onYouTubePlayerAPIReady = function() { | |
| $('.youtube-video').each(function(index, elm) { |
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
| # somewhere in the server section of any nginx config | |
| location ~* \.(png|gif|jpg|jpeg)(\?[0-9]+)?$ { | |
| # try existing files, or put request to index.php | |
| try_files $uri /thumbnailer.php?image=$uri; | |
| # old method when try_files did not exist | |
| # if (!-f $request_filename) { | |
| # rewrite ^/(.*)$ /thumbnailer.php?image=$1 last; | |
| # break; | |
| # } | |
| } |
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
| <?php | |
| $imageRoot = 'img/'; | |
| $requestedFilename = $_GET['image']; | |
| $formatRegexp = '@^'.$imageRoot. | |
| '(?P<hash>[a-z0-9]{8})\/'. | |
| '(?P<width>\d+|auto)x(?P<height>\d+|auto)\/'. | |
| '(?P<filename>[a-z0-9_.]+\.(jpg|gif|png))@i'; | |
| if (!preg_match($formatRegexp, $requestedFilename, $found)) { | |
| die('IMAGE NOT FOUND'); |
OlderNewer