lol
A worthless milestone
by z3n on Jul.28, 2010, under lol
Leave a Comment :gmail, milestone, spam more...Pixel by pixel html table to build an image
by z3n on May.20, 2010, under lol
I was looking around for curl timeout issues and found this movie of a guy doing pixel by pixel html table to build an anime
How to decrypt reviewitonline.net themes
by z3n on May.03, 2010, under Coding, Tips & Hints, lol
Problem:
Somehow there are people so desperated to have their links on free themes they developed that they generated their own method of ecryption, although this one is pretty plain and simple, it really annoyed me to know that it was overloading the server due it’s stupidness.
The “Protection”:
eval(gzinflate(base64_decode(<code>)));
That’s 90 times inside each other, how lame is that?
Solution:
// (c) z3n - R1V1@100503 - www.overflow.biz - rodrigo.orph@gmail.com
if (!isset($argv[1]))
die("Usage: ".$_SERVER['PHP_SELF']." <input.ext>");
$x=file_get_contents($argv[1]);
for ($i=0;strpos($x,"eval(") !== false;$i++) {
file_put_contents("x".$i.".php",str_replace("eval(","file_put_contents('y".$i.".php',",$x));
exec("php x".$i.".php");
$x=file_get_contents("y".$i.".php");
}
Run this and grab the latest y##.php file, that’s your unecrypted file.
Bad Coders United
by z3n on Jan.31, 2010, under lol
Problem:
So I have this joint work where I do the frontend and another company does the backend and CRM integration of the system, I basically wrote a frontend and examples of all XMLs that backend should send to the system in order to have it working. After a week things were ready and i sent it to the backend team, and look how good they manipulate arrays:
$listai = str_replace(‘Ar’,” , $listai);
$listai = str_replace(‘Array’,” , $listai);
$listai = str_replace(‘ray’,” , $listai);
another example…
function datadma($dataz){
$dia = substr($dataz, -2);
$mess = substr($dataz, -5,2);
$ano = substr($dataz, -10,4);
return $dataz= $dia.”/”.$mess.”/”.$ano;
}
Oh man, wait, they DON’T KNOW what is an array!
How is that possible? Array is one of the first things a decent programmer is supposed to learn.
And the best, how is it possible for a company to build up a CRM system without the use of a single array? That’s like a coding challenge, specially when manipulating multiple fields and so on. And that’s not the only issue, after stating, in front of the client, that they weren’t able to work with jQuery + Ajax using XML (which they previously stated that could be worked without problems) they asked me to teach them … for free!!!!
ahahahah
Solution:
just sharing the story, there’s no solution for this :)
Super fun fun
by z3n on Dec.04, 2009, under lol
Problem:
Generic hardware issues.
Solution:

Although this isen't me, it could be, on a remote dark basement back '95. Thanks the internets and anonymous fat guy, look hes even got a cat!
MSSQL Hell
by z3n on Aug.25, 2009, under Coding, lol
One might say that mssql is more powerfull and versatile than the other free choices around, this person should be slapped in the face repeated times.
MS SQL is the most awful and horrible SQL server ever.
Moving data to a server to another turns into a hell specially when you use the official microsoft tools to do that. Somehow, microsoft managed to put their legacy bugs on this product as well. The default `copy database` tool from SQL Management Studio 2008 comes factory broken. You can’t use it due some unknown mistake. The more i searched about the `Object reference not set to an instance of an object` issue the more crap i found about it. This is also a C# error message, making it harder to find on google, although many people discussed about this specific sql issue, nobody apparently found an fix it.
There’s some patches at microsoft site, but none of them worked.
So, I was tired of SQL Management studio when i found a tool to export/import sql databases, also from microsoft. Despite the timeouts, it worked right…. until, after 3 hours i found out that it didn’t copied the identity columns, which i specificly checked to copy at the program.
Back at Manager, i happly found that you can’t add identity columns without dropping the table and loosing all the data.
So, none of microsoft tools to manage microsoft sql server were able to do a simple database copy, what could be done with a single command line at mysql turns into a hell spiral because of microsoft great tools.
I was tired of it then i decided to look for a third party tool, and i found out MS SQL Maestro, which surprisingly only had a little bug on connection passwords, with this program i was able to do a script of the database, with the identity columns included, and now, at 4am i’m inserting it back on the new database, just hope i don’t fall into another happy error, since client will want his database working at 8am :)
Just easy as that.
Valkyriesky Game Awesomeness
by z3n on Jan.28, 2009, under lol
So, today i was looking around IRC and found out people talking about this new shooter style MMO which looks pretty nice:
Apart from that, it’s a korean game, meaning that you can’t play it unless you’re actually korean. To signup you need a korean social security number , KSSN.
So i thought that it would be hard to get one, specially when i’m not korean and i don’t want to pay for a KSSN.
Because people are stupid they post their KSSN on the internets, and i could figure out one that works, i guess anytime soon the owner of my KSSN will be executed, but hey, i can play my MMO! :)
So here we go:
Problem:
Getting a KSSN to signup on a korean site and play the most awesome game.
Solution:
google for korean security number
google for translating the signup page
so cool.
Links:


