Posts Tagged ‘location’

Set different download locations for different filetypes using Opera

There is one thing about most browsers that really annoys me. It’s related to the download location. First of all it can take you half an hour to find how to change the default download location and after you find it you realize that you can setup only one download location for all types of files. Now this may seem a bit nitpicky, but when you download a lot files you certainly expect a little more sophisticated behavior from your browser. Of course you could always use a download client, but considering how advanced are our browsers it is kind of ridiculous to use such a client nowadays.

Introducing Opera’s download settings – a browser that lets users set their default download location for each filetype. In this short tutorial we will show you how to do just that.

First of all open Opera, click on the Opera button select Settings > Preferences:

Note: Alternatively, you can use Ctrl + F12.

A new window will open:

Navigate to the Advanced tab:

Select Downloads in the left-hand pane:

Here you can see a list of recognized files (listed with their MIME types) and the default download folder. However you can easily set a folder of your choice. Select a file type and click the Edit button. A new window will open:

Here you can directly choose the appropriate behavior for that file, including whether to be saved, opened with Opera, opened with a plug-in, opened with an application of your choice or saved to a specific location. To set a specific location for this kind of file, simply select the Save to disk radio button, check the Do not ask for folder, but save directly to option and choose the appropriate directory:

Click OK and click OK in the Preferences window.

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

Tips on Symbolic link or symlink in Unix Linux

In this tutorial I have shared my experience with Unix soft links and hard links.I found them extremely useful and have seen its versatile usage in various project.

This UNIX command tutorial is in continuation of my earlier article Top 10 basic networking Commands in Unix and 10 examples of using find command in UNIX if you haven’t read already you may find some useful information based on my experience in Unix and Linux commands.

Though this UNIX command tutorial is dedicated to highlight Differences between soft link in UNIX and hard link in UNIX which is also a very popular UNIX command interview question, I am not able to resist myself by showing you the usage of soft link in UNIX, below are some of example of UNIX symlinks I have seen during my projects of involving UNIX soft links:

1) In our project our Java process picks latest version of package for executing, which is a UNIX soft link. So whenever we do a release we just need to update latest UNIX symlink which makes release seamless and rollback very easy which in tern increases stability and predictability of our Java application.

2) All our UNIX script takes the location as argument so they are agnostic about the absolute path of resources and these resources are provided them via UNIX soft links and environment variables. This feature of our scripts saves a lot of time whenever we need to do any migration which involves changing location of resources.

3) An important point about UNIX soft link is that they inherit the permission of the folder to which they are pointing out.

Now let” see what are differences between Soft Link and Hard Link in UNIX

Read the rest of this entry »

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

How to write equals method in Java

When I started Java i heard that Java is truly object oriented language and everything in JAVA is object, later I found that though its not completely true but yes most of things are in Java is represented via OOPS concept. One of them is Introduction of java.lang.Object class and every class in Java extends this class by default. So when I started my blog and writing about my JAVA experience as Core JAVA Tutorials I thought lets write something which helps beginners in JAVA.

Object class holds some very interesting method which is applicable at object level and one of them is equals () which we are going to discuss in this article. equals () method is used to compare the equality of two object. default implementation of equals() class provided by Object class compares memory location and only return true if two reference variable are pointing to same memory location i.e. essentially they are same object. JAVA recommends to override equals method if equality is going to be define by logical way or via some business logic and some classes in Java standard library does override it e.g. String class whose implementation of equals() method return true if content of two strings are exactly same. you can read more about String in my post Why String is immutable in Java Since HashMap of JAVA relies on equals () and hashcode () method for comparing keys and values, java has provided a contract to follow while overriding equals () method which state that

1) if two objects are equal by equals method then there hashcode must be same.
2) if two objects are unequal by equals method then there hashcode could be same or different.

You can read more about HashMap in my post Difference between Hashtable and HashMap and How HashMap works in Java .

So this was the basic theory about equals () method in JAVA now we are going to discuss the approach on how to override equals () method, yes I know you all know this stuff :) but I have seen some of equals () code which can really be improved by following correct. For illustration purpose we will see an example of Person class and discuss How to write equals () method for that class.

Here is my approach for writing equals() method: Read the rest of this entry »

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

How to set the download location in Google Chrome

All files downloaded through Google Chrome are placed in a default folder on your PC. However you can modify this so that the files you download are stored in a different location. We will show you how to do just that in a few simple steps. Read the rest of this entry »

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

Deactivate the Firefox 3.5 Geolocation feature

Many people worry about their privacy because of the new Firefox 3.5 feature called Geolocation. Well turning it off is really easy using a little about:config trick.

How it works: The Geolocation feature determines your location using the Google Locations Services. It uses your IP, information about nearby wireless access points and a client identifier which is assigned by google every two weeks.

First open Firefox. In the address bar enter about:config:
Read the rest of this entry »

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

How to disable the delete confirmation dialog in Windows 7

When deleting a file Windows asks you :Are you sure you want to move this file to the Recycle Bin?\" with the following dialog:. Read the rest of this entry »

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

Changing the default file save location in MS Word 2007

MS Word 2007 stores your documents in the Documents folder (if you are using Vista or 7, and in the My Documents folder if you are using XP) by default. But as messy as it is, I still prefer to save my files on the Desktop (other users may prefer other folders). And always navigating to it when I save a file is extremely annoying. Until… I found out that I can modify that behavior and I can change the default file save location.

First, open MS Word 2007. Press the MS Office button and select Word Options:
Read the rest of this entry »

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

How to change the location of the My Documents folder in Windows XP

By default, the My Documents folder is located at:. Read the rest of this entry »

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

Recover deleted file using Recuva

How many times have you had that “Oh, no!” moment, right after you have Shift-deleted a file or have emptied the Recycle Bin? You know it, that moment you realize you have deleted something important and you are never getting it back. Well, no more! Read the rest of this entry »

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

HP ProLiant DL 360/380 G5 Server ILO2 configuration

The tutorial applies for general server configuration. Most of the settings used are the way they are just as a result of long years of experience for specific needs. comes to use these setting for our own needs and that in now way means that you have to do so also :)

This document focus on iLO2 interface configuration

Integrated Lights-Out, or iLO, is an embedded server management technology exclusive to Hewlett-Packard.

iLO makes it possible to perform activities on an HP server from a remote location. The iLO card has a separate network connection (and its own IP address) to which one can connect via HTTPS. Possible options are: reset the server (in case the server doesn\”t respond anymore via the normal network card) power-up the server (possible to do this from a remote location, even if the server is shut down) take over the screen mount remote physical CD/DVD drive or image. access the server\”s IML (Integrated Management Log) remote console (in some cases however an Advanced license maybe required for some of the utilities to work) can be manipulated remotely through xml-based Remote Insight Board Command Language (RIBCL) .

To enter in ILO2 configuration reboot the server and wait for the prompt and press F8.

First thing that we will configure is the IP address so you go to Network->DNS/DHCP as shown in the visual.

Read the rest of this entry »

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