Tag Archives: resource

Sunday, 24 April, 2011

Kindle 3 Tips and Shortcuts

From Kindle 3 Keyboard Shortcuts et al (diannegorman.net)


Text-to-Speech
    Start/stop Shift+Sym
  Stop Back
  Pause/restart Spacebar
Background Music
  Play/stop Alt+Spacebar
  Next track Alt+F
General
  Numbers 1 to 0 Alt+Q to Alt+P
  Minesweeper/Gomoku Alt+Shift+M from home screen
  Rescan files Alt+Z from home screen
  Redraw the screen Alt+G
  Screenshot Alt+Shift+G or Alt+Shift+H
  Kindle store Alt+Home
  Display serial no/barcode Alt+Shift+.
Reading
  Toggle bookmark Alt+B
  Bookmark location double-click at desired location
  Next/previous chapter 5-way right/left
Settings Screen
  Change 3G provider 311 (Alt+EQQ)
  Kindle information 411 (Alt+RQQ)
  3G Modem information 611 (Alt+YQQ)
  Wi-fi Modem information 711 (Alt+UQQ)
Web Browser
  Nudge Alt+H, Alt+J
  Clear address Alt+Del
Picture Album Viewer
  Zoom in/out/reset Q/W/E
  Rotate R
  Full screen F
  Nudge Numbers (Alt+Q to P)

Tags: resource, kindle, user-guide


Posted in Technology


Sunday, 24 April, 2011

中文书 - kindle

Kindle 3 supports unicode characters, like Chinese.

Some sites that have free Chinese books in kindle compatible format:

好讀網站 (有很多小说)

Books in prc format are kindle compatible.

读览天下 (免费杂志)

Use kindle browser to visit http://kindle.dooland.com/


kindle chinese

Tags: book, resource, testing, kindle


Posted in Personal , Chinese-中文 , Technology


Sunday, 6 March, 2011

Surrounded by Fire

From Nokia new CEO Stephen Elop internal memo on the sinking of Nokia. (engadget)

There is a pertinent story about a man who was working on an oil platform in the North Sea. He woke up one night from a loud explosion, which suddenly set his entire oil platform on fire. In mere moments, he was surrounded by flames. Through the smoke and heat, he barely made his way out of the chaos to the platform's edge. When he looked down over the edge, all he could see were the dark, cold, foreboding Atlantic waters.

As the fire approached him, the man had mere seconds to react. He could stand on the platform, and inevitably be consumed by the burning flames. Or, he could plunge 30 meters in to the freezing waters. The man was standing upon a "burning platform," and he needed to make a choice.

He decided to jump. It was unexpected. In ordinary circumstances, the man would never consider plunging into icy waters. But these were not ordinary times - his platform was on fire. The man survived the fall and the waters. After he was rescued, he noted that a "burning platform" caused a radical change in his behaviour.

We too, are standing on a "burning platform," and we must decide how we are going to change our behaviour.



Our world is burning too!
Burning with the fire of passion, the fire of aversion, the fire of delusion. (The Fire Sermon)
The fire is sustained by our clinging. (Clinging)

One's Own Mind

"If, on examination of one's own mind, a monk knows, 'I usually remain covetous, with thoughts of ill will, overcome by sloth&drowsiness, restless, uncertain, angry, with soiled thoughts, with my body aroused, lazy, or unconcentrated,' then he should put forth extra desire, effort, diligence, endeavor, relentlessness, mindfulness,&alertness for the abandoning of those very same evil, unskillful qualities. Just as when a person whose turban or head was on fire would put forth extra desire, effort, diligence, endeavor, relentlessness, mindfulness,& alertness to put out the fire on his turban or head; in the same way, the monk should put forth extra desire, effort, diligence, endeavor, relentlessness, mindfulness, & alertness for the abandoning of those very same evil, unskillful qualities.

"But if, on examination, a monk knows, 'I usually remain uncovetous, without thoughts of ill will, free of sloth & drowsiness, not restless, gone beyond uncertainty, not angry, with unsoiled thoughts, with my body unaroused, with persistence aroused, & concentrated,' then his duty is to make an effort in maintaining those very same skillful qualities to a higher degree for the ending of the effluents."


Related:
Access to the Buddha's Words

Tags: Buddha, mind, story, sutta, resource


Posted in Personal , Buddhism


Saturday, 13 November, 2010

HowTo Transfer Files Between Linux and Android Phone

