2010 in review

The stats helper monkeys at WordPress.com mulled over how this blog did in 2010, and here’s a high level summary of its overall blog health: The Blog-Health-o-Meter™ reads Wow. Crunchy numbers A helper monkey made this abstract painting, inspired by your stats. About 3 million people visit the Taj Mahal every year. This blog was … [Read more…]

Random password generator with JavaScript

In JavaScript To generate password use the following function. function generatePW() { var i=0; var s=”abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_?/:(){}[]0123456789″; var pw=””; var c=(Math.random() * 3)+9; for (i=0; i<c; i++) { pw+=s.charAt(Math.random() * 72); } return(pw);} Here the JavaScript function Math.random() generates a random number from 0 to 1 (actually just less than 1). So the code: var c=(Math.random() … [Read more…]

PHP Fatal error: Allowed memory size of 65498749874 bytes exhausted ….

This error message can spring up in a previously functional PHP script when the memory requirements exceed the default 8MB limit. Don’t fret, though, because this is an easy problem to overcome. To change the memory limit for one specific script by including a line such as this at the top of the script: ini_set(“memory_limit”,”12M”); … [Read more…]

Convert Viedo to .Flv Using c#.net on Web

The method to convert video to .flv is too easy. You can downlaod following files from here or .net. 1) ffmpeg.exe 2) ffplay.exe 3) pthreadGC2.dll After dowloading all the files Follow the steps wrtitren:- 1)Make a new .net web site or windows application. 2)Copy and paste all the 3 above written files to root location … [Read more…]