Google Analytics Java
I have looked at the Google Analytics dashboard to check if i get the correct data while using Java for data extraction.
And i have been sitting almost two days just trying to find information about how i should get the data from Google Analytics and getting the same values as their own dashboard.
There have been some problems with the data extraction becaus how I tryed to mix and mash code i could not get the same result as they did in their site.
After a while i found this site
http://code.google.com/intl/sv-SE/apis/analytics/docs/gdata/gdataExplorer.html
And with the help of some laboration i got the same result.
First i want to explain in a way that i think is best for the people who is used to SQL.
I thinkt that the set Dimensions work almost like a Group By or Join. If i combined the Set Dimensions with the Set Metrics i finaly could get the same result as the Dashboard.
query.setDimensions("ga:year,ga:month");
query.setMetrics("ga:visitors");
This code will get the AbsoluteUniqueVisitors for each month, the same as their dashboard.
Dropbox + encryption
Download :
http://www.truecrypt.org
Firefox fix
How to fix the adress/url bar so that you will double click to mark all text.
1. Open a tab and write About:config
Press enter
2. Write urlbar in the filter bar.
Press enter
3. Locate browser.urlbar.doubleClickSelectsAll and double click on that. It will change status to True.
You want to disable the single clicl select all.
Double klick on browser.urlbar.clickSelectsAll and change the status to False
Messenger Windows 7
How to get your Live Messenger / Skype to the Systemtray / beside the clock in Windows 7.
Go to the folder where the exe file is, default in windows 7 is
for
msnmsg.exe
C:Program FilesWindows LiveMessenger
for
Skype.exe
C:Program FilesSkypePhone
Right click the Exe file and go to the Compability mode.
Se to it that the checkbox for "Run this program in compability mode for:" Choose an Vista or XP version and press apply.
This might cause a problem for messenger to not automaticly start on your computer, but it should be fine if you just start it normaly throu a short cut.