Welcome to Srini's blog

Friday, February 26, 2010

Google anyalytics reports not updating with new visits -- Solution with my personal experience

Of course google analytics help provide the basic information about this issue. Few days back I got the same issue. For me it had taken 15 days to track the issue and I lost 15 days reports for my blog. So I will explain the scenario, it will help for some one having the same issue.

Suddenly one day my analytics reports not updating for my blog eventhough some one visiting my blog everyday. I don't know the reason why this happening . I remembered that 4 days back i applied for Ad-sense account, google rejected my request with reason Unacceptable site content, So I am in the mode of due to google rejected my ad-sense req my blog also blocked. With enormous googling one fine day i came to know that this is not the issue with ad-sense rejected. At the same time i got one clue. If you change blog theme then tracking code and site verifications codes(webmsters meta tag) will disappear.

ohhh.. shit i did the same (theme changed at the time of req for adsense account)
then I checked 2 things :
1. Check blog verification in webmaster account for this blog --- its giving no meta tag found error, then i checked my blog HTML to find the meta tag(My blog verified thru meta-tag) I did not find the meta tag in my blog HTML.
2. Check the analytics tracking code in my blog HTML -- I did not found the tracking code also.

Immediately after these two checks i realized that due to blog theme changes my analytics reports not updating. I copied meta-tag and verifications code to my blog and waited 24 hrs to see effect ... wowww ...this morning i saw my analytics reports updating normally ...

Hope this will help u..

Thursday, February 25, 2010

Congrats Sachin ...

Master blaster created a new record with his un-beaten performance in GWALIOR ODI. He made ODI history with the first double century in the 39-year history of international cricket. Ofcourse Indial won the tri-series with SA in INDIA tour. Now India holding 2nd position in ODI's ranking. Once again Congrats Sachin ....

Wednesday, February 24, 2010

Keep one copy of InputStream -- JAVA

Due to restriction in java we can't keep InputSream as copy for further use. We can read stream only one time. There is a possibility to re-use input stream by converting it into string.
First convert the InputSream into string and use this string for multiple purposes. Whenever you want to re-use input stream convert string to stream and use it.

Procedure to convert InputStream into String:
Assume you have a InputStream.
BufferedReader reader = new BufferedReader(new InputStreamReader(inStream));
StringBuilder sb = new StringBuilder();
String line = null;
while ((line = reader.readLine()) != null) {
sb.append(line + "\n");
}
String reqStr = sb.toString();


//Now If u want to use insput stream convert string to stream
inStream = new ByteArrayInputStream(reqStr.getBytes("UTF-8"));

Monday, February 15, 2010

Kalyan's Biryani .... new flavour introduced in HYD..