In Android 2.2, we can just connect our computer to the phone's Wi-Fi hotspot directly without accessing a separate wireless network. The instruction below will describe the use of the phone's Wi-Fi hotspot although it is not required. (It is sufficient that your computer can access your phone through a network)

  1. On the Android phone, Select Menu > select Settings > select Wireless&networks
    Wireless&networks
  2. Select Tethering & portable hotspot
  3. Select the Portable Wi-Fi hotspot checkbox to share your data connection
    Tethering&portable hotspot
  4. If this is the first time the Wi-Fi hotspot is turned on, you should configure your phone's network SSID and password. To do that, select Portable Wi-Fi hotspot settings > select Configure Wi-Fi hotspot, then enter the values and save it.
  5. From Linux, assuming you are using NetworkManager, you can select your phone's network SSID and enter the password you have set earlier on your phone to connect to Internet via your phone's Wi-Fi hotspot. Subsequently, NetworkManager will by default auto-connect without requiring the password to be entered again.
    NetworkManager
  6. Open a terminal, and enter the route command to check your phone's IP address. In my case, the default gateway 192.168.43.1 for my wireless network interface (ra0) is my phone's IP address.

    lcm@skywind:~$ route
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref   Use Iface
    192.168.43.0    *               255.255.255.0   U     2      0       0 ra0
    link-local      *               255.255.0.0     U     1000   0       0 ra0
    default         192.168.43.1    0.0.0.0         UG    0      0       0 ra0

  7. On your phone, download and install SwiFTP. It is FTP server for Android.
  8. Run SwiFTP. You will need to set the ftp user and password. By default, it listens on port 2121. SwiFTP
  9. Using the Linux Gnome File browser, select File menu > select Connect to Server menu, and then enter the ftp user, server and port. You can add the ftp connection as a bookmark so that you only need to enter the password subsequently.
    Connect to Server
    The File browser will prompt for the ftp user's password. Enter ftp password
    The File browser is displaying the Android phone's root folder. FileBrowser
  10. You can now use normal file operations: cut, copy, paste to transfer files between your phone and Linux. (If you prefer to use a Ftp client software, you can use that also.)

Tags: Linux, Ubuntu, Android, internet, wireless-network, user-guide, resource


Posted in Photos , Mobile , Linux , Personal , Open-Source


Monday, 8 November, 2010

Ideos Android Phone

I bought this Ideos Android Phone on Oct 9 (Singtel upgrade). There are 2 main reasons: it comes with Android 2.2 which includes the Wi-Fi hotspot feature, and it is cheap.

