Opening “Computer” or drive list screen by default in Windows 7

by vj 28. June 2010 11:24

If you are looking for making Windows 7 open the list of drives screens (“Computer” or “My Computer”) change the shortcut command to

%windir%\explorer.exe /e,::{20d04fe0-3aea-1069-a2d8-08002b30309d}

Tags: ,

Workarounds | References

KADHALIL SODHAPUVADU YEPPADI

by vj 19. June 2010 10:31

Open-mouthed Very cool Tamil short film

And another good one

Talking about short films, I came across VODO, which distribute made for torrent free short movies made by various artists. Check it out and spread the word http://vodo.net/

Cheers!

Tags: , ,

Entertainment | Movies

Taming the Google Search and IE search provider

by vj 14. June 2010 22:40

I really hate Google search service on one issue, the main search page by default chooses the language of the country of request origin. If Google had to proactively guess the language of my choice, they would have better used the “Language Preference” that I have set in the browser, but instead they blindly stuff everybody up with the language of the country of the requests origin.

For this reason I have set my home page to http://www.google.com/ncr which opts-out the ultra smart Google logic of throwing you onto the local countries locale search page. I believe NCR stands for No Country Redirect, but that expansion was not from an official channel.

This is more painful when you are searching the web using browsers inbuilt “Search Providers”. The user is simply thrown into the result page that is based on the foreign language, and clicking on the Google logo takes you to the main page with all your search result discarded into the void.

For Firefox, Opera and Chrome it was easy for me to customize the “Search Provider” through the built-in interface of the browsers, but on IE 8 there is no option to edit the exiting “Search Providers” (you can add, remove, enable, disable, move up, move down, but no Sir you cannot edit it!).

Fed-up with this restriction I went around the net to find the location where IE stored its Search Providers list and came across this blog post which described how to add default search providers by directly making entries in the registry.

It turns out the repository for all search providers for IE is located at

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes]

so, I edited my existing entry for Google’s provider from

http://www.google.com/search?q={searchTerms}&sourceid=ie7&rls=com.microsoft:{language}:{referrer:source}&ie={inputEncoding?}&oe={outputEncoding?}

to

http://www.google.com/search?hl=en&num=50&q={searchTerms}&sourceid=ie7&rls=com.microsoft:{language}:{referrer:source}&ie={inputEncoding?}&oe={outputEncoding?}&safeSearch=false&safe=images&newwindow=1&gl=us

Now it stills returns me the results from the local data centre, but at least the interface is in English and I get to have 50 results in one go and results are set to open in new window and that's neat!

References:

Steve Novoselac for providing with the registry location details of IE’s search providers

Google Search Protocol Reference

Peter “TCSM” Wailes for Google search parameter debunking

 

Cheers!

Tags: , ,

Workarounds | Technology | References

I Love the Whole World, the World is Just Awesome

by vj 11. June 2010 16:45

Came across this videos from Discovery, love them! Happy

 

and here is the second version of it

 

You can download them for your infinite viewing and hearing pleasure from Discovery’s website, get the video and audio.

 

Cheers!

Tags: ,

Just Like That

Got connected!

by vj 8. June 2010 00:46

Just got connected to the net from new home, its a nice feeling to think that its possible to get connected and do online stuff at the comfort of home.

For checking the speed of the connection tested it against http://www.speedtest.net/ and got the output close to what I had subscribed for :)

Subam!

Tags: , ,

Just Like That

DVCS it is!

by vj 26. April 2010 19:48

After CodePlex announced that they are supporting Mercurial, I have been seeing a lot about it on the net. In the following months I am slowly planning to switch over to Mercurial from my existing system. Below are few links that I found useful in understanding and evaluating Mercurial:

Fog Creek has released a source control system named Kiln based on Mercurial, and Joel Spolsky has posted a very nice tutorial / introduction to Mercurial.

TekPub has published an introductory video on using Mercurial along with CodePlex.

Get one of the following Visual Studio plug-ins for using Mercurial as your source control system

