jump to navigation

Do Not Call Registry December 22, 2006

Posted by Mayank in Uncategorized.
add a comment

We’ve all been troubled the tele-marketing people at some point of time or the other. It is indeed interesting to know that some banks have finally started maintaining “Do Not Call Registers”. Some telecom operators also provide the facility of registering your phone for the “Do Not Disturb Service”. I was planning to list some sites here, when I found this interesting blog.

Hope you guys find it useful.

Advertisements

Keyboard Shortcuts – Windows Applications December 18, 2006

Posted by Mayank in Uncategorized.
1 comment so far

I just realised that simple keyboard shortcuts which I termed discoveries in my previous post about Firefox, seemed discoveried because finding the keyboard shortcuts of an application can really be tideous. I’ve decided to post the url’s of all keyboard shortcuts of applications that I use. So here it goes:

1. Eclipse
2. Firefox
3. Internet Explorer
4. Windows XP

PS – Please feel free to either mail me or add new urls in the comments below, I’ll include them in the post.

Firefox December 18, 2006

Posted by Mayank in Uncategorized.
add a comment

I have been using Ctrl-Enter in Firefox/IE to reduce my typing for a long time. This keyboard shortcut takes care of prepending “http://www.” and appending “.com” to the name of the site you type in the address bar.

e.g. to go to http://www.google.com, you would go to the address bar and type “google” (without the quotes 🙂 ) and press Ctrl-Enter

I just discovered that Firefox has some other such address completion shortcuts.

It has Shift+Enter for .net addresses and Ctrl+Shift+Enter for .org addresses.

For a complete list of their keyboard shortcuts, you can refer this link.

Motherboard scare … December 16, 2006

Posted by Mayank in PC.
add a comment

I just assembled my PC with an ASUS P5B Deluxe/Wifi AP mobo. The very next morning I got the scare of my life, my PC would just not boot. I would not hear the any beep codes either, so I had no clue about what was happening.

For a minute I thought that I had a blown up motherboard :(. I decided to start checking out all components on the Mobo to figure out if a blown component was screwing things up.

As i plugged in each component at a time and tried starting the PC after plugging in each component, I realised that the two RAM slots were blown for some reason. When I shifted the DIMMs to the other memory bank the PC started working fine.

So if you guys have a non-responsive mobo on boot up with no beep codes, you might be interested in trying to reassemble all the components on the Mobo just to isolate the erring component/slot.

How to Slipstream a Windows CD with a Service Pack December 15, 2006

Posted by Mayank in winxp.
add a comment

Slipstreaming refers to the process of integrating a Service Pack into the OS installation itself. Thus, all further installations of the OS will have the service pack preinstalled, thereby eliminating the tideous task of installing the service pack after the OS installation.

<google-e-azam break>
….
….
….


….
</google-e-azam break>

I was searching around for some good english to include in this blog, when I found this wonderful tool ! The tool is called nlite (http://www.nliteos.com/index.html). Its a neat tool which not only allows you to slipstream the service pack, it also allows you to customize your windows installation. It has support for burning a bootable image onto the cd/dvd.

So I guess anyone who reaches this blog and wanted to learn how to slipstream a cd, well I think you should be using this tool !! However, for the geeks out there, here are couple of links that I used to learn slipstreaming :
1. http://www.helpwithwindows.com/WindowsXP/winxp-sp2-bootcd.html
2. http://www.winsupersite.com/showcase/windowsxp_sp2_slipstream.asp (this site has instructions for burning the bootable cd with roxio as well as nero)

System Properties in JAVA December 15, 2006

Posted by Mayank in java.
add a comment

JAVA has some system properties which are available to all java applications. These properties contain information about the jvm, os, user, etc. The list of properties available in JDK 1.4.2 is –

Key Description of Associated Value
java.version Java Runtime Environment version
java.vendor Java Runtime Environment vendor
java.vendor.url Java vendor URL
java.home Java installation directory
java.vm.specification.version Java Virtual Machine specification version
java.vm.specification.vendor Java Virtual Machine specification vendor
java.vm.specification.name Java Virtual Machine specification name
java.vm.version Java Virtual Machine implementation version
java.vm.vendor Java Virtual Machine implementation vendor
java.vm.name Java Virtual Machine implementation name
java.specification.version Java Runtime Environment specification version
java.specification.vendor Java Runtime Environment specification vendor
java.specification.name Java Runtime Environment specification name
java.class.version Java class format version number
java.class.path Java class path
java.library.path List of paths to search when loading libraries
java.io.tmpdir Default temp file path
java.compiler Name of JIT compiler to use
java.ext.dirs Path of extension directory or directories
os.name Operating system name
os.arch Operating system architecture
os.version Operating system version
file.separator File separator (“/” on UNIX)
path.separator Path separator (“:” on UNIX)
line.separator Line separator (“\n” on UNIX)
user.name User’s account name
user.home User’s home directory
user.dir User’s current working directory

(reproduced from the J2SE v1.4.2 javadoc)

You can read these properties in your code like this :
String propertyValue = System.getProperty(“<propertyName>
“);

In order to learn more about the System Properties available in the release of JAVA you are using, please consult your JDKs javadoc for java.lang.System.