Virus In Training


Second Generation Php Logger Extreme 2.0 by mozey
June 9, 2008, 2:56 am
Filed under: blog | Tags: , ,

Often times what i’m doing does not require a bloated logger!. So here would be two cool functions to have in your class/script.


// input: array.
// output: The exact same array in your log.out.
function log_a($a)
{
$myFile = "/var/log/sgple20/log.out";
$fh = fopen($myFile, 'a');
fwrite($fh, "\n\n".print_r($a, TRUE).'');
fclose($fh);
}


// Input: A message.
// Output: The same message in your log.out.
function log_m($msg)
{
$myFile = "/var/log/sgple20/log.out";
$fh = fopen($myFile, 'a');
fwrite($fh, "\n".$msg."");
fclose($fh);
}



You know your programming lang sucks when you have this by mozey
June 7, 2008, 3:37 pm
Filed under: blog | Tags: , ,

I was playing around with a wordpress plugin!, i saw this jem!
$file = $file['file'];

WTF!?!?!?!?!?

++++++++++++++

UPDATE

++++++++++++++

Upon further thought!!!, i think you guys are right!, this is not the language’s fault. The variable names should have been named more clearly. NOW STOP BADGERING ME ABOUT THIS.



first computer programmer by mozey
June 5, 2008, 2:25 pm
Filed under: blog | Tags: , , , ,

Find out about here in this article, ๐Ÿ™‚ THis photo was animated using clipmann.com



wall, larry wall by mozey
May 2, 2008, 5:57 am
Filed under: blog | Tags: , , , , , , , , , , , , , , ,

This clip was created using clipmann.com

This really wont make any sense unless you know about geek code!.



clipmann.com, ambassador of the clip people by mozey
April 24, 2008, 7:09 am
Filed under: blog | Tags: , , , , , , , , , , , ,

For the past few months, I have been working on an app which gives you more freedom in creating your Lulz. Well, itโ€™s finally done. Meet ClipMann, the official ambassador of the clip people.

You will be able to:

  1. Upload your own images
  2. Stamp your uploads with a watermark customized to your website (name/colors/fonts)
  3. Submit your images to be included in the community (which could be approved or not)
  4. Chose from a HUGE array of funky fonts (South Park, Star Wars, Family Guy, Buffy the VS, and MANY more)
  5. Choose between SERIOUS community images selection, divided by categories (Cats, CatsNDogs, Politics, People, Tech, Random, Monsters, Robots)
  6. Create more than one lol at the same time
  7. Animate your concurrent lols as an animated gif
  8. Combine your concurrent lols as a comic strip

The following is an illustration of the type of lulz you can create. You have the normal comic strip look, with custom colors/fonts/backgrounds.

There is also the option of an animated gif that has been created by the same frames.

Please tell me what you think.



Php big brother by mozey
April 20, 2008, 7:32 pm
Filed under: blog | Tags: , , , , , , , ,



Two funny oxymoronisms by mozey
November 8, 2007, 4:43 pm
Filed under: Uncategorized | Tags: , , , , , , , , , ,

Constant Variable:

This is a term used in programming which refers to variables that are declared with one particular value. For instance,
PI = 3.14
NUM_OF_FLOORS = 19

BUT COMMON, how can something that vary in be constant!.

None refundable deposit:

I have been apartment hunting lately, and few landlords said that i can indeed bring in my pet (mimi poopoo, she’s a French feminist) for a none refundable deposit of 300 dollars.

HOW CAN A DEPOSIT be none refundable!. what the hall?!?!, and do not get me wrong, i’m reasonable, but USE THE PROPER TERMINOLOGY PEOPLE. If they would have called it “taking your money for no reason other than we can fee”, i would be okay with it.