Friday, March 23, 2012

win7 usb/dvd download tool

win7 usb/dvd download tool is super sexy in making bootable dvd's and usb's. Awesome UI. Try it once and you will become a fan of it. Use the following link to download. http://www.microsoftstore.com/store/msstore/html/pbPage.Help_Win7_usbdvd_dwnTool. My next blog will be how to create a VHD and install win8 consumer preview on it. I am excited to finish that blog.

Friday, March 16, 2012

Some shortcuts

In cmd prompt u might have faced this issue many times. 1. You "cd" to a folder location. 2. Now you have to go to a folder location in different volume. 3. You "cd" to it. 4. Now, you have to go back to the previous folder. If I have to deal with these situations, I prefer using multiple cmd prompts. But that may turn out to be a hassle. This trick may help you out in those situations. >pushd . //pushes the current directory location into a stack. >popd //takes you back to that folder that is on the top of the stack Hope this helps. :)

SSD vs HDD

http://www.bing.com/videos/search?q=difference+between+ssd+and+hdd&view=detail&mid=DC8212ACD004D6E8054EDC8212ACD004D6E8054E&first=0 Very good read about difference between SSD and a HDD

MBR vs GPT

http://www.tomshardware.com/forum/233291-32-what-difference Good read about the differences between Master Boot Record and GUID Partition Table

Monday, December 5, 2011

chopping off last word in a sentance: perl

$cn=~ s/\s*\b\Q$word\E\b(?!.*\b\Q$word\E\b)//s; will do

sqlite multiple statements in a single query

Using sqlite, for inserting in specific columns it is insert into 'test1' () select ('') as '' union select ('') union select ('');

Wednesday, November 23, 2011

web:apache permissions

Apache 2.0 changed the default DocumentRoot permissions to be very restrictive. While I can’t argue this is a better security paradigm than less restrictive default permissions, in the real world upgrading a server with 300+ domains, it can be a pain to script permissions changes in all of the config files. AllowOverride None Order Deny,Allow Deny from all Change the default permissions to be less restrictive with this instead: AllowOverride None Order Deny,Allow courtesy: http://damonparker.org/blog/2007/01/06/apache-error-client-denied-by-server-configuration/ I donot take the ownership of this content