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);
}

Advertisement


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.



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: , , , , , , , ,



Rapyd Library is a godsent by mozey
August 28, 2007, 6:50 pm
Filed under: Uncategorized | Tags: , , , , , , ,
Now, THATS A PRODUCT, i love it, i love it i love it.

Okay okay okay, lets take it back few steps, rapyd is a framework/library built on top of Code igniter. Code igniter is an MVC php framwork that just,,,,,,, kicks ass. And rapyd is a library that codes all of your most redundant tasks for you such as, CRUD generating, logical layout, user authentication, etc.

It goes beyond just simple scaffolding, if you are into web development at all, YOU NEED to give this a W00T.

It features (and i qoute rapyd.com for this):

Data Presentation Components

  • It has a theme/views system to standardize components layout
  • A tag-based function-engine (to easily format field values)
  • An easy way to paginate data (with CI helpers / libraries like uri and pagination)

Data Editing Components

  • A tiny dynamic ORM (DataObject), based on CI Active Record (now with a basic support for relationships)
  • Many field classes: input, textarea, editor (tinyMCE), datetime(jscalendar), etc..
  • A form class (based on field classes and CI libs, helpers)
  • An elegant way to create CRUD interfaces (like CI scaffolding feature, but totally customizable)

Happy coding people,