Wednesday, December 24, 2008

Eclipse

Eclipse Downloads
Click here to Download Eclipse Open Source IDE

Java

Recurring Tasks In Java Applications

All manner of Java applications commonly need to schedule tasks for repeated execution. Enterprise applications need to schedule daily logging or overnight batch processes. A J2SE or J2ME calendar application needs to schedule alarms for a user's appointments. However, the standard scheduling classes,
Timer and TimerTask, are not flexible enough to support the range of scheduling tasks typically required.

Example Program.
package org.tiling.scheduling.examples;

import java.util.Timer;
import java.util.TimerTask;

public class EggTimer {
private final Timer timer = new Timer();
private final int minutes;

public EggTimer(int minutes) {
this.minutes = minutes;
}

public void start() {
timer.schedule(new TimerTask() {
public void run() {
playSound();
timer.cancel();
}
private void playSound() {
System.out.println("Your egg is ready!");
// Start a new thread to play a sound...
}
}, minutes * 60 * 1000);
}

public static void main(String[] args) {
EggTimer eggTimer = new EggTimer(2);
eggTimer.start();
}

}
More Details

Saturday, May 17, 2008

Internet Tips

Upload Video Clips To Multiple Sites in One Shot!

The market share of YouTube Videos (at 64%) is more than all other online video sharing websites combined. No wonder that YouTube is the preferred destination for uploading video on the Internet as it offers the maximum eyeballs.





While it’s true that videos posted on YouTube can quickly get the much needed exposure but by limiting yourself just to YouTube, you are actually missing an opportunity to expose your videos to the non-YouTube crowd and that is no insignificant number.


Hey Spread!!!

At Hey!Spread You only have to upload the video once and HeySpread will automatically distribute the video clip to the rest of video sharing networks - Sevenload, YouTube, Facebook, MySpace, Google Videos, Yahoo Videos, DailyMotion, Blip.tv, Photobucket, Metacafe, Revver, Veoh, Vsocial, Vimeo and Putfile.

If your favourite video sharing network is not currently supported by HeySpread (such as FLURL), beg them to support it as soon as possible!

You don’t have to open an account with HeySpread, but you need to provide them the login credentials of your respective video sharing accounts. The video clip can be either uploaded from hard disk or a hyperlink of the video at any HeySpread supported networks.

Having says that, HeySpread could on the fly propagate all video clips from one network to another. As such, there is no need to download the video and upload again to HeySpread!

Tube Mogul!!!!


TubeMogul allows you to follow the trend of your online videos.The cross-network tracking tools means that you can accumulate data from various sources for comparative purposes. There are six default networks available with TubeMogul, including YouTube, Revver, MetaCafe, MySpace, Yahoo and AOL. You can track individual videos or video publishers as well as other metrics like comments, average rating, and a list of top videos. You can create entire groups of content to track, and this works for both videos and publishers as well. This data is presented to you in charts that track online performance over time, and provides aggregated analytics for your research purposes. There is also the option of emailing your data or exporting it to Excel.

And it works just like Hey!Spread. You upload the video to TubeMogul, then enter the Title plus Description and finally pick video sites where you want to deploy your videos.

Let me know what you all think. Thank you.


3 Free Sites for Downloading Old Versions of your favorite Software!

Sometimes upgrading to a newer version can be a good thing. Other times, your computer may not be compatible with the new version, the new version is bloated, or all the options you liked are no longer available.

There could be many reasons where you like old version of a software and want to use it only! If you maintain your favorite softwares in their favorite versions thats fine but often you will find yourself browsing website of a software company for old versions of a particular software. Unfortunately not all software provider are interested in keeping old version available for downloads.

Here comes to rescue following 3 sites whose only purpose is to maintain old versions for free download. These three are almost identical in operation (in fact I had hard time to figure out differences to write about)

1. OldApps.com (Exclusively for Mac OS)

