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
var key = '12345678901234'; | |
jQuery('#the-list tr').each(function(){ | |
$tr = jQuery(this); | |
var spammer = { | |
'username': $tr.find('.username a').first().text(), | |
'email': $tr.find('.email a').children().remove().end().text(), | |
'ip_addr': $tr.find('.signup_ip em').text(), | |
'api_key': key |
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
<pre><?php | |
class OrphanFinder { | |
private $imagesDir = ""; | |
private $imagesUrl = ""; // base path | |
private $stylesheetsDir = ""; | |
function __construct($imagesDir, $imagesUrl, $stylesheetsDir) { | |
$this->imagesDir = $imagesDir; | |
$this->imagesUrl = $imagesUrl; |
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
<pre><?php | |
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
/* Batch base64 encode images and output css | |
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ | |
// list images in ./images/ directory | |
$directory = dirname(realpath(__FILE__)); | |
$images_dir = $directory . '/images/'; | |
$images = get_images($images_dir); | |
NewerOlder