Posts Tagged ‘way’

Customize the Google country-specific search in Firefox

Perhaps you have noticed that by default google.com redirects you to a country-specific version of google based on your IP. This is extremely noticeable when you are travelling or using a proxy. We will see two solutions to the problem.

The first solution is to type http://www.google.com/ncr in your address bar. This sets a cookie in your browser, which on the other hand tells google not to redirect you. This solution however is not the best, since you completely disable the country-specific search and if you delete your browser cookies you will have to repeat the procedure.

Note: This solution is not Firefox-specific and can be implemented with every browser.

The second solution is a bit more elegant, as it allows you to use multiple country-specific versions of google search, it is not cookie based and it doesn’t change the default behavior of google.com.

The second solution utilizes the Firefox search bar:

By default all searches made from the search bar use google.com, however it can be extended to support multiple country-specific google flavors. Let’s show how we can modify it to use google.de as well.

Of course you may ask “What is the point of that? I can always type google.de in my browser”. True, but by extending the search bar, you can finally have a uniform way for doing searches, which makes searches a lot easier.

But let’s see how we can extend the Firefox search bar. Navigate to the searchplugins subdirectory of the Firefox directory (usually C:\Program Files\Mozilla Firefox\searchplugins). You can see several xml files there:

Copy the google.xml file to google.de.xml. Move google.de.xml to the Firefox profile folder\searchplugins (C:\Users\<your username>\AppData\Roaming\Mozilla\Firefox\Profiles\<your Firefox profile name>\searchplugins on Windows 7)

Now change google.de.xml in such way.

Old:

New:

You can see that we have changed the ShortName, the template argument of the second URL tag and the SearchForm.

Restart Firefox and now you can see Google.DE in your search options:

VN:F [1.9.18_1163]
Rating: 1.0/10 (1 vote cast)

10 example of using find command in linux

Find is very versatile command in UNIX and I used it a lot in my day to day work. I believe having knowledge of find command in UNIX and understanding of its different usage will increase your productivity a lot in UNIX. If your works involve lots of searching stuff or if you are a java or C++ programmer and your code resides in UNIX, find can greatly help you to look for any word inside your source file in the absence of an IDE, find is the alternative way of searching things in UNIX. grep is another command which provides similar functionality like find but in my opinion find is much more powerful than grep in unix.

This article is in continuation of my earlier article Top 10 basic networking Commands in Unix and Top 10 most useful CVS command in Unix .

Here I am listing down some of the way I use find command regularly, I hope this would help some one who is new in UNIX and find command or any developer who has started working on UNIX environment. this list is by no means complete and just some of my favorites , if you have something to share please share via commenting.

1) Running the last executed find command in Unix:

!find
This will repeat the last find command executed. It saves lot of time if you re searching for something and you need to execute same command again and again. In fact \"!\" can be used with any command to invoke previous run of that command.

2) Finding files which has been modified less than one day in Unix:

find . -mtime -1
This is my favorite while looking out some issue just to check which files have been modified recently which could be likely cause of issue, believe me it helps a lot and many a times gives you enough hint of any problem due to intended or unintended file change. Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (10 votes cast)

How to import data from Internet Explorer to Google Chrome

There is one downside to picking a browser – you have to pick it very, very carefully. Cause most of the times when you decide “This browser sucks! I’m changing it!” you come to the realization that you will lose all your bookmarks, stored passwords, browsing history, etc. Well actually it depends. There are many tricks to export your personal data from one browser to another. In this short tutorial we will show you a quick and easy way to import all your personal data from Internet Explorer to Google Chrome. Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (10 votes cast)

How to turn on/off shadows in Windows 7

Windows 7 has a nice new and shiny User Interface. However some users find some features to be annoying or way to expensive in terms of resources. We will show you how to turn off/on shadows in Windows 7.

First, right-click on Computer and select Properties:
Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (0 votes cast)

How to setup remote debugging in eclipse ?

Remote debugging is not a new concept and many of you are aware of this just for who don’t know what is remote debugging? It’s a way of debugging any process could be Java or C++ running on some other location from your development machine. Since debugging is essential part of development and ability to debug your application not only saves time but also increase productivity. Local debugging is the best way in my opinion and should always be preferred over remote debugging but if local debugging is not possible and there is no way to debug your process then remote debugging is the solution.
Many of us work on a project which runs on Linux operating system and we do development mostly on Windows. Since I am working in Investment banking and finance domain I have seen use of linux server for running electronic trading application quite a lot, which makes development difficult because you don\”t have code running on your development machine.
Some time we managed to run the project in windows itself which is essential for development and debugging purpose but many times its not possible due to various reason e.g. your project depends upon some of the platform dependent library or some Linux module whose windows version may not be available or your project is too big to run on windows and its heavily connected to upstream and downstream system its almost impossible to create same environment in your windows machine for development.
On such situation my approach to work is isolate the work I am doing and test that with the help of mock objects, Threads or by trying to run that module independently but this is also not a desired solution in some cases where you need to debug the project at run time to find out some subtle issues.

Eclipse provides us most useful feature called \"Remote debugging\" by using which you can debug your Linux running process from your windows machine. believe me this become absolutely necessary in some condition and knowing how to setup remote debugging and working of remote debugging in eclipse can greatly improve your productivity. In this Eclipse tutorial I will try to explain eclipse remote debugging or how to setup remote debugging in eclipse. Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (0 votes cast)

Fix Numbered Lists in MS Word 2007 by using Smart Tags

If I have to point the most frustrating and annoying thing about the previous versions of MS Word it would be, without any doubt, the numbered lists and the way they would simply break if you put an object in their way. Normally this is not a big deal and you could simply select a different starting value for the “new” numbered list, but when the numbered lists are pretty long and they are broken in many places you have to modify them everywhere and it gets extremely frustrating. Well MS Word 2007 fixes that annoyance. Let’s see how.

Consider the following:
Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (0 votes cast)

How to verify the integrity of Windows 7 and Windows Vista system files

One way to check your Windows for missing or corrupt system files is by booting the Windows CD/DVD into repair mode. But there must be an easier way, right? Well there is. Using one simple command you can run a utility that will do all that checking all by itself without the need for your Windows DVD.
First, we will open the Command Prompt in administrator mode. To do that locate the Command Prompt in the start menu (All Programs > Accessories > Command Prompt), right click on it and select Run as administrator:
Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 1.0/10 (1 vote cast)

How to increase Firefox 3 productivity by decreasing the disk cache capacity

There are many ways to tweak Firefox to atune it to your own PC. Here I will show you how to decrease the disk cache capacity. By doing this you will limit the disk space Firefox uses for cached web pages. This way you may experience a little slower browsing, but an overall increase in Firefox performance.

Open Firefox and open a blank tab. Enter about:config in the Address Bar and press Enter:
Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (10 votes cast)

How to change the gridlines color in MS Excel 2007

To be honest, I find the standard MS Excel gridlines color a little annoying. It blends way to much with the new blue look of MS Excel and one could choose a better color to make the sheet more readable. Well, like pretty much everything in MS Excel, you can change the default gridlines color.

Open MS Excel. Click the MS Office button and select Excel Options:
Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (10 votes cast)

How to hide or show libraries in the navigation pane in Windows 7

I never got used to using the new Windows 7 feature called Libraries. To be honest I find them quite pointless. Apart from the indexing feature which allows you fast searches, they have no other use. Not to mention that they fill way to much space in the navigation pane of Windows 7 Explorer. So, let’s hide them. Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (10 votes cast)