Visual HG

Mercurial SCC

I am also starting off with an open source project for a remote service administration requirement at the institute I work, for which details will be provided in the short future.

Happy DVCSing! :)

Tags: ,

References | Technology

வெற்றி – Victory!

by vj 26. April 2010 09:13

Chennai Super Kings!

For the first time rejoiced for Sachin’s wicket, felt guilty!

Congrats guys! Good going :)

Tags:

Just Like That

Digging into old components through MSIL

by vj 22. April 2010 20:57

Yesterday and today I had to deal with an old component who’s source code has already been ported from .net framework v1.1 to v3.5 (most of them rewritten from scratch). This asp.net based component was working fine till sometime last week and then suddenly started throwing up exceptions. Due to some legacy dependencies the web app had to be run in v1.1 and I do not have VS2003 with me.

The old architecture worked in a manner where a particular variable was passed from web app 1 to web app 2 through query string and the web app 2’s initial page stored that variable as a session variable for the rest of its pages to use them.So, when we were going through the initial steps of debugging the issue we figured out that a session stored variable was not getting passed to a stored procedure, and further investigation showed that for some odd reasons the session was getting expired and taking all the session stored variables into the oblivion along with it.

In order to get the application up and running in the shortest time, all we needed to do was change the stored procedure value to be taken from query string instead of the session variable. But since I didn’t have the means to recompile the source code into its own framework v1.1 form, I thought the best option would be to find tools which would allow me to just change the IL directly on the assembly.

After researching a while I found 2 great tools for it (apart from the ildasm / ilasm tools of the visual studio’s tool chest):

1. Dotnet IL Editor
2. RelexIL Addon for Reflector

Since I am not a pro on MSIL editing, I choose to go with the ReflexIL add-on for Reflector. After adding the add-on to the Reflector, I was able to locate the area that needed modification and carry out the changes.

Cheers to Jb Evain for the Mono.Cecil and Sebastien Lebreton for the ReflexIL!

Tags: ,

Technology | References

Auto-starting MS OneNote in minimized mode

by vj 10. March 2010 20:43

This Microsoft help page is of no use - Command-line switches in Microsoft Office OneNote 2007 - OneNote - Microsoft Office Online

 

Instead use: “%PROGRAMFILES%\Microsoft Office\Office12\ONENOTEM.EXE” /tsr

Have a nice day!

Tags: ,

Technology | Workarounds

Google public DNS servers

by vj 14. December 2009 03:27

This is nice! When you are trying to increasing every possible way of speeding up your browsing speed, DNS servers are also a vital area to focus. I have so far used OpenDNS, but there had been few privacy concerns with them. Now with Google providing public DNS service I hope its going to be all good.

Make use of Google’s public DNS by setting primary / secondary DNS server IP’s to:

8.8.8.8

and

8.8.4.4

 

Good day! :)

Tags: ,

Technology | References

Life…

by vj 30. October 2009 20:13

Life is an opportunity, benefit from it.
Life is beauty, admire it.
Life is bliss, taste it.
Life is a dream, realize it.
Life is a challenge, meet it.
Life is a duty, complete it.
Life is a game, play it.
Life is a promise, fulfill it.
Life is sorrow, overcome it.
Life is a song, sing it.
Life is a struggle, accept it.
Life is a tragedy, confront it.
Life is an adventure, dare it.
Life is luck, make it.
Life is too precious, do not destroy it.
Life is life, fight for it.

 

- Mother Teresa

Tags:

Just Like That

Starting with Ajax.net

by vj 12. September 2009 20:10

Starting off with ajax.net development for a project requirement. To wet the legs I stated off with a hello world application, and faced few issues. Thankfully the workarounds were easy and took very little time. This post is for reference purpose to others who may face the same problem.

 

Tools:

Windows XP SP3

MS Visual Studio .NET 2008

MS SQL 2008 Dev. Ed.

 