We celebrated this Sunday in a special way .. Of course this is not the celebration, its more like spent the day with non-routine things... Actually before last night I unexpectedly went to Kalyan's room and slept thr. Yesterday morning i am in hurry to go to my room, at the same time kalyan asked me 'Why don't we invite our batch to room for a lunch??' Wow .... good idea, I accepted kalyan's wish ...
I went to my room quickly(5km far from kalyan's room) on balu's bike and finished some personal work and returned to kalyan's room with venki @ 12.30 noon.Mean time kalyan gathered some tips regarding Veg-biryani contents and making process. balu and shiva are already in kalyan's room, so we invited sreekanth to join. Kalyan prepared lunch with veg-biryani, butter chicken, rytha and veg-starters(Vegetable Spring Rolls). I will update photos soon ..
At last we had a good tasty meal in kalyan's room. kalyan did a fantastic job ... this is first time for kalyan preparing biryani, we just helped a little bit, All the credit goes to KALYAN only....... Thanks buddy...

Thursday, February 11, 2010

Disk recovery tool

Are you searching for disk recovery tool for windows, linux, mac?? Just check it out Stellar data recovery . I too dont know much about this tool. Please go thru this and try it out. Best of luck ...

New telugu movies releasing in FEB

In this month 2 major films ready to release. One is Nag's KEDI and second one is Shekhar Kammula's LEADER. Release date officially announced for both the films. KEDI releasing 12th of Feb 2010 and LEADER releasing 19th of Feb 2010.

Audience have more expectations in both the films . letz wait for result...
Stills from KEDI. Stills from LEADER .

Convert photo into cartoon

There are lot of online tools available to convert your photo into fun cartoon. One of the best & I impressed a lot is Befunky. You can get more than 50 shapes of your photo using Befunky. It is absolutely free and online. Just check it out here and have a fun.
1. Go to the site and click 'Get started'
2. Click 'create' from menu tab
3. Select 'photo effects'.
4. Browse photo to convert .
Left side you may find different shapes which is available and select one of them and see magic.

Wednesday, February 10, 2010

Tomcat manager web application

Enable tomcat manager web application
If you install tomcat6.x (Download)version properly then you may find 'manager' dir in tomcatserver/webapps. You can try to connect manager web application using following url in any standard browser . http://{Ip}:{port}/manager/list. Here Ip is Machine IP of tomcat server running and port is In which port tomcat running by default it is 8080. By hitting this url you will get current running applications.
After hitting this url in browser it will prompt for user name and pwd. Actual discussion starts here. If you want to use tomcat manager web application there are some pre-requisites.
1. Need tomcat useraccount.
2. This user account should be under manager role.
How to do this is mentioned below.
Go to 'tomcatserver/conf' dir and open 'tomcat-users.xml' file and edit file as
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="admin" password="admin" roles="admin,manager"/>
</tomcat-users>.

3.Save it and restart tomcat server. Now try the url and give the creds.


Monitoring Tomcat Performance
You can monitor tomcat server Ability, Load, Memory Utilization, CPU Utilization. try the following URL http://{server}:{port}/manager/status?XML=true. you will get response as a XML it contains high-level memory statistics: free, total, and max memory. it will be useful for monitoring tomcat.

Note : We can launch tomcat manager web application without creds also .. But this is not recommended for production env. please follow below steps.
1. Go to tomcatserver/manager/WEB-INF.
2. Edit the web.xml file as without 'auth-constraint'. Search for 'auth-constraint' tag and just comment out the statements under this tag(including this tag). No need to restart tomcat server. Now hit the url http://{server}:{port}/manager/status?XML=true.

Good luck...

Thursday, February 4, 2010

IPL 2010 Schedule

IPL 2010 Teams
1. Hyderabad
2. Delhi
3. Mumbai
4. Banglore
5. Chennai
6. Jaipur
7. Kolkata
8. Chandigarh .

IPL Matches Schedules
1. 12th March Deccan Chargers vs Kolkata Knight Riders Hyderabad
2. 13th March Mumbai Indians vs Rajasthan Royals Mumbai
3. 13th March Kings XI Punjab vs Delhi Daredevils Mohali
4. 14th March Kolkata Knight Riders vs Royal Challengers Banglore Kolkata
5. 14th March Chennai Super Kings vs Deccan Chargers Chennai
6. 15th March Rajasthan Royals vs Delhi Daredevils Ahmedabad
7. 16th March Royal Challengers Banglore vs Kings XI Punjab Banglore
8. 16th March Kolkata Knight Riders vs Chennai Super Kings Kolkata
9. 17th March Delhi Daredevils vs Mumbai Indians Delhi
10. 18th March Royal Challengers Banglore vs Rajasthan Royals Banglore
11. 19th March Delhi Daredevils vs Chennai Super Kings Delhi
12. 19th March Deccan Chargers vs Kings XI Punjab Vizag
13. 20th March Rajasthan Royals vs Kolkata Knight Riders Ahmedabad
14. 20th March Mumbai Indians vs Royal Challengers Banglore Mumbai
15. 21st March Deccan Chargers vs Delhi Daredevils Vizag
16. 21st March Chennai Super Kings vs Kings XI Punjab Chennai
17. 22nd March Mumbai Indians vs Kolkata Knight Riders Mumbai
18. 23rd March Royal Challengers Banglore vs Chennai Super Kings Banglore
19. 24th March Kings XI Punjab vs Rajasthan Royals Mohali
20. 25th March Mumbai Indians vs Chennai Super Kings Mumbai
21. 26th March Rajasthan Royals vs Deccan Chargers Ahmedabad
22. 27th March Kings XI Punjab vs Kolkata Knight Riders Mohali
23. 27th March Royal Challengers Banglore vs Delhi Daredevils Banglore
24. 28th March Rajasthan Royals vs Chennai Super Kings Ahmedabad
25. 29th March Delhi Daredevils vs Kolkata Knight Riders Delhi
26. 30th March Mumbai Indians vs Kings XI Punjab Mumbai
27. 31st March Chennai Super Kings vs Royal Challengers Banglore Chennai
28. 31st March Delhi Daredevils vs Rajasthan Royals Delhi

29. 1st April Kolkata Knight Riders vs Deccan Chargers Kolkata
30. 2nd April Kings XI Punjab vs Royal Challengers Banglore Mohali
31. 3rd April Chennai Super Kings vs Rajasthan Royals Chennai
32. 3rd AprilMumbai Indians vs Deccan Chargers Mumbai
33. 4th April Kolkata Knight Riders vs Kings XI Punjab Kolkata
34. 4th April Delhi Daredevils vs Royal Challengers Banglore Delhi
35. 5th April Deccan Chargers vs Rajasthan Royals Hyderabad
36. 6th April Chennai Super Kings vs Mumbai Indians Chennai
37. 7th April Rajasthan Royals vs Kings XI Punjab Jaipur * / Ahmedabad
38. 7th April Kolkata Knight Riders vs Delhi Daredevils Kolkata
39. 8th April Royal Challengers Banglore vs Deccan Chargers Banglore
40. 9th April Kings XI Punjab vs Mumbai Indians Mohali
41. 10th April Deccan Chargers vs Chennai Super Kings Hyderabad
42. 10th April Royal Challengers Banglore vs Kolkata Knight Riders Banglore
43. 11th April Delhi Daredevils vs Kings XI Punjab Delhi
44. 11th April Rajasthan Royals vs Mumbai Indians Jaipur * / Ahmedabad
45. 12th April Deccan Chargers vs Royal Challengers Banglore Hyderabad
46. 13th April Mumbai Indians vs Delhi Daredevils Mumbai
47. 13th April Chennai Super Kings vs Kolkata Knight Riders Chennai
48. 14th April Rajasthan Royals vs Royal Challengers Banglore Jaipur * / Ahmedabad
49. 15th April Chennai Super Kings vs Delhi Daredevils Chennai
50. 16th April Kings XI Punjab vs Deccan Chargers Dharamsala
51. 17th April Royal Challengers Banglore vs Mumbai Indians Banglore
52. 17th April Kolkata Knight Riders vs Rajasthan Royals Kolkata
53. 18th April Kings XI Punjab vs Chennai Super Kings Dharamsala
54. 18th April Delhi Daredevils vs Deccan Chargers Delhi
55. 19th April Kolkata Knight Riders vs Mumbai Indians Kolkata
56. 21st April SEMI FINAL 1st Banglore
57. 22nd April SEMI FINAL 2 nd Banglore
58. 24th April 3rd Place Navi Mumbai
59. 25th April FINAL Match Navi Mumbai

Wednesday, February 3, 2010

Mozilla Firefox 3.6 released

Firefox 3.6 is now available for download.
Mozilla Firefox browser providing greatest security over internet. Firefox includes advanced anti-phishing and anti-malware technologies plus features.
If you want to know more details about Firefox security cilckhere

Tuesday, February 2, 2010

Provident Fund(PF) Account details in India

1.Check PF balance : Online faciltiy is available for accounts maintained at PUNE, Ahmedabad, Chennai and Kerala regional offices of EPFO.
a. PUNE Office
b. AHEMABAD Office
c. VADODARA Office
d. CHENNAI Office
e. KERALA Office

If your PF account is not maintained at the office/s mentioned above please follow this blog by JPS Sir: rtindia

2. Check Transfer Status
a. To know the details of transfer procedure, please see the blogs of Taurus Sir on PF: RTI India - EPF - transfer or withdraw.
b. File RTI application with CPIO of Concerned PF office to check the status of transfer.RTI application will be as per Central Govt. RTI Rules & fees.
c. RTI Application For Central Govt Info (by JPS 50 Sir) RTI Application
d. Please refer to this blog by JPS 50 Sir: rtindia for a suggested format.

3. Withdraw PF money & check the withdrawl status
a. To withdraw PF money you need to fill the form no.19 (Employees's Provident Fund Scheme, 1952) and Form No.10C (Employee’s Pension Scheme, 1995) and you can withdraw the PF deposited to your account by your previous Employer. Forms available here: EPFO forms.
b. For Claim Status (all INDIA) try here: EPF India.
c. To know the details/rules (applicable) please see the blogs of Taurus Sir on PF:
RTI India - EPF - transfer or withdraw.
d. File RTI application with CPIO of Concerned PF office to check the status of claim. Application as per Central Govt. rules & fees.
Suggested Format of RTI application for withdrawl status (by JPS Sir) : RTI.

4. Withdraw PF money without involving/sign of employer.
If the company is closed and the employer is either not traceable or refused to sign the subscriber to the fund can still submit his claim for settlement through other means. It is the duty of the employer under the Act & Scheme to help Employees' Provident Fund organization to settle the Provident Fund dues of his employees. He has to complete the prescribed application within 5 days of receipt [para72 (5)] forms & hand over it to the member when he leaves the service. When a member finds it difficult to get the form attested by the employer, he can get the attestation of any of the following officer & send to the Provident Fund office:
1.Manager of a bank.
2.By any gazetted officer.
3.Member of the Central Board of Trustees./ committee/ Regional Committee (Employees'
Provident Fund Organization).
4.Magistrate/ Post/ Sub Post Master/ President of Village Panchayat/ Notary Public.