2. OldVersion.com

  • Softwares are not sorted but seems to maintain largest collection. Also noticed few Linux softwares.

3. Old-Versions.net

  • It maintains a drop-down menu in right sidebar through which you can really reach your favorite softwares version page with just one-click (and without typing too!)!

All 3 have a contribute section so that you can upload old versions of softwares you posses to their repository. Also OldApps and OldVersion have forums where you can discuss various issues related to software versions, etc!

Finally on personal note, few software I havent upgraded over a year includes…

  • Winamp v2.73 - I love mplayer for movies. So why to go for winamp with video capability! ;-)
  • ACDSee v3.0 - Image browsing application. Reason: New Versions are bulky and memory consuming.
Please notify us if you find any other site which you think can be added to this list!




Top Ten Online Video Converters



Have you ever wanted to convert online videos to your desired format without downloading any software ?

These Top 10 Online Video Converters can help to convert videos from your favorite video websites to your desired format to Run on your PC, Mobile or an iPod.

1. Vixy.net - Online Free FLV Converter. It can convert YouTube videos to Popular Video formats like AVI, DivX, MOV, MPEG4, 3GP,MP4, MP3, iPod Video and PSP Video. Files are converted instantly and it shows the Ajax conversion progress bar.

2. ZamZar: Free Online file conversion service. It can convert your online videos to a number of video formats. The converted files are sent via email.

3. FLVix : FLVix can Convert videos from YouTube, Google Video or directly from .FLV file. Supported formats are AVI, MOV, 3GP, MP3, MP4.

4. All2Convert : It can convert videos from Youtube. You can also upload FLV files from PC. Very fast video conversion.

5. Tubefish : Tubefish video converter can convert your videos instantly to MPEG, AVI, MOV, 3GP and Divx.

6. Movavi : Movavi is another online video converter. It notifies via email when converted files are ready to download.

7. VideoCodeZone - It can convert videos from Youtube, daily motion, break, metacafe. Supports various popular video formats.

8. Media Converter : Media Convert is an online media converter. It requires registration for converting videos from youtube.

9. Vconvert : Vconvert can Convert online flv and youtube videos to compatible formats for your iPod/iPhone, mobile phone.

10. Convert Tube : Another Instant Online Video Converter. It can convert videos to MP3, MP4, MOV and 3GP.

Sunday, August 19, 2007

Airtel Hack for free internet

You need a PC or a Laptop and the required connectivity tools ,ie.,
Serial/USB cable OR Infrared Device OR Bluetooth dongle

1) Activate Airtel Live! ( It’s FREE so no probs)

2) Create TWO Airtel gprs data accounts (yep TWO) and select the
FIRST as the active profile.

3) Connect your mobile to the PC (or Laptop) and install the driver for
your mobile’s modem.

4) Create a new dial-up connection using the NEW CONNECTION
WIZARD as follows

Connecting Device : Your mobile’s modem
ISP Name : Airtel (or anything you like)
Phone Number : *99***2# / Try 99***1
Username and Password : blank

5) Configure your browser and download manager to use the proxy
100.1.200.99 and port 8080.( My advice is to use Opera since you
can browse both wap and regular websites)

6) Connect to the dial-up account. You will be connected at 115.2
kbps (but remember, that is a bad joke).

7) Pick up your mobile and try to access any site. You will get “Access
Denied…”(except for Airtel Live!). IT DOES NOT MATTER.
Keep the mobile down.

8 ) On the PC ( or Laptop) open your browser, enter any address ,
press ENTER and…….WAIT

9) After a few seconds the page will start to load and you have the
WHOLE internet at your disposal. ***************************************************************************************************************

TWO






Under DATA COMM
~~~~~~~~~~~~

APN : airtelfun.com

USERNAME : blank

PASSWORD : blank

PASS REQ : OFF

ALLOW CALLS : AUTOMATIC

IPADDRESS :

