most-used and must-known shortkey for terminal on ubuntu Wednesday, March 30, 2011

Ubuntu shortkey in terminal

ctrl+a or Home

Moves the cursor to the start of a line.

ctrl+e or End
Moves the cursor to the end of a line.

ctrl+b
Moves to the beginning of the previous or current word.

ctrl+k
Deletes from the current cursor position to the end of the line.

ctrl+u
Deletes the whole of the current line.

ctrl+w
Deletes the word before the cursor.

Issue when using identi.ca API Tuesday, March 22, 2011

When I used identi.ca API, "https://identi.ca/api/statuses/update.format", by Python2.6, an error returns from identi.ca server:

You must validate your email address before posting.

It's because I does not confirm the email from identi.ca after registered.

overview of android log system Wednesday, March 9, 2011

The bellowing diagram is from Tetsuyuki Kobabayshi.

It clearly illustrates the mechnisam of logging system and relationship among every attendee. Most of source code are rasided in system/core

Note: system buffer just occurs on Android 2.3.x or later.