Sunday, July 01, 2007

NFS Carbon .. Career completed

I was playing NFS carbon for some time. and now i have completed all the career races. The last Cannion duel with Darius was a bit tough, but all other races were quite easy. Now i will play the challenge series.here are some screen-shots:





Saturday, June 30, 2007

Harry potter

All the harry potter lovers.. u all know the 7th book of harry potter series is going to be released on July 21 this year. I searched for rumors and facts about this book, and found some site really interesting. if you have no work and your time is not passing then u can stop by these sites and read the comments and posts.
Cheers

Friday, June 22, 2007

Happy Birthday...

Hu u u u.....
Happy Birthday to me...

hi all, today is my silver jubilee. But what i am doing now.. Can you guess? I am still in the office an doing some debugging stuffs.. :(. Funny co-incidence. Last year also on this day i was here. And gave interview for job at Google, India. And this year, I am working in Google. Woooh...
I just want to say (in google words ) I'm Feeling Lucky.
Take care everyone.

Again happy birthday to me.... :)

Monday, June 18, 2007

Opening the current editing file's parent folder in explorer from Visual Studio

Run Visual Studio.
Go to "Tools | External Tools | Add" and use the following settings for the new tool.

Title:       Show in &Explorer
Command: c:\windows\explorer.exe
Arguments: /select,$(ItemPath)


done.. you can now open the folder containing the currently editing file in explorer. You can assign keyboard shortcut for this command if you want to.

For further questions read this
http://msdn2.microsoft.com/en-us/library/9814d200(VS.80).aspx
http://msdn2.microsoft.com/en-us/library/80cb6ks3(VS.80).aspx

Tuesday, June 12, 2007

Russian CAPTCHA



nothing left to say about this captcha

Playing NFS Carbon Again

Everyday before i come back from office, i play NFS Carbon. I just love this game. thats why playing again. 50% complete now. and this time i dont want to finish it very early. :)

Sunday, June 10, 2007

List of site for downloading e-books

Hi all, how r u? After a long break i will write here regularly again. Below here is some links where you can download free books. check these out. i am sure it would be beneficial for you. take care. If you know some other sites where books can be downloaded please leave a comment and the link of the site. ciao. :)

ftp://194.44.214.3/pub/e-books/ [6/12/07]
http://www.esnips.com // this site is actually is a file sharing site, quite useful. lots of books also here

Wednesday, June 06, 2007

Visual Studio Tips.. 80 Character Guideline

Enabling Guidelines in Visual Studio

Lots of people wants to limit the number of character in one line of their code to be maximum of 80/100. This is done basically for readability. Believe me, code looks really readable if you follow the character limit for one line. Here is the way to have character guidelines in microsoft visual studio editor.

First, shut down Visual Studio if already started.Open Registry editor (start>run>regedit.exe). Browse to

[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\7.1\Text Editor]

[here 7.1 is used for visual studio 2003, look for 8.0 if you use vs 2005, or 9.0 for vs 2008]. Create a string value called

Guides

Set Guides to the following

RGB(x,y,z) n1,...,n13

Where x,y,z are the RGB values and n is the column number. You can have at most 13 guidelines. For example set the Guides value data to,

RGB(128,0,0) 80,100

This will place a Red guideline at column numbers 80 and 100.
And now launch VS and open any text file.

Disabling Guidelines
Just delete the Guides keys you created above. Restart VS, and no more guidelines.

Easier Way:
You can download following registry file and run which will do the same thing.
vs2003_guideline.reg
vs2005_guideline.reg
vs2008_guideline.reg
vcs2008ExpressEdition_guideline.reg

If you find this post useful, you might also like [this] and [this] post by me as well.

Thanks

Programming Windows - Part II

Some resources i found quite useful. Its basically for win32/ATL/WTL programmers.
read:
Programming Windows by Charles Petzold [download ebook]2625KB
Inside ATL [download ebook]1633KB
ATL Internals [download ebook]4174KB


Win 32 API tutorial:: http://www.relisoft.com/win32/index.htm

WTL Links:

If i find any more tutorials or books i will post it here.

A few more movies

