shrink integers with php

[source func.shrinkid.php] example: 212408898 => lo08898 30028247 => u0so7 11222207 => bmm07 94070738 => 94070738 81071369 => 81071A9 197309119 => j73091j 15018738 => f0i738 78584770 => 78WL70 191854002 => jiS002 188192516 => i8192P6 65437343 => 65H73H 124061870 => cEZ870 207003851 => k700CP 218431612 => l84vZ2 5688664 => U88664 162528033 => gps0x 57489904 => VM9904 89269087 => 89q9087 193413083 => jyd083 144121183 => eFli3 218427866 => l84r866 57912246 => V91mK 229392376 => m9392B6 56443324 => UIxo 34996219 ...

a fresh debian 4.0 etch, lighttpd, php, mysql, mod_geoip installation with maxmind database and visitors webstats, monitored by runit

its fuckin' big i know. but its cool. we start from a complete plain installed debian etch 4.0. one line is one command. apt-get update if this error shows up: W: GPG error: http://ftp.de.debian.org etch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A70DAF536070D3A1 NO_PUBKEY B5D0C804ADB11277 ... try this: apt-get ...

the future of marketing domains - domain hacks

ever heard of something called "domain hacks"? i own a few funny domains where the tld is part of the word itself... as a simple example take "damn" there is a tld called .mn from mongolia - so da.mn would be a very cool domain, dont you think? now take this idea ...

ESS: The Real Desert Scraping

ESS stands for "Eli said so" ;) as you can read in the latest article on bluehatseo.com, eli explained a technique how to dig deep in the net for "fresh" content. let me cut those steps down: 1. buy a domain name and setup wildcard subdomains 2. find a site where you can ...

the cookie backer (php)

a few weeks ago i wrote two alternatives for the not yet implemented "http_parse_cookie" and "http_build_cookie" functions:

smarty function for a normalized meta tag keywords

i set up some product catalogues with the csv files from affili.net and i needed a function for smarty to create a nice looking keyword list for the meta tag. that's why i wrote this modifier function to use it directly in the templates:

myspace.com login function (php, curl)

this little login function is for beginners. it uses curl and a cookiejar. on success it returns the hash for the cookiejar under /tmp/ that you can use it with different accounts at the same time. have fun:

December 15th 2009
Tags: News No Comments

Facebooks Holiday presents suck

you spend a couple thousand dollars a day on facebook flyers and all you get is a poster, a postcard and a $75 donation coin to a school of your choice...
May 1st 2009
Tags: News 9 Comments

Win Blackhats 46″ SONY BRAVIA V-Series LCD Flat Panel HDTV - Full HD 1080p!

For those of you who have not been following, Douchebag won a 40″ 1080p LCD HDTV at AD:Tech last week from CX Digital. Since Douchebag already has a TV and doesn’t really know where he’d put another one, he decided that it would be best to give it away to ...
February 24th 2009
Tags: News, Serve No Comments

prosper202 v1.2.0 with xcache

alter if() to if() and elseif() in 202-config/connect.php if( @xcache_set( 'test', 'test' ) ) { if( include_once($_SERVER['DOCUMENT_ROOT'] . '/202-config/class-xcache.php') ) { $memcache = new XCache; ...
January 21st 2009
Tags: News 3 Comments

1140 to all

Death toll in Gaza rises to over 1140 Codepage 1140 - United States - ECECP § 1140. Interference with protected rights ... i wonder what myspace wants to tell us ... ... but i have my bet on retarded myspace employees. $50 bucks in the pot, whos in? ;)
January 2nd 2009
Tags: Offtopic 4 Comments

mmoga. buying stuff online sucks. sometimes.

MMOGA SUCKS - THEY WILL WASTE YOUR TIME AND STEAL YOUR MONEY my brothers xbox membership expired. since its christmas and im back home for a visit i tried to buy him a new 12 month gold membership and 4200 live points. of course to buy the new street fighter HD. what ...

Search

The archives run deep. Feel free to search older content using topic keywords.