DNSADDRESS :

DATA COMP : OFF

HEADER COMP : OFF


Under INTERNET PROFILES
~~~~~~~~~~~~~~~~

INTERNET MODE : HTTP or WAP (both worked for me)

USE PROXY : YES

IP ADDRESS : 100.1.200.99

PORT : 8080

USERNAME :

PASSWORD :

No Risk Here, Try it and Enjoy



Three


1st go to settings menu then to connectivity tab now choose the option Data comm. then "DATA ACCOUNTS" go to new account now the settings r as follows
ACCOUNT TYPE:GPRS
NEW ACCOUNT NAME:A1
APN:airtelfun.com
usr name: (blank)
password: (blank)

now save it
NOW!
go to Internet Setting in connectivity here choose intrnet profile--go to new profile setting are as below
NAME:A1
CONNECT USING:A1(which was created in data comm.)
save it
now u would be able to see it now selest it and take "more" option then select setting here in use proxy option it will be selected no if it is no then change it into yes
now go to proxy adress and give the adress as
100.1.200.99 and then the port number as 8080
Usr name:
password:
now save all the settings u made . come back 2 connectivity
choose streaming settings now in connect using option choose a1 that we created leave the use proxy option as no itself
THESE R THE SETTINGS
now access airtellive! from ur activated SE phone goto VIDEO GALLERY OR VIDEO UNLIMITED(varies according to states) choose live streaming then choose CNBC OR AAJTAK WHILE CONNECTING TO MEDIA SERVER cancel AFTER 9 or 10 sec then type any web adress if it shows access denied then once again select CNBC and wait for a few more sec than before if its fully connected also no prob its free then cancel it or if ur connected then stop it and the internet is ready to take of .GOOD LUCK SE AIRTEL USERS

alternate



For All Airtel Users

Requirements:
1. Airtel live (available 4 free)
2. Nokia series60 handset eg 6600,6630,n series,7610,6670 etc
3. Opera wap browser 4 mobile
Procedure:-

1. Go to ur connection settings and make a new internet profile using the default settings of airtel live. name that new profile as nething(for eg masala); change the home page of that profile to nething u like for eg www.google.com.

2. Go to ur Opera browser and set the default connection as AIRTEL LIVE. this is the original settings u received thru airtel.

3. Go to the services(in n6600) and Web(N6630) and change the default profile for connection as masala (newer one).

**Note: always make sure that ur access point is airtelfun.com

Apply:-

1. Open Opera and u will see that homepage of Airtel Live is opened. Minimize the application.

2. Now open web using the duplicate Profile and u will see that two gprs connections will work simultaneously and at the web or the services page it will show "Unable to connect" or any error. well thats the signal of ur success.

3. Simply go on the Opera with web on and open any site u want for free. No Charges No nothing.

U can also use it through ur computer..........

someone said dis too


The main principle behind this is we hav 2 fool the bsnl techies 2 activate portal and thus get gprs activated / get "G" signal on ur cell as bsnl portal (wap.cellone.in) needs "gprs signal on ur cel (whether gprs is formaly activated/registerd or not (by my method )i dont know)

NORMALLY THEY DONT DO THAT INSPITE OF THE FACT THAT THEY SHOULD ACTIVATE GPRS SIGNAL SERVICE FOR PORTAL!!!
AND THEY WILL GIVE U NO OF REASONS----
---THAT portal is message based , so go to cellone icon in menu and use that sms based portal (what the f**k)
---THAT portal service will be activated when u will activate gprs by filling up form and registering at nearest CCN!!
---THAT ur handset has some problems (if u say that "G" signal is not present)
----etc,etc!!