I cracked the phone screen on Oct 26, after about 2 weeks usage. :(

Read a Huawei Ideos review (CNET UK)

Ideos

Below is list of downloaded and installed Android applications on my phone: (The links are clickable on the Android browser)

I find out that some applications can be seen on the Android market website, but they are not available or cannot be found using my phone's Android market application.

Replica Island is an Open-source app, but the Android market app cannot find it. I download it from apkfile.net

Tags: Google, Android, internet, testing, installation, resource


Posted in Photos , Mobile , Personal , Open-Source


Wednesday, 23 June, 2010

Access to the Buddha's Words

This is a compilation of suttas (links to Access to Insight Tipitaka translation.) that are referenced in Bhikkhu Bodhi's book, In the Buddha's Words.

A PDF file of the table of contents and Chapter 1 can be downloaded from Wisdom Publications.

In the Buddha's Words

An Anthology of Discourses from the Pali Canon

I. The Human Condition

Introduction

  1. Old Age, Illness, and Death

    1. Aging and Death (SN 3:3)
    2. The Simile of the Mountain (SN 3:25)
    3. The Divine Messengers (from AN 3:35)
  2. The Tribulations of Unreflective Living

    1. The Dart of Painful Feeling (SN 36:6)
    2. The Vicissitudes of Life (AN 8:6)
    3. Anxiety Due to Change (SN 22:7)
  3. A World in Turmoil

    1. The Origin of Conflict (AN 2: iv, 6, abridged)
    2. Why Do Beings Live in Hate? (from DN 21)
    3. The Dark Chain of Causation (from DN 15)
    4. The Roots of Violence and Oppression (from AN 3:69)
  4. Without Discoverable Beginning

    1. Grass and Sticks (SN 15:1)
    2. Balls of Clay (SN 15:2)
    3. The Mountain (SN 15:5)
    4. The River Ganges (SN 15:8)
    5. Dog on a Leash (SN 22:99)

II. The Bringer of Light

Introduction

  1. One Person (AN 1: xiii, 1, 5, 6)

  2. The Buddha’s Conception and Birth (MN 123, abridged)

  3. The Quest for Enlightenment

    1. Seeking the Supreme State of Sublime Peace (from MN 26)
    2. The Realization of the Three True Knowledges (from MN 36)
    3. The Ancient City (SN 12:65)
  4. The Decision to Teach (from MN 26)

  5. The First Discourse (SN 56:11)

III. Approaching the Dhamma

Introduction

  1. Not a Secret Doctrine (AN 3:129)

  2. No Dogmas or Blind Belief (AN 3:65)

  3. The Visible Origin and Passing Away of Suffering (SN 42:11)

  4. Investigate the Teacher Himself (MN 47)

  5. Steps toward the Realization of Truth (from MN 95)

IV. The Happiness Visible in This Present Life

Introduction

  1. Upholding the Dhamma in Society

    1. The King of the Dhamma (AN 3:14)
    2. Worshipping the Six Directions (from DN 31)
  2. The Family

    1. Parents and Children
    2. Husbands and Wives

  3. Present Welfare, Future Welfare (AN 8:54)

  4. Right Livelihood

    1. Avoiding Wrong Livelihood (AN 5:177)
    2. The Proper Use of Wealth (AN 4:61)
    3. A Family Man’s Happiness (AN 4:62)
  5. The Woman of the Home (AN 8:49)

  6. The Community

    1. Six Roots of Dispute (from MN 104)
    2. Six Principles of Cordiality (from MN 104)
    3. Purification Is for All Four Castes (MN 93, abridged)
    4. Seven Principles of Social Stability (from DN 16)
    5. The Wheel-Turning Monarch (from DN 26)
    6. Bringing Tranquillity to the Land (from DN 5)

V. The Way to a Fortunate Rebirth

Introduction

  1. The Law of Kamma

    1. Four Kinds of Kamma (AN 4:232)
    2. Why Beings Fare as They Do after Death (MN 41)
    3. Kamma and Its Fruits (MN 135)
  2. Merit: The Key to Good Fortune

    1. Meritorious Deeds (It 22)
    2. Three Bases of Merit (AN 8:36)
    3. The Best Kinds of Confidence (AN 4:34)
  3. Giving

    1. If People Knew the Result of Giving (It 26)
    2. Reasons for Giving (AN 8:33)
    3. The Gift of Food (AN 4:57)
    4. A Superior Person’s Gifts (AN 5:148)
    5. Mutual Support (It 107)
    6. Rebirth on Account of Giving (AN 8:35)
  4. Moral Discipline

    1. The Five Precepts (AN 8:39)
    2. The Uposatha Observance (AN 8:41)
  5. Meditation

    1. The Development of Loving-Kindness (It 27)
    2. The Four Divine Abodes (from MN 99)
    3. Insight Surpasses All (AN 9:20, abridged)

VI. Deepening One’s Perspective on the World

Introduction

  1. Four Wonderful Things (AN 4:128)

  2. Gratification, Danger, and Escape

    1. Before My Enlightenment (AN 3:101 §§1–2)
    2. I Set Out Seeking (AN 3:101 §3)
    3. If There Were No Gratification (AN 3:102)
  3. Properly Appraising Objects of Attachment (MN 13)

  4. The Pitfalls in Sensual Pleasures

    1. Cutting Off All Affairs (from MN 54)
    2. The Fever of Sensual Pleasures (from MN 75)
  5. Life Is Short and Fleeting (AN 7:70)

  6. Four Summaries of the Dhamma (from MN 82)

  7. The Danger in Views

    1. A Miscellany on Wrong View (AN 1: xvii, 1, 3, 7, 9)
    2. The Blind Men and the Elephant (Ud 6:4)
    3. Held by Two Kinds of Views (It 49)
  8. From the Divine Realms to the Infernal (AN 4:125)

  9. The Perils of Samsara

    1. The Stream of Tears (SN 15:3)
    2. The Stream of Blood (SN 15:13)

VII. The Path to Liberation

Introduction

  1. Why Does One Enter the Path?

    1. The Arrow of Birth, Aging, and Death (MN 63)
    2. The Heartwood of the Spiritual Life (MN 29)
    3. The Fading Away of Lust (SN 45:41–48, combined)
  2. Analysis of the Eightfold Path (SN 45:8)

  3. Good Friendship (SN 45:2)

  4. The Graduated Training (MN 27)

  5. The Higher Stages of Training with Similes (from MN 39)

VIII. Mastering the Mind

Introduction

  1. The Mind Is the Key (AN 1: iii, 1, 2, 3, 4, 9, 10)

  2. Developing a Pair of Skills

    1. Serenity and Insight (AN 2: iii, 10)
    2. Four Ways to Arahantship (AN 4:170)
    3. Four Kinds of Persons (AN 4:94)
  3. The Hindrances to Mental Development (SN 46:55, abridged)

  4. The Refinement of the Mind (AN 3:100 §§1–10)

  5. The Removal of Distracting Thoughts (MN 20)

  6. The Mind of Loving-Kindness (from MN 21)

  7. The Six Recollections (AN 6:10)

  8. The Four Establishments of Mindfulness (MN 10)

  9. Mindfulness of Breathing (SN 54:13)

  10. The Achievement of Mastery (SN 28:1–9, combined)

IX. Shining the Light of Wisdom

Introduction

  1. Images of Wisdom

    1. Wisdom as a Light (AN 4:143)
    2. Wisdom as a Knife (from MN 146)
  2. The Conditions for Wisdom (AN 8:2, abridged)

  3. A Discourse on Right View (MN 9)

  4. The Domain of Wisdom

    1. By Way of the Five Aggregates

    2. By Way of the Six Sense Bases

      • Full Understanding (SN 35:26)
      • Burning (SN 35:28)
      • Suitable for Attaining Nibbana (SN 35:147–49, combined)
      • Empty Is the World (SN 35:85)
      • Consciousness Too Is Nonself (SN 35:234)
    3. By Way of the Elements

      • The Eighteen Elements (SN 14:1)
      • The Four Elements (SN 14:37–39, combined)
      • The Six Elements (from MN 140)
    4. By Way of Dependent Origination

    5. By Way of the Four Noble Truths

      • The Truths of All Buddhas (SN 56:24)
      • These Four Truths Are Actual (SN 56:20)
      • A Handful of Leaves (SN 56:31)
      • Because of Not Understanding (SN 56:21)
      • The Precipice (SN 56:42)
      • Making the Breakthrough (SN 56:32)
      • The Destruction of the Taints (SN 56:25)
  5. The Goal of Wisdom

    1. What is Nibbana? (SN 38:1)
    2. Thirty-Three Synonyms for Nibbana (SN 43:1–44, combined)
    3. There Is That Base (Ud 8:1)
    4. The Unborn (Ud 8:3)
    5. The Two Nibbana Elements (It 44)
    6. The Fire and the Ocean (from MN 72)

X. The Planes of Realization

Introduction

  1. The Field of Merit for the World

    1. Eight Persons Worthy of Gifts (AN 8:59)
    2. Differentiation by Faculties (SN 48:18)
    3. In the Dhamma Well Expounded (from MN 22)
    4. The Completeness of the Teaching (from MN 73)
    5. Seven Kinds of Noble Persons (from MN 70)
  2. Stream-Entry

    1. The Four Factors Leading to Stream-Entry (SN 55:5)
    2. Entering the Fixed Course of Rightness (SN 25:1)
    3. The Breakthrough to the Dhamma (SN 13:1)
    4. The Four Factors of a Stream-Enterer (SN 55:2)
    5. Better than Sovereignty over the Earth (SN 55:1)
  3. Nonreturning

    1. Abandoning the Five Lower Fetters (from MN 64)
    2. Four Kinds of Persons (AN 4:169)
    3. Six Things that Partake of True Knowledge (SN 55:3)
    4. Five Kinds of Nonreturners (SN 46:3)
  4. The Arahant

    1. Removing the Residual Conceit “I Am” (SN 22:89)
    2. The Trainee and the Arahant (SN 48:53)
    3. A Monk Whose Crossbar Has Been Lifted (from MN 22)
    4. Nine Things an Arahant Cannot Do (from AN 9:7)
    5. A Mind Unshaken (from AN 9:26)
    6. The Ten Powers of an Arahant Monk (AN 10:90)
    7. The Sage at Peace (from MN 140)
    8. Happy Indeed Are the Arahants (from SN 22:76)
  5. The Tathagata

    1. The Buddha and the Arahant (SN 22:58)
    2. For the Welfare of Many (It 84)
    3. Sariputta’s Lofty Utterance (SN 47:12)
    4. The Powers and Grounds of Self-Confidence (from MN 12)
    5. The Manifestation of Great Light (SN 56:38)
    6. The Man Desiring Our Good (from MN 19)
    7. The Lion (SN 22:78)
    8. Why Is He Called the Tathagata? (AN 4:23 = It 112)



Emptiness

Tags: book, Buddha, karma, meditation, story, sutta, resource


Posted in Buddhism


Saturday, 21 February, 2009

Washington Times releases open source projects

From Washington Times.

The Washington Times has always focused on content. After careful review, we determined that the best way to have the top tools to produce and publish that content is to release the source code of our in-house tools and encourage collaboration.

The source code is released under the permissive Apache License, version 2.0. The initial tools released are:

  • django-projectmgr, a source code repository manager and issue tracking application. It allows threaded discussion of bugs and features, separation of bugs, features and tasks and easy creation of source code repositories for either public or private consumption.

  • django-supertagging, an interface to the Open Calais service for semantic markup.

  • django-massmedia, a multi-media management application. It can create galleries with multiple media types within, allows mass uploads with an archive file, and has a plugin for fckeditor for embedding the objects from a rich text editor.

  • django-clickpass, an interface to the clickpass.com OpenID service that allows users to create an account with a Google, Yahoo!, Facebook, Hotmail or AIM account.

The opensource.washingtontimes.com web site will be hosting the code and issue tracking software, using django-projectmgr.

Tags: Python, django, resource, cooperation


Posted in Open-Source , Python