Friday, 12 April 2013

Clear history automatically after closing your browser

Make your browser forget your history.. 

Make your browser clear all the history automatically when you close it.

For Chrome Browsers:


for chrome browsers i.e google chrome , torch there is an extension that you can add to your browser that is click&clean. This deletes the entire history when the browser is closed and also it provides many other options.. This tool is cool to use

You can get this in the link Click&Clean

Just add this to your toolbar

For Mozilla firefox:


Click firefox tab on top left corner. Goto options and select the options

In privacy tab, for the option "firefox will " select never remember history. Here you can have your custom settings also.
And your firefox browser will never remember the history

Thursday, 11 April 2013

Challenge 2 : Peter and fare

Peter likes going by taxi. For him, it is not only the pleasure of a fast and comfortable ride, but also the opportunity to bargain with the driver over the fare. The bargaining between Peter and taxi drivers always follows the same scheme:
— To the airport! I pay 150 roubles.
— No, I won't take you for 150. Let's go for 1000.
— Are you crazy? I haven't got that much on me! Ok, let it be 200.
— Are you laughing? I agree to 900.
— Well, I'll give 250.
— Guy, do you know how much gas is? Pay 800 and off we go!

Such a dialog continues until they agree on the fare. Peter always increases his amount by the same number, and the taxi driver decreases it in the same way. The driver would not ask a sum that is less than that offered by Petr. In this case, he will agree with Peter's offer. Peter will act similarly.
Input
The single input line contains four integer numbers: the initial Peter's offer a, Peter's raise to his offer b, the initial fare required by the driver c, and the driver's reduction of his fare d; 1 ≤ a, b, c, d ≤ 10000.
Output
Output the amount of money that Peter will pay for the ride.
Sample Input
150 50 1000 100
Sample output:
450


Here is the code I've written for this challenge

Challenge 1 : The star line


Write a program which takes 10 numbers 0 to 9(number may repeat any number of times) as input and display the * s where the no.of stars should be the frequency of the number in the list.
Sample Input: 1 1 2 3 1 2 1 5 7 9
Output:
          *
          *
          *        *
          *        *        *                 *                 *                 *
_        _        _        _        _        _        _        _        _        _
0        1        2        3        4        5        6        7        8        9

Here is the code I've written for the above challenge

Change start up programs in windows OS

We might be very irritated with all the programs and applications that run automatically on system start up and fill your desktop with unwanted windows and alerts.
Get rid of those unwanted stuff by removing them from startup list. Here I can help it with windows operating system..

For Windows XP or Windows 7:


Goto start
In run type msconfig and run it
In that select the start up tab and make the changes required.

For Windows 8


You can follow the same process in windows 8 also OR
You can directly goto TASK MANAGER and in task manager start up tab will have all the programs listed that would run on system startup.

Just select the one you want to remove and click disable

These changes will apply when you restart your system and that is obvious..

NOTE: Take care that you are clear with what applications you want to disable. There may be applications of system requirement that run on system startup.

Wednesday, 10 April 2013

Make a home page on firefox and try blackle

I just now came to know that.. in firefox it is so simple to make a page your homepage.
Don't get confused or vexed with the traditional method.

Just drag the globe symbol on the left side of  URL to the home symbol on the right side of the same tab. Confirm the page. And it will be your home page.

And friends I suggest you to use BLACKLE which is a power efficient search engine by google.  A black screen is always power efficient. So blackle would be of better use and gives almost same results as google. GO GREEN !!!!!!


Tuesday, 9 April 2013

Alarm on your PC

We often use alarm or timer in our mobiles.. Why not use the same on our PC??

If I want to put an alert for some task or something do I need to have my mobile phone definitely with me??
We might be lazy to pick it up if it is a bit far from us.. and in fact i am one in them..  ;)

Well then we can have an alarm on our laptop or PC
We may have many apps for an alert on our system (well I don't know whether there are any), but I have tried one on my own.. Its good to have something, that we made, working for us, right?? So, I have been using this from quite few days.. 

You can download the source code and a music file which I set as ring tone for this application in the link I have given below.


To make look more convincing make a batch file for the program

Compile and run the source file.

Make sure that the music .wav file we use to set as alert tone is in the same folder in which the source and class files are present

now open notepad


Type the following code as it is making changes where mentioned
 @echo off
(the following steps are written assuming that the source file is alarm.java and it is in a folder named java in  F:\ drive)
F:
cd java
javac alarm.java
appletviewer alarm.java
exit

Save the file with name alarm and .bat extension

Create a shortcut for this batch file(.bat) on desktop

Go to properties of shortcut and in shortcut tab click on change icon

In the windows default icons you can see a symbol similar to a clock. You can choose that or you can browse for any icon (.ico) file in you system.

Now if you run this short cut, Directly the applet opens prompting for the alarm time.. 

DOWNLOAD THIS HERE:   AlarmApp