Game:

  • Created an empty folder D:/Projects/Test/Ajax/Hello1
  • Created virtual folders /AjaxTest –> D:/Projects/Test/Ajax/ and /AjaxTest/Hello1 –> D:/Projects/Test/Ajax/Hello1
  • Opened VS, opened website /AjaxTest/Hello1
  • Added new AJAX Web Form (Default.aspx)
  • Went to design view and was presented with the following error on the design page:
    • image
  • Since it was reference error, I tried adding an empty Web Configuration file and reloaded the web form in design view and it solved the issue
  • Added an update panel, a label and a button to the web form
  • Added an event to the button click to display a message on the label
  • Loaded the web form on the browser and was presented with the following exception:
    • The path '/AjaxTest/Hello1/App_GlobalResources/' maps to a directory outside this application, which is not supported.
  • Did some research online and found that adding a trailing slash to any virtual application home folder in the current web sites path causes this problem.
  • Removed the trailing slash of AjaxTest virtual folder
  • All is well now! :)

Happy coding!

Tags: ,

Technology | References

f.lux your system and protect your eyes

by vj 28. July 2009 11:38

If you are like me who like to work at the wee hours (just because sometimes you just get those cranky workarounds and logic just about that time ;) ) you may have noticed that the screen brightness of your laptop is too bright and painful. f.lux is a freeware application which when installed adjusts your monitor brightness and colour warmth according to the current time of the system.

 

Give it a go at http://www.stereopsis.com/flux/

Tags:

References

Day After Day – Badfinger

by vj 15. July 2009 17:20

A very pleasant song, has that surrealistic / neo-romantic feel about it.

Tags:

Entertainment

US Zip/City/County/State spatial data all ready for your SQL Server 2008… Just download, SQLCMD/import and go

by vj 22. April 2009 03:16

This is so cool, if we could get a similar data made available for GCC my life would be so easier :D

 

[via] Geeks are Sexy

 

CodePlex - US Census Data for SQL Server 2008

Project Description
This is a repository for US Census Data for SQL Server 2008 with spatial information. Some of the data that is and will be included will be for states, counties, cities, and zip codes. The project will be updated as the data is available in SQL Server 2008 format.

Please note that this tables contain geometry data types made for the "Flat Earth Model."

Data downloaded from http://www.census.gov and imported using the SQL Server 2008 Spatial Tools (http://www.sharpgis.net/page/SQL-Server-2008-Spatial-Tools.aspx) by Morten Nielsen

Florida

FloridaCounties "

…”

US Census Data for SQL Server 2008 - State and County Table

“…

State Table
source code, 1785K, uploaded Today

County Table
source code, 14132K, uploaded Sat

Release Notes

The State and County Table are based on the 2000 Census Data and was normalized to the best of my knowledge. Please note that the the County table requires the State table. Both scripts contain the create and insert of the data.

The State geometry was derived by grouping all of the counties of each state using the User Defined Function found here: http://conceptdev.blogspot.com/2007/12/sql-server-2008-geometry-stunion.html

…”

US Census Data for SQL Server 2008 - Version 0.0.1.0

"...

State
source code, 1528K, uploaded Today - ...

County
source code, 7148K, uploaded Today -...

City
source code, 12258K, uploaded Today - ...

ZipCode
source code, 42531K, uploaded Today - ...
Release
Notes

Changes:
Added the ZipCode table
Modified all scripts
to include the spatial index
Compressed the files to a rar to make the files
smaller#

..."

A number of the podcasts I listen to have been covering SQL Server 2008’s spatial data type, so when I saw this I knew I had capture the data and mention it…

Update 4/20/2009 @ 7:15am:

There's now a City table/download (21860K) too... ;)

Update 4/20/2009 @ 4:20PM:
Added 0.0.1.0 block, which includes ZipCode data!

US Zip/City/County/State spatial data all ready for your SQL Server 2008… Just download, SQLCMD/import and go
Greg (noreply@blogger.com)
Sun, 19 Apr 2009 19:18:00 GMT

Tags: ,

Technology | References