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
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
Saturday, March 5, 2011
Differences betn Java and C++
http://www.javacoffeebreak.com/articles/thinkinginjava/comparingc++andjava.html
Subscribe to:
Posts (Atom)