Category Archives: python

Speed up static resources with AWS CloudFront CDN

Nowadays CDN is easy to use. Even a startup or personal website shall consider use CDN to speed up static resources, such as photos, javascript/css files. Here are simple steps to use AWS CloudFront CDN and enable it in Tornado. … Continue reading

Posted in Internet, python, Server | Leave a comment

Base64 Encoding in Android 2.1 or Earlier

Base64 is common used. Now Google added a utility class android.util.Base64. Unfortunately it is only available in Android 2.2 and later. So, you need just a little bit work to use it with Android 2.1 or ealier. Yes, just copy … Continue reading

Posted in android, java, python | Tagged , , | 3 Comments

Yahoo API & web services

Recently I am interested in Yahoo API and web services, especially inquirying finance data via the APIs. Yahoo provides nice language support. For example, python is supported at http://developer.yahoo.com/python/ At the bottom of the page, you can find a list … Continue reading

Posted in java, python | Tagged , , , , | Leave a comment