Watched 'Hitcher' a few days ago. Not that kind of movie to waste your time watching it. A total waste of time. I also watched 'Wizards of Oz' some days back. awesome movie. if you like the classic movies you can watch it. Anyone of you watched 'The Graduate'? its an awesome movie. Dustin Hoffman is one of the main character here. he is so good...

Tuesday, May 22, 2007

The Departed

Yesterday i watched movie "The Departed". I would say its a great movie. Jack Nicholson, Matt Damon, Leonardo DiCaprio all of them did their best. Jack Nicholson is great. Fist i saw him in "One flew over the cuckoo's nest" and now in The Departed. Now i am a big fan of him. I gonna see more movies of him.

Sunday, May 20, 2007

For serious developers

Hi all, how r u?
Few days from now i started using two softwares and really amazed using those. One is Source Insight and the other is Visual Assist X. These two softwares will boost your productivity 10x times. And they are so helpful, particularly if you have to jump in the middle of a ongoing project. You will understand the codeflow, context, symbols very clearly within a very short time. Normally what we do is start debugging the code, find out ways to resolve some bugs. But they will reduce the time for debugging. You just play with them and explore the magic.
I also found some productivity tips which helped me a lot. I will append them later on this post. take care. bye.

Tuesday, May 15, 2007

A movie to remember

Yesterday i saw the movie "One flew over the cuckoo's nest". what a movie! After finishing the movie it was in my thought for a long time. I kept thinking why? why this? why that? After a long time I have seen such a good movie. If you havent seen this, do yourself a favor, watch this. I will remember this movie for a long time.

Firefox & Gmail

If you dont like firefox, you can stop reading this post.

If you use Greasemonkey, an extension for Firefox that allows cool enhanced scripting. I think you will find some really useful scripts for gmail in googles code section. http://code.google.com/p/gmail-greasemonkey/


[Suggested by joy rahman]

Also checkout
[1] Gmail Insert HTML Signature
This script enables you to enter mail signature in HTML Format in GMAIL.
http://userscripts.org/scripts/show/6356

[2] Gmail Filter Assistant v0.16
Add an embedded filter management module in message display page, which makes adding a filter much easier.
http://userscripts.org/scripts/show/7997

[3] Gmail Signature Float
Moves your signature in Gmail to the top of the message rather than the bottom when replying or forwarding an old message.
http://userscripts.org/scripts/show/3067

check out for more at http://userscripts.org/scripts/search?q= gmail

Have fun :)
Bye

Add a Command Prompt option to the default Explorer right click context menu

Through the Registry
  1. Navigate in your Registry to

    HKEY_LOCAL_MACHINE/Software/Classes/Folder/Shell

    and create a key called "Command Prompt" without the quotes.

  2. Set the default string to whatever text you want to appear in the right-click menu.

  3. Create a new key within your newly created command prompt named "command," and set the default string to

    Cmd.exe /k pushd %L

    You may need to add %SystemRoot%/ before the Cmd.exe if the executable can't be found.

  4. The changes should take place immediately. Right click a folder and your new menu item should appear.

Note: You can do the same for Windows 98. Type in "c:\windows\command.com /k pushd %L" (without the quotes).

For more details goto this link

DOA & Eragon

Yesterday i have seen two movies, Dead or Alive (DOA) and Eragon. Both of them failed to meet my expectations. DOA is ok as it have some fancy karate skills show added with some flavour ;). But i was expecting Eragon to be much better as the reviewsers said.
Today i may see The wizard of oz. Its a 1939 classic and in the top ten for all time great movies.
Bye

Saturday, May 12, 2007

Programming Windows

Hi all,
I have started learning windows programming. Haven't gone through a lot. Just in the beginner position. I bought the book "Programming windows, 5th Ed" By Charles Petzold. This is quite good. Although the book says knowledge in C is ok to start windows programming but i doubt that. Anyone who wants to start windows programming, prolific knowledge in C and OOP is must. Here i am only talking about native code (win32) not the managed code. After completing petzold i have planned for learning ATL and WTL. A lot tutorials can be found over net on those topics but for WTL - i found tutorials on Codeproject is the best. Books on ATL or WTL seems rare. I couldn't manage any.
Looking for more tutorials on win32, ATL & WTL. If i find any i will post those here. And if you have any links to share with me please leave a message.
Bye