Search This Blog

Showing posts with label google. Show all posts
Showing posts with label google. Show all posts

Reorder Gmail filters

  • Settings -> Filters and blocked addresses
  • Select: "All"
  • Click "Export" button, it will download a file called MailFilters.xml
  • Edit MailFilters.xml file with a text editor, re-order the filter entries, and save the file
  • Select: "All" filters in Gmail and click "Delete" button. It will delete all filters
  • Click "Import filters" link, then choose the edited MailFilters.xml file, then click "Open file" button to import it.
  • After all filters are imported, click "Create filters" button to apply the filters.

Uploading Multiple Files to Google Drive with Google App Script

  • Form.html Note: Replace rootFolderId with the id of destination folder on your Google Drive.


  • Code.gs

Google Search: missing "Pages from Australia"

Could not find Pages from Australia link from google search result? It has been changed location to Search Tools then The Web:

Google Web Toolkit 1.6 on Linux (Ubuntu 8.0.4) failed to compile and run. How to work around?

I am trying GWT 1.6 for Linux on my Ubuntu 8.0.4. It was using SUN JDK 6. However, GWT failed to compile and run the application:

#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0625665c, pid=15353, tid=2418424720
#
# Java VM: Java HotSpot(TM) Server VM (10.0-b23 mixed mode linux-x86)
# Problematic frame:
# V [libjvm.so+0x25665c]
#
# An error report file with more information is saved as:
# /mnt/stor/development/workspace/ownproject/WebShopModule/war/hs_err_pid15353.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#


http://code.google.com/p/google-web-toolkit/issues/detail?id=3382



To work around this problem, I had to change to openjdk 6:


sudo aptitude install openjdk-6-jdk
sudo update-java-alternatives -s java-6-openjdk



In eclipse, Window -> Preferences -> Java -> Installed JREs -> add ..., then select /usr/lib/jvm/java-6-openjdk

Enable Google Analytics for your blogger blog

I. Generate Google Analytics Tracking Code
  • 1. Login to http://analytics.google.com.
  • 2. Click "Add Website Profile" link at bottom-left of the page.
  • 3. Input your blog URL: for example, http://yourblog.blogspot.com
  • 4. Click "Finish" button.
  • 5. Ctrl+C (or CMD+C for Mac OS X) to copy the tracking code block generated.
II. Install the tracking code to your blog
  • 1. Login to http://www.blogger.com/.
  • 2. Under the blog you want to install Analytics tracking to, click on Layout.
  • 3. Click on Edit HTML. An editing screen for your blog template's HTML displays.
  • 4. Paste the tracking code to just before tag. You can put your cursor right before that tag.
  • 5. Paste the Google Analytics Code Block by Ctrl + V or CMD +V.
  • 6. Click Save Changes.
Now you have installed the tracking code.

III. Check the status of Google Analytics

  • 1. Go back to http://analytics.google.com.
  • 2. If the status of the newly added profile of your blog site is "Receiving Data", it means that Google Analytics has been enabled. You have done.
  • 3. If the status is "Tracking not installed", click "Check Status". And refresh the page.