Thursday, June 12, 2008
Java - Passing string with spaces to exec
To pass the string with spaces in the argument we need to use exec(String[]) method instead of exec(String)
Both of the above command execute the specified command and arguments in a separate process.
If we will use exec(String) then this will not take string with spaces.
Wednesday, June 11, 2008
Coming Tuesday, June 17th: Firefox 3
Features and fixes for Firefox 3 include:
- Updated address bar with integrated bookmarking functionality
- Standard themes that are consistent with the native UI of your Operating System (Windows, Mac, Linux)
- Revamped bookmark manager
- New Icons
- One-click site information
- Secure add-on updates
- Vista Parental Controls
- Revamped password management
- Full page zoom
- Scrolling Tabs
- One-click bookmarking
- Tags for bookmarks
- tons more!
http://developer.mozilla.org/devnews/index.php/2008/06/11/coming-tuesday-june-17th-firefox-3/
How to install JDK 6 on Linux (Fedora Core)
- Downloaded file using wget (because I was told that there is only wget installed on the remote machine) from this location: http://www.java.net/download/jdk6/6u2/promoted/b02/binaries/jdk-6u2-ea-bin-b02-linux-i586-12_apr_2007-rpm.bin
- Now changed the permission of the downloaded file to 755 like this:
chmod 755 jdk-6u2-ea-bin-b02-linux-i586-12_apr_2007-rpm.bin - Then ran it by calling ./jdk-6u2-ea-bin-b02-linux-i586-12_apr_2007-rpm.bin Here I needed to type yes after going through the license document as my acceptance to the terms.
- I was made to find the path of the actual location of JDK installation and indicate the fedora to accept my choice by using
updatedb;locate javac |grep bin. - Now I required to run the alternative command to instruct Fedora to recognize Sun’s JVM.
alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_02/bin/java 100alternatives --install /usr/bin/jar jar /usr/java/jdk1.6.0_02/bin/jar 100alternatives --install /usr/bin/javac javac /usr/java/jdk1.6.0_02/bin/javac 100 - Finally I required to configure alternative to use Sun’s JVM as the default JVM by calling
/usr/sbin/alternatives --config java
java -version.
Here we need to remember that we have to login as root to the machine to do all the installation.
Use Google Analytics to Measure ROI from SEO
Use Google Analytics to Measure ROI from SEO
So your website is ranking well, but you know it can be better. After reading the SEO TIPS blog you understand how to research SEO Companies, find a quality firm, and hire them. You just launched a 6 month print campaign in a niche magazine and you want to find a way to monitor the Revenue generated from SEO.
Have no fear, Google Analytics is here!
Any reputable SEO company should have enough knowledge to provide this information, however this is how you can set up your own benchmarking.
1) Using Google Analytics set up a goal funnel to monitor your shopping cart check out process, make the "Goal" page the "Thank you for shopping with us".
2) Assign a dollar value for a goal conversion (usually your average sale amount)
3) Log into your Google Analytics account and click on the Traffic Sources tab (left navigation)
3) Click on the search engine that you want to monitor
4) Below the main title you will see 3 text links that read: "Show: total paid non-paid" and select non-paid.
5) On the top of the content box holding the keywords and site usage information you will see two tabs a) Site Usage b) Goal Conversions
6) Click on Goal Conversion tab
This information will show you what keywords generated traffic that leads to goal conversions (sales). Make sure you have enough data collected before you hire the SEO Company; I recommend at least 2-3 months. This way you can monitor total goal conversions generated VIA search engines, giving you a way to use Google Analytics to Measure ROI from and SEO campaign!
Monday, June 9, 2008
Apple WWDC 2008
Sunday, June 8, 2008
All eyes set for tomorrow's WWDC 2008 conference
http://developer.apple.com/wwdc/schedules/#day=monday&time=morning
As per rumors it is expected to see 3G iPhone.
3G iPhone is expected to have real GPS and better battery life and better camera.
Rumors are that iphone prices would be dropping too.
Let's wait and watch what happens tomorrow at 12PM CST
Thursday, June 5, 2008
ZUP makes social networking easier :)
Now there is no need for you to be logged on in each website just add ZUP...check out this website zupme.com
FYI
The Zup team is proud to announce the launch of the Zup application. Zup is a simple messaging service that allows users to connect and message with users on different social networks. Typically members of one social network cannot connect with users outside of their social networks. This is becoming increasingly problematic as users move from one SN to another and find that they cannot maintain communication with friends on their old network. This forces users to maintain and access multiple social networking accounts to keep in touch with all their friends. Zup solves this problem by allowing users to message with users from multiple SN's. When a user moves to a new SN they can continue to message friends from their old SN using Zup. In addition, users can find new friends who have created accounts on different SN's. For example, a MySpace user can find a friend on Hi5 using Zup.
Currently Zup is available on - MySpace and Hi5. We are awaiting for approval on Facebook and Orkut and we have an iGoogle gadget ready to roll once Google implement Open Social support on their live platform.
We're hard at work developing Zup for even more Social Networks - We're aiming to be live on Bebo once they roll out support for Open social.