Posts

Showing posts from 2011

Increase typing speed

Image
Well, in past few weeks, many of my friends asked me, how you type at this much fast speed, without seeing at "keyboard" ? So, I thought lets talk about it. "QWERT" keyboard is old design, but looking impossible to change in near future (remember - Nothing is impossible!). So, lets start with basic learning. I am sure that if you follow below steps for at least 15 days, you can feel the change in your speed. The tutorial - practice is designed like that, it helps same to new computer learner as well as to all who knows computer from top to bottom. Steps :- 1 . Most of the computer people have much writing experience, but they haven't put in a proper way, so they can not get full benifit of the full speed without looking at keyboard. So, first step is : "press the each key with right fingure". i.e. keyboard has two parts and those part is covered by left and right hand respectively (also shown in figure). For practice of 1st step

SAX parsing for cdata tag for large xml file

     Here, I have given the code for parsing or reading large xml files using php.      Large xml files in php  are parsed using this  SAX  parser. The inner function of php, which gives directly the data of xml, can handle only small xml files (mostly upto 1KB to 50KB). So for parsing large xml files having data like 5MB, 50MB, etc. we have to use this method.      The code is given as simple as possible. Just enter your xml file path in 5th line. The 30th line gives the switch cases. Each switch case has one tag name of xml file. So if we want to perform any search or value of that tag or some other operation also can be done in that switch case area. From 54th line, we can do ending operation of that xml file. For ex. if we want to put data in table, we can complete table tag there.      The cdata tag is parsed in characterdata function on line 73. All cdata tag is parsed there and we can perform operation as we want. I have given code for comparing xml tag value with HTTP&#

Install Pear in Wamp Server 2.2 (with php 5.3.8) for windows

First of all, install wamp 2.2 from  Wamp server 2.2 . After that download pear from below. DOWNLOAD PEAR Then run following command in the command prompt. C:\wamp\bin\php\php5.3.0>php go-pear.phar Are you installing a system-wide PEAR or a local copy? (system|local) [system] : system Below is a suggested file layout for your new PEAR installation.  To change individual locations, type the number in front of the directory.  Type 'all' to change all of them or simply press Enter to accept these locations. 1. Installation base ($prefix)                   : C:\wamp\bin\php\php5.3.0 2. Temporary directory for processing            : C:\wamp\bin\php\php5.3.0\tmp 3. Temporary directory for downloads             : C:\wamp\bin\php\php5.3.0\tmp 4. Binaries directory                            : C:\wamp\bin\php\php5.3.0 5. PHP code directory ($php_dir)                 : C:\wamp\bin\php\php5.3.0\pea r 6. Documentation directory                       : C:\wamp\bin\php\

Windows 8 download

Image
Good news for developers. Windows 8 is now available for download from official microsoft site. Just go to windows developer site dev.windows.com and choose download from 3 different version. You can download directly from here also. Windows Developer Preview with developer tools, 64-bit (x64) DOWNLOAD (4.8 GB) Includes, 64-bit Windows Developer Preview Windows SDK for Metro style apps Microsoft Visual Studio 11 Express for Windows Developer Preview Microsoft Expression Blend 5 Developer Preview 28 Metro style apps including the BUILD Conference app Windows Developer Preview English, 64-bit (x64) DOWNLOAD (3.6 GB) Includes a disk image file (.iso) to install the Windows Developer Preview and Metro style apps on a 64-bit PC.   Windows Developer Preview English, 32-bit (x86) DOWNLOAD (2.8 GB) Includes a disk image file (.iso) to install the Windows Developer Preview and Metro style apps on a 32-bit PC.

Windows 8 boot time deleted….!!

Image
Microsoft putting all efforts to make windows 8 an unbeatable os. Like its a new generation begins here. Here I present, a video that displays boot time of windows 8.