U HAVE 2 ACTIVATE PORTAL FIRST WHICH IS FREE AND U CAN EAT UP CC'S FOR THIS REASON!!
SO WHAT U HAV 2 DO IS--
1) SEND PORTAL to 3733 AND CONFIRMATION SHD COME WITH 5 MIN AT-MAXIMM !!
2) SEND FOR ATLEAST 20-30 TIMES (CAN B ANY MORE THAN THAT)
JUST S**K UP THE NETWORK(3733) WITH THESE MESSAGES !!!
THAT'S FREE NO!! BOTH ON POST AND PRE!!
3) NOW ALONG ALSO SEND 20-40 SMS AS GPRS TO 3733
(NO OF SMS DIRECTLY PROPORTIONAL 2 HATE FOR BSNL AND HOW EARLY U WNAN GET UR GPRS ACTIVATED) this is also free both on post and pre!!
4) U WILL GET CONFIRMATION IN BOTH CASES AND MSG TELLS U 2 GET SETTINGS FROM 9400024365, THE NO OF CC!!
HERE AT MY PLACE I CAN DIAL 9419024365 ALSO!
BOTH R TOLL FREE AND BOTH R LOCATED IN CHANDIGARH!!!
(((((((AND SOME OF THE CC'S SAY they cant give such sensitive information that where they r located, as if thay have a 3 rd world of their own! and the other dumbs said that they r in chandigarh!!!!)))))

I WOULD ADVISE ALL FIRST, 2 call them once 2 get the settings!!
(most of the times that is incorect but gives u an idea of settings in ur area))
Try and in ur 1 st call only,
talk roughly and tell them u r calling 10-20th time just for settings and is that their service!!!
5) Now when u get them save them AND plz post them here!!!
6) now GET ATLEAST 2-3 COMPLAINTS REGISTERED( each after 1 day) THAT UR PORTAL HAS NOT ACTIVATED AND GET THEIR SERIAL NO.
and in the end bombard them abt the status of all those complaints !!
b4 registering ur complaint they will hesitate much and always say taht they will b sendin new settings which r accurate! but dont belive them and just register complaints!!
6)AFTER THAT, u have 2 only wait until "G" signal is there on ur screen!!

LOOK, WHAT I HAVE WRIITEN ABV IS METHOD by which i got activated my "G" service !!! without fillin any form or such and without any money drain!!
may be since it bypasses the formal way of registeration, that is why this trick is working !!!!!!!!!!!!


U may also Try this


first open ur msg window and type LIVE and send it to 2567 so that after 5 min u get the setting of Airtel Live or if u have already no need for this procedure.
now then open that setting and copy all the settings from it and create one access point manually which has all the settings like Airtel Live has.
now only one change will be there and it would be in access point name which is "Airtelmms.com" instead of originally "Airtelgprs.com".
ok u've done it just active that setting and access free airtel gprs on ur phone.

Another Trick

somya_cse
You need a PC or a Laptop and the required connectivity tools ,ie.,
Serial/USB cable OR Infrared Device OR Bluetooth dongle

1) Activate Airtel Live! ( It’s FREE so no probs)

2) Create TWO Airtel gprs data accounts (yep TWO) and select the
FIRST as the active profile.

3) Connect your mobile to the PC (or Laptop) and install the driver for
your mobile’s modem.

4) Create a new dial-up connection using the NEW CONNECTION
WIZARD as follows

Connecting Device : Your mobile’s modem
ISP Name : Airtel (or anything you like)
Phone Number : *99***2#
Username and Password : blank

5) Configure your browser and download manager to use the proxy
100.1.200.99 and port 8080.( My advice is to use Opera since you
can browse both wap and regular websites)

6) Connect to the dial-up account. You will be connected at 115.2
kbps (but remember, that is a bad joke).

7) Pick up your mobile and try to access any site. You will get “Access
Denied…”(except for Airtel Live!). IT DOES NOT MATTER.
Keep the mobile down.

8 ) On the PC ( or Laptop) open your browser, enter any address ,
press ENTER and…….WAIT

9) After a few seconds the page will start to load


main thing is the advance initialization command.
a recent comment says dat