<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1949422041773277478</id><updated>2011-09-24T17:32:16.947+08:00</updated><category term='Open Source Software'/><category term='Magento E-Commerce'/><category term='Code Snippets'/><category term='Internet News'/><category term='Delicious Recipes'/><category term='Featured Applications'/><category term='Website Tips/Tricks'/><category term='CentOS/RedHat Encyclopedia'/><category term='Safari Bookshelf'/><category term='Ubuntu Encyclopedia'/><category term='Personal Development'/><category term='Celebration Arena'/><category term='Ubuntu Software Center'/><category term='Cappuccino Web Framework'/><category term='Django Framework'/><category term='Ruby On Rails'/><category term='Mac OSX Non-Apple'/><category term='MySQL Encyclopedia'/><category term='Gadgets'/><category term='GNU Linux Channel'/><category term='Success Encyclopedia'/><category term='Information Technology'/><title type='text'>has_many =&gt; apps, :through =&gt; :ubuntu</title><subtitle type='html'>&lt;b&gt;Maintain By:&lt;/b&gt; Jin-Kang Cheng (&lt;a href="mailto:jk.cheng@mygnus.net"&gt;jk_dot_cheng_at_mygnus_dot_net&lt;/a&gt;)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default?start-index=101&amp;max-results=100'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>118</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-3038555612060517108</id><published>2011-08-13T04:39:00.003+08:00</published><updated>2011-08-13T05:02:50.961+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GNU Linux Channel'/><title type='text'>Revolution OS : Documentary about Linux &amp; Open Source</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_OMQMegzTDhE/S1rSFf5QxUI/AAAAAAAAAKY/HDsYjzjHBBo/s1600-h/GNU-Linux-Soft-Revolution.png"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5429883292651406658" src="http://2.bp.blogspot.com/_OMQMegzTDhE/S1rSFf5QxUI/AAAAAAAAAKY/HDsYjzjHBBo/s320/GNU-Linux-Soft-Revolution.png" style="cursor: pointer; display: block; height: 320px; margin: 0px auto 10px; text-align: center; width: 240px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Hackers, Programmers &amp;amp; Rebels UNITE!&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;center&gt;&lt;br /&gt;&lt;iframe allowfullscreen="" frameborder="0" height="390" src="http://www.youtube.com/embed/CjaC8Pq9-V0?rel=0" width="480"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;/center&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-3038555612060517108?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/3038555612060517108/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/gnu-linux-soft-revolution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3038555612060517108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3038555612060517108'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/gnu-linux-soft-revolution.html' title='Revolution OS : Documentary about Linux &amp; Open Source'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OMQMegzTDhE/S1rSFf5QxUI/AAAAAAAAAKY/HDsYjzjHBBo/s72-c/GNU-Linux-Soft-Revolution.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-2570417429360604975</id><published>2011-08-08T06:23:00.001+08:00</published><updated>2011-08-13T06:34:12.262+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Software Center'/><title type='text'>Watch PPStream on Ubuntu with "totem-pps"</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-ebAiHoK5qeM/TkWp9MTaaqI/AAAAAAAAAOM/AlmYFNS2eKQ/s1600/logo_ppstream.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" height="78" width="217" src="http://2.bp.blogspot.com/-ebAiHoK5qeM/TkWp9MTaaqI/AAAAAAAAAOM/AlmYFNS2eKQ/s400/logo_ppstream.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This project provides a set of plugins for gstreamer and totem (gst-plugins-pps and totem-pps) for linux users. The gst-plugins-pps enables gstreamer powered media player to play ppstream streamings such as the url which has a prefix "tvod://" or "pps://" . And totem-pps adds a kan.pps.tv play list to totem. With both plugins installed, you can browser and play videos from kan.pps.tv with totem.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;Add the Totem-PPS PPA in your Ubuntu source list using:&lt;/b&gt;&lt;br /&gt;&lt;blockquote style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;sudo apt-add-repository ppa:portis25/cnav&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Update Ubuntu source list using:&lt;/b&gt;&lt;br /&gt;&lt;blockquote style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;sudo apt-get update&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Install Totem-PPS using:&lt;/b&gt;&lt;br /&gt;&lt;blockquote style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;sudo apt-get install totem-pps&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Further information about Totem-PPS:&lt;/b&gt; &lt;a href="http://code.google.com/p/totem-pps/"&gt;http://code.google.com/p/totem-pps/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-2570417429360604975?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/2570417429360604975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2011/08/watch-ppstream-on-ubuntu-with-totem-pps.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/2570417429360604975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/2570417429360604975'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2011/08/watch-ppstream-on-ubuntu-with-totem-pps.html' title='Watch PPStream on Ubuntu with &quot;totem-pps&quot;'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-ebAiHoK5qeM/TkWp9MTaaqI/AAAAAAAAAOM/AlmYFNS2eKQ/s72-c/logo_ppstream.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-7292081067033034522</id><published>2011-08-07T02:16:00.008+08:00</published><updated>2011-08-13T02:24:21.712+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Finding A New Business Idea</title><content type='html'>&lt;b&gt;By:&lt;/b&gt; &lt;a href="http://www.briantracy.com"&gt;Brian Tracy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Look for Opportunities&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;How do you find a new product or service, recognizing that 80 percent or more will be new in five years? Here's a series of ideas. Number one, begin with yourself. Begin with your own talents, your abilities, your experience, knowledge, interest, background, education, and so on. Look carefully at your current work, your current business, your current position, or your current product or service. Seek for what is called your own acres of diamonds. Look under your own feet.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Look Into Yourself&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Here's a question. What qualities account for your greatest successes in life so far? What personal qualities and abilities have gotten you to where you are? And how could you apply those qualities and abilities to starting and building a new business?&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;If you already have a company, ask what are your companies' talents, abilities, experience, knowledge, interest, background, and so on. What qualities and talents and abilities have enabled your company to succeed up to now? Where can you specialize? Where can you make a difference?&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Identify What You Really Enjoy&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Number two is look for a product or service about which you can really become enthusiastic. Sometimes people become wealthy by translating or transforming their hobbies into a business. You will be most successful doing something or marketing something that you really love.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Every product must have a champion. Every product or service must have someone in the business who really, really loves the product or service and is eager to get out and tell other people about it.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Improve On Something Else&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Number three, look for something that is an improvement on an existing product or service, not something brand new. Look for something that's cheaper or better quality. Or that has additional features or functions. Look for something that's an improvement.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Remember improving an existing successful product or service is the fastest and surest way to build a successful business. An idea only needs to be ten percent new and better to capture substantial market share. Brand new products or services are very risky.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Be Willing to Work Hard&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The fourth key to finding a new product or service is this. Don't look for easy money. Don't look for gimmicks or useless knickknacks. Don't look for get-rich-quick schemes or rewards without working, because they're aren't any.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;More people have wasted more time and more life and more money trying to find quick ways to make easy money than you can possibly imagine. So be willing to put in a lot of hard work before you start making real money in a business.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Success Takes Time&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;It takes two years to break even in the average business. It takes four years to show a profit. It takes maybe eight to ten years before it starts to generate real cash flow. So you have to be patient. If you're impatient, what will happen is you'll end up setting yourself further back than you can imagine.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-7292081067033034522?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/7292081067033034522/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2011/08/finding-new-business-idea.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7292081067033034522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7292081067033034522'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2011/08/finding-new-business-idea.html' title='Finding A New Business Idea'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-8304314203041047100</id><published>2011-08-06T05:05:00.000+08:00</published><updated>2011-08-13T05:10:00.641+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GNU Linux Channel'/><title type='text'>The Secret History of Hacking</title><content type='html'>&lt;div style="text-align: justify;"&gt;A hacker is a brilliantly devious criminal mind breaking the world's most secret IT systems for money or political espionage, if you believe many similarly hysterical press reports. In fact, the truth is a lot more intriguing. The Secret History of Hacking uncovered the real story of a counter culture that has corporate America on the run.&lt;/div&gt;&lt;br /&gt;&lt;center&gt;&lt;br /&gt;&lt;iframe width="480" height="390" src="http://www.youtube.com/embed/u18BAZjUHhE?rel=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;/center&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-8304314203041047100?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/8304314203041047100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2011/08/secret-history-of-hacking.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8304314203041047100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8304314203041047100'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2011/08/secret-history-of-hacking.html' title='The Secret History of Hacking'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/u18BAZjUHhE/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-1457676702703475512</id><published>2011-08-01T01:06:00.007+08:00</published><updated>2011-08-13T02:32:20.450+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Featured Applications'/><title type='text'>:calibre =&gt; "ebook management system"</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-VSBoAaC4Vjg/TkVstBy826I/AAAAAAAAAOE/bAe0d6HxBL8/s1600/calibre.png" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" height="256" width="256" src="http://4.bp.blogspot.com/-VSBoAaC4Vjg/TkVstBy826I/AAAAAAAAAOE/bAe0d6HxBL8/s400/calibre.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;The one stop solution for all your e-book needs. Comprehensive e-book software.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Calibre is a free and open source e-book library management application developed by users of e-books for users of e-books. It has a cornucopia of features divided into the following main categories:&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Library Management&lt;/li&gt;&lt;li&gt;E-book conversion&lt;/li&gt;&lt;li&gt;Syncing to e-book reader devices&lt;/li&gt;&lt;li&gt;Downloading news from the web and converting it into e-book form&lt;/li&gt;&lt;li&gt;Comprehensive e-book viewer&lt;/li&gt;&lt;li&gt;Content server for online access to your book collection&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;b&gt;Add the Calibre PPA in your Ubuntu source list using:&lt;/b&gt;&lt;br /&gt;&lt;blockquote style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;sudo apt-add-repository ppa:n-muench/calibre&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Update your Ubuntu source list using:&lt;/b&gt;&lt;br /&gt;&lt;blockquote style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;sudo apt-get update&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Install Calibre using:&lt;/b&gt;&lt;br /&gt;&lt;blockquote style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;sudo apt-get install calibre&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Further information about Calibre:&lt;/b&gt; &lt;a href="http://calibre-ebook.com/"&gt;http://calibre-ebook.com/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-1457676702703475512?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/1457676702703475512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2011/08/calibre-ebook-management-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1457676702703475512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1457676702703475512'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2011/08/calibre-ebook-management-system.html' title=':calibre =&gt; &quot;ebook management system&quot;'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-VSBoAaC4Vjg/TkVstBy826I/AAAAAAAAAOE/bAe0d6HxBL8/s72-c/calibre.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-6125092255969898888</id><published>2011-07-31T03:08:00.005+08:00</published><updated>2011-08-13T03:15:44.741+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Concentrate on Your Resources</title><content type='html'>&lt;b&gt;By:&lt;/b&gt; &lt;a href="http://www.briantracy.com/"&gt;Brian Tracy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The Principle of Mass requires that you concentrate on your best people, your best energies, and your limited resources in those areas where the greatest victories are possible. Restructure and reorganize your activities so that your best talents are focused on those results that can get you out of the crunch faster than any others.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Stay Flexible&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The Principle of Maneuver is one of the greatest battlefield successes; it requires that you out-maneuver your enemy by attacking from the flank or the rear. In business, the practice of this principle requires that you try something new, and if that doesn't work, try something else. Be flexible and creative in your approach. Think of doing exactly the opposite of what you have done up until now. Keep all your options open. Survival and victory are your only considerations.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Gather All Available Information&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The Principle of Intelligence means that you must get the facts about the situation. Learn everything you can. Ask questions, phone people, go onto the Internet. The more and better information you have, the better and more effective decisions you will be able to make.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Get Everyone Working Together&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Concerted Action makes sure that everyone on your team is working together with common goals, common values, and clearly understood work assignments. Everyone should know what is going on and what everyone else is doing. One of the rules for military victory is that you never trust to luck or wish that something will turn up. Hope is not a strategy. Look to yourself and don't expect an easy victory.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Napoleon&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Napoleon was once asked if he believed in luck in warfare. He replied, “Yes, I believe in luck. I believe in bad luck, and I believe that I will always have it. I therefore plan accordingly.” You should do the same. If you do have a streak of good luck, consider yourself blessed. But don't count on it or hope for it to happen.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;You're the Boss!&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Unity of Command is a military strategy that means that everyone must know that you are completely in command. You are in charge of your financial future. You are calling the shots. Everyone reports to you and answers to you. You can go back to democratic consensus later, but during crunch time, it must be clear to everyone that you are the boss.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Total Commitment to Your Financial Success&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Finally, in taking action to resolve a crisis, perhaps the most important quality you can have is a total commitment to your financial success, to winning, to overcoming your difficulties, no matter what they are. The key to financial victory is for you to go on the attack, relentlessly moving forward. It has been said that boldness and audacity will get you into a lot of problems, but more, boldness and audacity will get you out of your problems as well. Take action immediately, and keep on taking action until you win.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-6125092255969898888?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/6125092255969898888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2011/07/concentrate-on-your-resources.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/6125092255969898888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/6125092255969898888'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2011/07/concentrate-on-your-resources.html' title='Concentrate on Your Resources'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-8661604747751185187</id><published>2011-07-30T06:50:00.000+08:00</published><updated>2011-08-13T06:15:53.390+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GNU Linux Channel'/><title type='text'>GNU/Linux: The Codebreakers -&gt; Part 1</title><content type='html'>&lt;div style="text-align: justify;"&gt;The famous digital divide is getting wider. A two-part documentary, The Codebreakers aired on BBC World starting 10 May 2006 examines whether free/open source software (FOSS) might be the bridge?&lt;/div&gt;&lt;br /&gt;&lt;center&gt;&lt;br /&gt;&lt;iframe width="480" height="390" src="http://www.youtube.com/embed/Ji1eW_wPIMs?rel=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;center&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-8661604747751185187?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/8661604747751185187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2011/07/gnulinux-codebreakers-part-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8661604747751185187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8661604747751185187'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2011/07/gnulinux-codebreakers-part-1.html' title='GNU/Linux: The Codebreakers -&gt; Part 1'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/Ji1eW_wPIMs/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-822245843303340902</id><published>2011-07-30T05:12:00.000+08:00</published><updated>2011-08-13T06:15:28.578+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GNU Linux Channel'/><title type='text'>GNU/Linux: The Codebreakers -&gt; Part 2</title><content type='html'>&lt;div style="text-align: justify;"&gt;The famous digital divide is getting wider. A two-part documentary, The Codebreakers aired on BBC World starting 10 May 2006 examines whether free/open source software (FOSS) might be the bridge?&lt;/div&gt;&lt;br /&gt;&lt;center&gt;&lt;br /&gt;&lt;iframe width="480" height="390" src="http://www.youtube.com/embed/QxRYlvv-ey0?rel=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;center&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-822245843303340902?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/822245843303340902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2011/07/gnulinux-codebreakers-part-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/822245843303340902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/822245843303340902'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2011/07/gnulinux-codebreakers-part-2.html' title='GNU/Linux: The Codebreakers -&gt; Part 2'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/QxRYlvv-ey0/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-912344217700536691</id><published>2011-07-24T03:19:00.000+08:00</published><updated>2011-08-13T03:24:43.869+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Setting Your Goals</title><content type='html'>&lt;b&gt;By:&lt;/b&gt; &lt;a href="http://www.briantracy.com/"&gt;Brian Tracy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In my conversations with hundreds of top salespeople over the years, I have found that they all have one thing in common. They have taken the time to sit down and create a clear blueprint for themselves and their future lives. Even if they started the process of goal setting and personal strategic planning with a little skepticism, every one of them has become a true believer.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Becoming a True Believer&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Every one of them has been amazed at the incredible power of goal setting and strategic planning. Every one of them has accomplished far more than they ever believed possible in selling and they ascribe their success to the deliberate process of thinking through every aspect of their work and their lives, and then developing a detailed, written road map to get them to where they wanted to go.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;The Definition of Happiness&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Happiness has been defined as, "The progressive achievement of a worthy ideal, or goal." When you are working progressively, step-by-step toward something that is important to you, you generate within yourself a continuous feeling of success and achievement.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;You feel more positive and motivated. You feel more in control of your own life. You feel happier and more fulfilled. You feel like a winner, and you soon develop the psychological momentum that enables you to overcome obstacles and plough through adversity as you move toward achieving the goals that are most important to you.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Determine Your Values&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Personal strategic planning begins with your determining what it is you believe in and stand for-your values. Your values lie at the very core of everything you are as a human being. Your values are the unifying principles and core beliefs of your personality and your character. The virtues and qualities that you stand for are what constitute the person you have become from the beginning of your life to this moment.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Your values, virtues and inner beliefs are the axle around which the wheel of your life turns. All improvement in your life begins with you clarifying your true values and then committing yourself to live consistent with them.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Fuzzy or Clear?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Successful people are successful because they are very clear about their values. Unsuccessful people are fuzzy or unsure. Complete failures have no real values at all.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Build Self-Confidence and Self-Esteem&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Values clarification is the beginning exercise in building self-confidence, self-esteem and personal character. When you take the time to think through your fundamental values, and then commit yourself to living your life consistent with them, you feel a surge of mental strength and well-being. You feel stronger and more capable. You feel more centered in the universe and more competent of accomplishing the goals you set for yourself.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-912344217700536691?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/912344217700536691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2011/07/setting-your-goals.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/912344217700536691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/912344217700536691'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2011/07/setting-your-goals.html' title='Setting Your Goals'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4145397980865345804</id><published>2010-10-29T22:15:00.002+08:00</published><updated>2010-10-31T22:16:41.567+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Celebration Arena'/><title type='text'>Say Happy Birthday to Internet</title><content type='html'>Internet exact date is not confirmed, but it is assumed that, it was started on 29th of October 1969, so according to the theory of 29th October, Internet today is celebrating the 41st Birthday of the revolution of it own kind.&lt;br /&gt;&lt;br /&gt;The advantages of Internet is known to every person reading this J. The technological marketing took a new shape on the arrival of Internet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4145397980865345804?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4145397980865345804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/10/say-happy-birthday-to-internet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4145397980865345804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4145397980865345804'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/10/say-happy-birthday-to-internet.html' title='Say Happy Birthday to Internet'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4024791001417349040</id><published>2010-08-10T20:07:00.008+08:00</published><updated>2010-10-31T20:10:10.488+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Gadgets'/><title type='text'>Samsung Introduces Nori SHW-A220 Touchscreen Phone</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_LBo47wFtX-o/TF_Jb-88HSI/AAAAAAAABoI/Xbtdb8G3Eo8/s400/Samsung+Introduces+Nori+SHW-A220+Touchscreen+Phone.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/_LBo47wFtX-o/TF_Jb-88HSI/AAAAAAAABoI/Xbtdb8G3Eo8/s320/Samsung+Introduces+Nori+SHW-A220+Touchscreen+Phone.jpg" width="215" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Samsung  introduces in Korea the new &amp;amp; latest Nori SHW-A220  touchscreen  phone that allows customization. Designed for girls, users  can  personalize the phone with eight unique characters front plates.&lt;br /&gt;&lt;br /&gt;The newest Nori features a 3-inch 240×400 touchscreen  display, a 3.2  Megapixel main camera, a 1.3 Megapixel front camera for  video call,  included T-DMB tuner, GPS, Bluetooth &amp;amp; WiFi  connectivity. It also  offers a microSD card slot.&lt;br /&gt;The Samsung Nori SHW-A220 is available in biege, pink &amp;amp; blue colors.&lt;br /&gt;Source &lt;a href="http://www.samsunghub.com/2010/08/02/samsung-announces-nori-shw-a220-touchscreen-phone/"&gt;samsunghub&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4024791001417349040?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4024791001417349040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/08/samsung-introduces-nori-shw-a220.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4024791001417349040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4024791001417349040'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/08/samsung-introduces-nori-shw-a220.html' title='Samsung Introduces Nori SHW-A220 Touchscreen Phone'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_LBo47wFtX-o/TF_Jb-88HSI/AAAAAAAABoI/Xbtdb8G3Eo8/s72-c/Samsung+Introduces+Nori+SHW-A220+Touchscreen+Phone.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-9132274876221499116</id><published>2010-08-03T14:54:00.001+08:00</published><updated>2010-08-05T02:59:48.001+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Personal Development'/><title type='text'>Selling to Today's Customers</title><content type='html'>What is selling? In its simplest terms, selling is the process of helping a person to conclude that your product or service is of greater value to him than the price you are asking for.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How Markets Work&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Our market society is based on the principles of freedom and mutual benefit. Each party to a transaction only enters into it when he feels that he will be better off as a result of the transaction than he would be without it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The Three Options&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;In a free market, the customer always has three options with any purchase decision. First, the customer can buy your product or service. Second, the customer can buy the product or service from someone else. Third, the customer can decide to buy nothing at all.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Convincing the Customer&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;For the customer to buy your particular product or service, he or she must be convinced that it is not only the best choice available but he must also be persuaded that there is no better way for him to spend the equivalent amount of money. Your job as a salesperson is to convince the customer that all these conditions exist and then to elicit a commitment from him to take action on your offer.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Customize Your Sales Presentation&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The field of professional selling has changed dramatically since World War II. In a way, selling methodologies are merely responses to customer requirements. At one time, customers were relatively unsophisticated and poorly informed about their choices. Salespeople catered to this customer with carefully planned and memorized sales presentations, loads of enthusiasm and a bag full of techniques designed to crush resistance and get the order at virtually any cost.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Treat Them With Respect&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;But the customer of the 1950s has matured into the customer of the 21st century. Customers are now more intelligent and knowledgeable than ever before. They are experienced buyers and they have interacted with hundreds of salespeople. They are extremely sophisticated and aware of the incredible variety of products and services that are available to them, as well as their relative strengths and weaknesses of those products. Many of them are smarter and better educated than most salespeople and they are far more careful about making a buying decision of any kind.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The Need For Speed&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;In addition, they are overwhelmed with work and under-supplied with time. Because of the rapidly increasing pace of change, down-sizing, restructuring and the competitive pressures surrounding them, customers today are harried and hassled. They are swamped with responsibilities, impatient, suspicious, critical, demanding, and spoiled. To sell to today's customer requires a higher caliber of sales professional than has ever before been required. And it is only going to become tougher and more complicated in the months and years ahead.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-9132274876221499116?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/9132274876221499116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/08/selling-to-todays-customers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/9132274876221499116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/9132274876221499116'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/08/selling-to-todays-customers.html' title='Selling to Today&apos;s Customers'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-6881734350508702521</id><published>2010-03-27T21:28:00.005+08:00</published><updated>2010-10-31T21:30:33.514+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Internet News'/><title type='text'>GoDaddy stopping registering domains in China</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_OMQMegzTDhE/TM1vZk5SAxI/AAAAAAAAANE/ETfD0rno5Sc/s1600/godaddy-300x152.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_OMQMegzTDhE/TM1vZk5SAxI/AAAAAAAAANE/ETfD0rno5Sc/s1600/godaddy-300x152.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Godaddy – one company is ready to follow Google’s stance on doing business in China.&lt;br /&gt;&lt;br /&gt;During a congressional hearing later today to discuss Internet freedom and China, GoDaddy managerial plan to announce that they will stop registering domain names in China in response to a new government policy that requires extensive information about registrants. Starting last December, individuals and businesses that wished to register a .cn domain name were being asked to submit a photograph of themselves as well as a serial number identifying their business license in China .go&lt;br /&gt;&lt;br /&gt;Google’s Alan Davidson, director of public policy, also plans to speak before the hearing, coming two days after Google announced its decision to move its Chinese-language search engine from mainland China to Hong Kong in order to bypass government laws on Internet censorship.&lt;br /&gt;&lt;br /&gt;For the majority part, U.S. companies have repeated plans to stay in China and stick on to their laws following Google’s initial announcement in January and ensuing moves this week.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-6881734350508702521?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/6881734350508702521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/03/godaddy-stopping-registering-domains-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/6881734350508702521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/6881734350508702521'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/03/godaddy-stopping-registering-domains-in.html' title='GoDaddy stopping registering domains in China'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OMQMegzTDhE/TM1vZk5SAxI/AAAAAAAAANE/ETfD0rno5Sc/s72-c/godaddy-300x152.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4848402485354651063</id><published>2010-03-24T01:58:00.002+08:00</published><updated>2010-03-24T02:00:28.688+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Website Tips/Tricks'/><title type='text'>How to get a Free Domain Name &amp; Free Web Hosting</title><content type='html'>&lt;b&gt;Get a Free Domain Name&lt;/b&gt;&lt;br /&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;Step 1: To register a free domain, please go to CO.CC website by  clicking on the link &lt;a href="http://www.co.cc/?id=186975" mce_href="http://www.co.cc/?id=186975" target="_blank"&gt;http://www.co.cc/&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Step  2: Now when you are on &lt;a href="http://www.co.cc/?id=186975" mce_href="http://www.co.cc/?id=186975" target="_blank"&gt;http://www.co.cc/&lt;/a&gt;, find the  domain name that you prefer. (&lt;i&gt;In this case I use example.co.cc&lt;/i&gt;)&lt;/li&gt;&lt;li&gt;Step  3: If your preferred domain name is available, then proceed to the next  page by clicking on the "Continue to registration" button.&lt;/li&gt;&lt;li&gt;Step  4: Now you are in the registration page. Since you are the new user,  please click on the "Create new user" button, then feel in your details.&lt;/li&gt;&lt;li&gt;Step  5: Submit the registration form, and now your domain name are  registered. To manage your domain name, just login to &lt;a href="http://www.co.cc/?id=186975" mce_href="http://www.co.cc/?id=186975"&gt;http://www.co.cc/&lt;/a&gt;. I will show  how to manage the domain name later.&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;Get a Free Web &amp;amp; Email  Hosting&lt;/b&gt;&lt;br /&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;Step 6: To get a free web hosting, please go to &lt;a href="http://www.000webhost.com/213501.html" mce_href="http://www.000webhost.com/213501.html" target="_blank"&gt;000Webhost&lt;/a&gt; by clicking  the link &lt;a href="http://www.000webhost.com/213501.html" mce_href="http://www.000webhost.com/213501.html" target="_blank"&gt;http://www.000webhost.com/&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Step  7: Now you are in &lt;a href="http://www.000webhost.com/213501.html" mce_href="http://www.000webhost.com/213501.html" target="_blank"&gt;000Webhost&lt;/a&gt; package  selection site. There are 2 option for you to choose; 1. Free Hosting 2.  Paid Hosting. Just click the "Order" Button on the Free Hosting package  to proceed to the ordering page.&lt;/li&gt;&lt;li&gt;Step 8: In the ordering page,  the is a field that have a default value of "yourdomain.com". Change it  to the domain name you just registered at &lt;a href="http://www.co.cc/?id=186975" mce_href="http://www.co.cc/?id=186975" target="_blank"&gt;CO.CC&lt;/a&gt;. In my case, I will replace  it with example.co.cc as domain name.&lt;/li&gt;&lt;li&gt;Step 9: Completed the  ordering form by feeling your details. Then submit the order. Please  give the administrator 24 hours to consider and configure your web  hosting.&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;After 24 Hours&lt;/b&gt;&lt;br /&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;Step 10: Within 24 hours, an  e-mail will be send to you to confirm your ordering. Now your web  hosting is ready but your domain name is not yet set to be pointing to  your web hosting.&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;Manage the Domain Name&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li style="text-align: justify;"&gt;Step 11: First  login to 000Webhost to get 2 set of DNS&amp;nbsp; provided by 000Webhost. After  login, you will see an alert message, and now copy down the 2 DNS sets  (ns1.000webhost.com, ns2.ooowebhost.com).&lt;/li&gt;&lt;li style="text-align: justify;"&gt;Step 12: Go to CO.CC and  login in into the domain management site. Now select on Manage Domain  option.&lt;/li&gt;&lt;li style="text-align: justify;"&gt;Step 13: When you are in the Manage Domain area, choose to  set the Name Server for your domain.&lt;/li&gt;&lt;li style="text-align: justify;"&gt;Step 14: Now feel in your  Name Server with the 2 DNS sets, you just copied from step 11. Click on  setup and all is done.&lt;/li&gt;&lt;li style="text-align: justify;"&gt;Step 15: Now you upload Worpress for  blogging or HTML files for Website/Personal Profile.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4848402485354651063?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4848402485354651063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/03/how-to-get-free-domain-name-free-web.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4848402485354651063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4848402485354651063'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/03/how-to-get-free-domain-name-free-web.html' title='How to get a Free Domain Name &amp; Free Web Hosting'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-5592533742330114950</id><published>2010-03-05T11:47:00.000+08:00</published><updated>2010-03-05T11:47:19.941+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Magento E-Commerce'/><title type='text'>Magento templates is more than HTML</title><content type='html'>We get a lot of requests for Magento. Not only building a whole site, migrating an old one but also simply doing “PDS to Magento” jobs. And then we get back to the client and they’re always surprised at the time (and dineros) it takes. “But it’s just a PSD?”….Well, yes, but Magento is not just HTML. Really?!!&lt;br /&gt;&lt;br /&gt;Here are the main differences:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Magento uses mostly blocks for its modules and components so you have to understand how they work and how they fit with your HTML and the overall code. It’s not plug and play and it takes time to figure out. Even after several projects.&lt;/li&gt;&lt;li&gt;You have to take into account in your evaluation and work all the pages beyond the home page and product pages, like account log in, checkout, shopping cart, wishlist and so forth….&lt;/li&gt;&lt;li&gt;Don’t forget the “communication” pages like transactional emails, newsletter templates, etc…&lt;/li&gt;&lt;li&gt;Finally you’ll probably be using javascript to make things a bit more user-friendly, like an accordion menu, or a gallery, so you need to take into account as well.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Overall, creating Magento templates are easily twice or triple the time it takes for a normal “PSD to HTML” job so be careful before you quote anything if you don’t want to lose your shirt. There a lot more pages and templates to play with than the home and product pages.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-5592533742330114950?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/5592533742330114950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/03/magento-templates-is-more-than-html.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/5592533742330114950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/5592533742330114950'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/03/magento-templates-is-more-than-html.html' title='Magento templates is more than HTML'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-6237839965071907052</id><published>2010-02-23T16:06:00.001+08:00</published><updated>2010-02-23T16:09:44.996+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Celebration Arena'/><title type='text'>DiosCom System is lunching new Application Service Prodiving package</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_OMQMegzTDhE/S4OMI7GC4NI/AAAAAAAAAMc/ZvQ5rAm2CPE/s1600-h/company_logo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_OMQMegzTDhE/S4OMI7GC4NI/AAAAAAAAAMc/ZvQ5rAm2CPE/s320/company_logo.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Thanks for all the response we get from the previous posting on facebook. As a response to those comments. We (DiosCom System) feel is better to share the idea directly to you here.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;As one branch of our business model, the Application Service Provider (ASP). We are providing a E-Commerce Hosted Platform to businesses which is willing to move in E-Commerce Edge. And the E-Commerce Software we used here is call Magento, the fastest growth open source software in the market of e-commerce.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;We are charging RM2K per year to customers who subscribe to the service. What is the RM2K charged for since the software is open source.&lt;/div&gt;1) Fees for Hosting expenses (at the moment we provide up to 10GB Web Storage)&lt;br /&gt;2) Fees for Web Templates and Software Extensions3) Fees for Support &amp;amp; Consultancy:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Website Crawl and Indexing with Google Webmaster&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Website Analysis with Google Analytic&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Magento Setup and System Update&lt;br /&gt;4) Expenses for our developers to improve the system and contribute back to magento.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;As a pro-active actions, we are outsourcing the sales to anyone who are interested, either to do it seriously or just to get some extra income. We are paying 20% to sales person for each sales made (only successful count). Which mean 20% of RM2K, which is RM400. And for every renewal on the next continuous yearly, sales person also will be paid on the same amount as before.&lt;/div&gt;&lt;br /&gt;For more, contact us at:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;E-mail:&lt;/b&gt; dioscom.system@gmail.com&lt;/li&gt;&lt;li&gt;&lt;b&gt;MSN:&lt;/b&gt; jk.cheng@live.com&lt;/li&gt;&lt;li&gt;&lt;b&gt;GTalk:&lt;/b&gt; jinkang.cheng@gmail.com&lt;/li&gt;&lt;li&gt;&lt;b&gt;Skype:&lt;/b&gt; jinkang.cheng&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-6237839965071907052?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/6237839965071907052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/02/dioscom-system-is-lunching-new.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/6237839965071907052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/6237839965071907052'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/02/dioscom-system-is-lunching-new.html' title='DiosCom System is lunching new Application Service Prodiving package'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_OMQMegzTDhE/S4OMI7GC4NI/AAAAAAAAAMc/ZvQ5rAm2CPE/s72-c/company_logo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-7347509214225822908</id><published>2010-02-05T03:32:00.004+08:00</published><updated>2010-02-05T03:42:32.848+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Encyclopedia'/><title type='text'>Run a C Program Directly</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/S2shS8SH86I/AAAAAAAAAMU/W7Jvm86e7h0/s1600-h/tcc-logo.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 250px; height: 150px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/S2shS8SH86I/AAAAAAAAAMU/W7Jvm86e7h0/s400/tcc-logo.png" alt="" id="BLOGGER_PHOTO_ID_5434473984656143266" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;For this short tip you'll need tcc, the Tiny C Compiler, which comes with most distributions out there, including Debian and Ubuntu. tcc is a small ANSI C compiler which offers the ability to run the program after compiling it, unlike GCC, which (as far as I know) doesn't offer this option. To install tcc in Debian and Ubuntu:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;In Debian, as root:&lt;br /&gt;&lt;blockquote style="font-family: courier new; font-weight: bold;"&gt;apt-get install tcc&lt;/blockquote&gt;&lt;br /&gt;In Ubuntu, use:&lt;br /&gt;&lt;blockquote style="font-weight: bold;"&gt;&lt;span style="font-family:courier new;"&gt;sudo apt-get install tcc&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;Now let's test this. First, create your C source file, e.g.:&lt;br /&gt;&lt;script src="http://gist.github.com/295016.js?file=example.c"&gt;&lt;/script&gt;&lt;br /&gt;Now, save this file as example.c or some other name and make it executable:&lt;br /&gt;&lt;blockquote style="font-weight: bold; font-family: courier new;"&gt;chmod 755 example.c # or chmod +x example.c&lt;/blockquote&gt;&lt;br /&gt;And the next step is just to run it!&lt;br /&gt;&lt;blockquote style="font-weight: bold;"&gt;&lt;span style="font-family:courier new;"&gt;./example.c&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;"tcc" will compile the source and run it automatically.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-7347509214225822908?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/7347509214225822908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/02/run-c-program-directly.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7347509214225822908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7347509214225822908'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/02/run-c-program-directly.html' title='Run a C Program Directly'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/S2shS8SH86I/AAAAAAAAAMU/W7Jvm86e7h0/s72-c/tcc-logo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-1697471998471898418</id><published>2010-02-03T13:53:00.004+08:00</published><updated>2010-02-03T14:01:49.362+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GNU Linux Channel'/><title type='text'>[HD] Avril Lavigne Best Damn Tour Live in Toronto 2008</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OMQMegzTDhE/S2kQW6XqUNI/AAAAAAAAAMM/kmCvzRqTJrA/s1600-h/best_damn_tour_toronto_dvd.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 290px; height: 400px;" src="http://1.bp.blogspot.com/_OMQMegzTDhE/S2kQW6XqUNI/AAAAAAAAAMM/kmCvzRqTJrA/s400/best_damn_tour_toronto_dvd.jpg" alt="" id="BLOGGER_PHOTO_ID_5433892411210879186" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;object height="368" width="450"&gt;&lt;param name="movie" value="http://www.youtube.com/p/7FD2262FC5E3A886&amp;amp;hl=en_US&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/p/7FD2262FC5E3A886&amp;amp;hl=en_US&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="368" width="450"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Pop-punk princess Avril Lavigne plays the hits that earned her legions of screaming fans (and launched a thousand ringtones) on THE BEST DAMN TOUR, a full-length presentation of her 2008 concert in Toronto. Opening with monster hit "Girlfriend," Lavigne rocks through every one of her major singles, including "Complicated," "My Happy Ending," and the ubiquitous "Sk8R BOI."&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-1697471998471898418?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/1697471998471898418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/02/hd-avril-lavigne-best-damn-tour-live-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1697471998471898418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1697471998471898418'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/02/hd-avril-lavigne-best-damn-tour-live-in.html' title='[HD] Avril Lavigne Best Damn Tour Live in Toronto 2008'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OMQMegzTDhE/S2kQW6XqUNI/AAAAAAAAAMM/kmCvzRqTJrA/s72-c/best_damn_tour_toronto_dvd.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-1962258054039326092</id><published>2010-01-29T20:12:00.000+08:00</published><updated>2010-01-29T20:12:00.410+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Code Snippets'/><title type='text'>Substitute Strings in Files with Ruby</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s1600-h/ruby-language.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 312px; height: 101px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s400/ruby-language.png" alt="" id="BLOGGER_PHOTO_ID_5416281972804850018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Uses a list of regular expressions and replacement strings to make changes in text files.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Put in file "edit-all.rb" and run with&lt;br /&gt;&lt;blockquote style="font-family: courier new; font-weight: bold;"&gt;ruby edit-all.rb *.txt&lt;/blockquote&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Now accepts the target and the replacement from the command line or from the keyboard.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;script src="http://gist.github.com/284581.js"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-1962258054039326092?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/1962258054039326092/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/substitute-strings-in-files-with-ruby.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1962258054039326092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1962258054039326092'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/substitute-strings-in-files-with-ruby.html' title='Substitute Strings in Files with Ruby'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s72-c/ruby-language.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-7270034069643607266</id><published>2010-01-24T15:44:00.001+08:00</published><updated>2010-01-24T15:50:50.556+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Delicious Recipes'/><title type='text'>Easy Crock Pot Chicken Recipes</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OMQMegzTDhE/S1v7OFywObI/AAAAAAAAAKg/OMPRRFQPeEY/s1600-h/crock-pot-sweet-sour-chicken-recipe.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 237px;" src="http://2.bp.blogspot.com/_OMQMegzTDhE/S1v7OFywObI/AAAAAAAAAKg/OMPRRFQPeEY/s320/crock-pot-sweet-sour-chicken-recipe.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5430209995217058226" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;With the temptation of fast food, processed meals, and eating out, it's difficult to spend time to prepare good, healthy, home-cooked meals. If you're like many, the last thing you want to do after coming home from work is prepare a gourmet dinner. By using your crock pot and spending 5-10 minutes each morning, you can come home to delicious home-cooked meals without hours of preparation right before dinnertime. Below are three quick and easy chicken crock pot recipes you're sure to enjoy, and each with 7 ingredients or less!&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Salsa Chicken&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;Ingredients:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;6 boneless skinless chicken breasts&lt;/li&gt;&lt;li&gt;1 ½ cups salsa&lt;/li&gt;&lt;li&gt;1 tsp ground cumin&lt;/li&gt;&lt;li&gt;3 tbsp lime juice&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Spray crock pot with non-stick cooking spray. Place chicken in slow cooker, pour salsa over chicken. Cover and cook on low 6-7 hours or high 3 hours, until chicken is tender and no longer pink. Stir in cumin and lime juice, cover and cook an additional 15 minutes.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Note: For an extra spicy kick, add a pinch of ground red chili powder with the cumin and lime juice.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Lemon Chicken&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;Ingredients:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;4 boneless skinless chicken breasts&lt;/li&gt;&lt;li&gt;¼ lemon juice&lt;/li&gt;&lt;li&gt;1/3 cup water&lt;/li&gt;&lt;li&gt;2 cloves minced garlic&lt;/li&gt;&lt;li&gt;1 tsp thyme&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Spray crock pot with non-stick cooking spray. Place chicken in crock pot. Combine juice, water, garlic, and thyme in a small bowl, pour over chicken. Cover and cook on low 8 hours or high 4 hours.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;Ranch Chicken&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;Ingredients:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;6 boneless skinless chicken breasts&lt;/li&gt;&lt;li&gt;1 can condensed cream of chicken soup&lt;/li&gt;&lt;li&gt;1 envelope ranch dressing mix&lt;/li&gt;&lt;li&gt;½ cup water&lt;/li&gt;&lt;li&gt;½ cup sour cream&lt;/li&gt;&lt;li&gt;2 tbsp ranch dressing&lt;/li&gt;&lt;li&gt;2 tbsp flour&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Spray crock pot with non-stick cooking spray. Place chicken breasts in crock pot. In a small bowl, combine soup, ranch dressing mix, and water; pour over chicken. Cover and cook on low 8 hours or high 4 hours. Remove chicken from crock pot. Stir in sour cream, ranch dressing, and flour; replace chicken. Cover and cook on high 20 minutes.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-7270034069643607266?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/7270034069643607266/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/easy-crock-pot-chicken-recipes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7270034069643607266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7270034069643607266'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/easy-crock-pot-chicken-recipes.html' title='Easy Crock Pot Chicken Recipes'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OMQMegzTDhE/S1v7OFywObI/AAAAAAAAAKg/OMPRRFQPeEY/s72-c/crock-pot-sweet-sour-chicken-recipe.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-3506501713631674416</id><published>2010-01-23T14:14:00.000+08:00</published><updated>2010-01-24T17:42:11.294+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>The Laws of Money</title><content type='html'>&lt;div style="text-align: justify;"&gt;One of your major goals in life should be financial independence. You must aim to reach the point where you have enough money so that you never have to worry about money again. The good news is that financial independence is easier to achieve today than it has ever been before.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Law of Abundance&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;We live in an abundant universe in which there is sufficient money for all who really want it and are willing to obey the laws governing its acquisition. People become wealthy because they decide to become wealthy. People are poor because they have not yet decided to become rich.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The world is full of thousands of people who have had far more difficulties to overcome than you could ever imagine, and they've gone on to be successful anyway. So can you.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Law of Exchange&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Money is the medium through which people exchange their labor in the production of goods and services for the goods and services of others. The amount of money you earn is the measure of the value that others place on your contribution. To increase the amount of money you are getting out, you must increase the value of the work that you are putting in.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Law of Capital&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Your most valuable assets, in terms of cash flow, are your physical and mental capital—your earning ability. How much time you put in and how much of yourself you put into that time largely determine your earning ability. Time and money can be either spent or invested. If you invest your time or money in becoming more knowledgeable and better skilled, you can increase your value.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Law of Time Perspective&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The most successful people in any society are those who take the longest time period into consideration when making their day-to-day decisions. Your ability to practice self-mastery, self-control, and self-denial, to sacrifice in the short term so you can enjoy greater rewards in the long term, is the starting point of developing a long time perspective.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Law of Saving&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Financial freedom comes to people who save 10 percent or more of their income throughout their lifetime. Savings today are what guarantee the security and the possibilities of tomorrow.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Law of Conservation&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;It's not how much you make but how much you keep that determines your financial future. The true measure of how well you are really doing is how much you keep out of the amount that you earn.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Law of Three&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;There are three legs to the stool of financial freedom: savings, insurance, and investment. One of your major responsibilities, to yourself and to the people who depend on you, is to build a financial fortress around yourself over the course of your working lifetime. To be fully protected against the unexpected, you require liquid savings equal to two to six months of normal expenses.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Law of Investing&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Investigate before you invest. This is one of the most important of all the laws of money. You should spend at least as much time studying a particular investment as you do earning the money to put into that particular investment. The only thing easy about money is losing it. If you think you can afford to lose a little, you're going to end up losing a lot. Invest only with experts who have a proven track record of success with their own money.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Law of Magnetism&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The more money you save and accumulate, the more money you attract into your life. The Law of Magnetism has been written about for more than 5,000 years. It explains much about success and failure in every area of life, especially in the financial arena. The more positive emotion you associate with your money, the more opportunities you will attract to acquire even more.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-3506501713631674416?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/3506501713631674416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/laws-of-money.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3506501713631674416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3506501713631674416'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/laws-of-money.html' title='The Laws of Money'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4791997123969564028</id><published>2010-01-22T19:43:00.000+08:00</published><updated>2010-01-23T19:46:49.055+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Code Snippets'/><title type='text'>Ruby CSV to XML Converter</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s1600-h/ruby-language.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 312px; height: 101px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s400/ruby-language.png" alt="" id="BLOGGER_PHOTO_ID_5416281972804850018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This code will take an input CSV file and output XML. IT was easy to write, but I haven't found anything out there to do this. The first line of the CSV file should contain the element names.&lt;/div&gt;&lt;br /&gt;&lt;script src="http://gist.github.com/284558.js"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4791997123969564028?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4791997123969564028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/ruby-csv-to-xml-converter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4791997123969564028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4791997123969564028'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/ruby-csv-to-xml-converter.html' title='Ruby CSV to XML Converter'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s72-c/ruby-language.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-7455973424444357229</id><published>2010-01-20T17:22:00.000+08:00</published><updated>2010-01-24T17:31:09.235+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Encyclopedia'/><title type='text'>GDM2 Setup Gets A New Look And An Ubuntu PPA</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/S1wTRSKgcCI/AAAAAAAAAKo/EFX1_DoU6zU/s1600-h/gdm2setup.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 202px; height: 320px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/S1wTRSKgcCI/AAAAAAAAAKo/EFX1_DoU6zU/s320/gdm2setup.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5430236438356586530" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;GDM2 Setup is a GUI configuration tool for the new GDM (2) something that was missed by a lot of people. It doesn't have as many options as the old GDM setup tool, but that's because the new GDM2 doesn't support too many customizations.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Add the GDM2 Setup PPA in your source list using:&lt;/span&gt;&lt;br /&gt;&lt;blockquote style="font-family: courier new; font-weight: bold;"&gt;sudo add-apt-repository ppa:gdm2setup/gdm2setup&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Update source list using:&lt;/span&gt;&lt;br /&gt;&lt;blockquote style="font-family: courier new; font-weight: bold;"&gt;sudo apt-get update&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Install GDM2 Setup using:&lt;/span&gt;&lt;br /&gt;&lt;blockquote style="font-family: courier new; font-weight: bold;"&gt;sudo apt-get install python-gdm2setup&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-7455973424444357229?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/7455973424444357229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/gdm2-setup-gets-new-look-and-ubuntu-ppa.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7455973424444357229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7455973424444357229'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/gdm2-setup-gets-new-look-and-ubuntu-ppa.html' title='GDM2 Setup Gets A New Look And An Ubuntu PPA'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/S1wTRSKgcCI/AAAAAAAAAKo/EFX1_DoU6zU/s72-c/gdm2setup.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-1460770877779088655</id><published>2010-01-18T17:27:00.000+08:00</published><updated>2010-01-23T17:59:00.797+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mac OSX Non-Apple'/><title type='text'>Acronis Mac OS X iDeneb 10.5.5 for Acer Aspire One</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/S1rIWc6a4LI/AAAAAAAAAKQ/8QpehsPqoHo/s1600-h/Acronis+Mac+OS+X+iDeneb+10.5.5+for+Acer+Aspire+One+001.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 187px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/S1rIWc6a4LI/AAAAAAAAAKQ/8QpehsPqoHo/s320/Acronis+Mac+OS+X+iDeneb+10.5.5+for+Acer+Aspire+One+001.jpg" alt="" id="BLOGGER_PHOTO_ID_5429872588792455346" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OMQMegzTDhE/S1rIQoJYeFI/AAAAAAAAAKI/-hO3fa4lSPM/s1600-h/Acronis+Mac+OS+X+iDeneb+10.5.5+for+Acer+Aspire+One+002.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 187px;" src="http://3.bp.blogspot.com/_OMQMegzTDhE/S1rIQoJYeFI/AAAAAAAAAKI/-hO3fa4lSPM/s320/Acronis+Mac+OS+X+iDeneb+10.5.5+for+Acer+Aspire+One+002.jpg" alt="" id="BLOGGER_PHOTO_ID_5429872488728787026" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OMQMegzTDhE/S1rIKGHcsmI/AAAAAAAAAKA/cvWuKMvcKJ4/s1600-h/Acronis+Mac+OS+X+iDeneb+10.5.5+for+Acer+Aspire+One+003.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 187px;" src="http://1.bp.blogspot.com/_OMQMegzTDhE/S1rIKGHcsmI/AAAAAAAAAKA/cvWuKMvcKJ4/s320/Acronis+Mac+OS+X+iDeneb+10.5.5+for+Acer+Aspire+One+003.jpg" alt="" id="BLOGGER_PHOTO_ID_5429872376514654818" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-1460770877779088655?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/1460770877779088655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/acronis-mac-os-x-ideneb-1055-for-acer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1460770877779088655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1460770877779088655'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/acronis-mac-os-x-ideneb-1055-for-acer.html' title='Acronis Mac OS X iDeneb 10.5.5 for Acer Aspire One'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/S1rIWc6a4LI/AAAAAAAAAKQ/8QpehsPqoHo/s72-c/Acronis+Mac+OS+X+iDeneb+10.5.5+for+Acer+Aspire+One+001.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-2982280535292579731</id><published>2010-01-17T14:36:00.000+08:00</published><updated>2010-01-24T17:42:11.295+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>The Seven P Formula for Marketing Success</title><content type='html'>&lt;div style="text-align: justify;"&gt;Once you have developed your marketing strategy, there is a seven P formula you should continually use to evaluate and reevaluate your business activities. These seven are: product, price, promotion, place, packaging, positioning, and people. As products, markets, customers, and needs change rapidly, you must continually revisit these seven P's to make sure you are on track and achieving the maximum results possible for you in today's Market.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Product&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;To begin, develop the habit of looking at your product as though you were an outside marketing consultant having been brought in to help your company decide whether or not it is in the right business at this time. Ask critical questions such as: Is your current product or service, or mix of products or services appropriate and suitable for the market and the customers of today?&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Prices Deserve Attention&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The second P in the formula has to do with price. Develop the habit of continually examining and reexamining the prices of the products and services that you sell to make sure they are still appropriate to the realities of the current market. Sometimes you need to lower your prices. At other times, it may be appropriate to raise your prices. Many companies have found that the profitability of certain products or services does not justify the amount of effort and resources that go into producing them. By raising their prices, they may lose a percentage of their customers, but the remaining percentage generates a profit on every sale. Could this be appropriate for you?&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Promotion&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The third habit in marketing and sales is for you to develop the habit of thinking in terms of promotion all the time. Promotion includes all the ways you tell your customers about products or services and how you then market and sell to them. Small changes in the way you promote and sell your products can lead to dramatic changes in your results. Experienced copywriters can often increase the response rate from advertising by 500 percent by simply changing the headline on the advertisement.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Place&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The fourth P in the marketing mix is the place where your product or service is actually sold. Develop the habit of reviewing and reflecting upon the exact location where the customer meets the salesperson. Sometimes a change in place can lead to a rapid increase in sales.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Packaging&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The fifth element in the marketing mix is packaging. Develop the habit of standing back and looking at every visual element in the packaging of your product or service through the eyes of a critical prospect. Remember, people form their first impression about you within 30 seconds of seeing you or some element of your company. Small improvements in the packaging or external appearance of your product or service can often lead to completely different reactions from your customers.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Positioning&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The next P is positioning. You should develop the habit of thinking continually about how you are positioned in the hearts and minds of your customers. How do people think about you and talk about you when you are not present? How do people think and talk about your company? What positioning do you have in your market, in terms of the specific words that people use when they describe you and your offerings to others?&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;People are Everything&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The final P is people. Develop the habit of thinking in terms of the people inside and outside of your business who are responsible for every element of your sales and marketing strategy and activities. Your ability to select, recruit, hire, and retain the proper people, with the skills and abilities to do the job you need to have done, is more important than everything else put together.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-2982280535292579731?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/2982280535292579731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/seven-p-formula-for-marketing-success.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/2982280535292579731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/2982280535292579731'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/seven-p-formula-for-marketing-success.html' title='The Seven P Formula for Marketing Success'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-3271313251709024126</id><published>2010-01-16T00:26:00.000+08:00</published><updated>2010-01-16T00:32:47.438+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby On Rails'/><title type='text'>Rails: How to use a custom RDoc template from a rake task</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OMQMegzTDhE/SyqBJCMJ3LI/AAAAAAAAAHs/qPSs7NwJuO8/s1600-h/rails-podcast.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 229px; height: 291px;" src="http://2.bp.blogspot.com/_OMQMegzTDhE/SyqBJCMJ3LI/AAAAAAAAAHs/qPSs7NwJuO8/s400/rails-podcast.png" alt="" id="BLOGGER_PHOTO_ID_5416283494073097394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;I just need to do that, use a custom rdoc template to generate a documentation for a Rails project.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;My main concern, regarding the different solutions I found on the web, was I didn’t want to have a template in the ruby installation directory but one that resides in a subdirectory of my rails application.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In fact it’s not a problem … when you find the good command. Here’s my rake task to generate the documentation (I put the Jamis Buck customized template in RAILS_ROOT/doc/rdoc_template/jamis.rb)&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;script src="http://gist.github.com/278175.js"&gt;&lt;/script&gt;&lt;br /&gt;The important part is :&lt;br /&gt;&lt;blockquote style="font-weight: bold; font-family: courier new;"&gt;rdoc.template = "doc/rdoc_template/jamis.rb"&lt;/blockquote&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;I tried to use the—template= and -T options in rdoc.options but it didn’t work… then I found that the RDocTask appends its template variable to the options passed to RDoc bypassing mine.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-3271313251709024126?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/3271313251709024126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/rails-how-to-use-custom-rdoc-template.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3271313251709024126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3271313251709024126'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/rails-how-to-use-custom-rdoc-template.html' title='Rails: How to use a custom RDoc template from a rake task'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OMQMegzTDhE/SyqBJCMJ3LI/AAAAAAAAAHs/qPSs7NwJuO8/s72-c/rails-podcast.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4109885907458813319</id><published>2010-01-15T19:51:00.000+08:00</published><updated>2010-01-23T19:55:06.409+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Code Snippets'/><title type='text'>RSS Twitter Bot with Ruby</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s1600-h/ruby-language.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 312px; height: 101px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s400/ruby-language.png" alt="" id="BLOGGER_PHOTO_ID_5416281972804850018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;A short Ruby script that will read an RSS feed and republish it to your &lt;a href="http://twitter.com/cheng_jk"&gt;Twitter&lt;/a&gt; account. This could be useful for livestreaming or getting some sort of commercial presence on there.&lt;/div&gt;&lt;br /&gt;&lt;script src="http://gist.github.com/284562.js"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4109885907458813319?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4109885907458813319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/rss-twitter-bot-with-ruby.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4109885907458813319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4109885907458813319'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/rss-twitter-bot-with-ruby.html' title='RSS Twitter Bot with Ruby'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s72-c/ruby-language.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-7995026705278921397</id><published>2010-01-14T00:44:00.000+08:00</published><updated>2010-01-24T17:38:31.553+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Delicious Recipes'/><title type='text'>Cheese-Pumpkin Soup</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/S1CbjtWPU7I/AAAAAAAAAI0/ljLd1UeUBh0/s1600-h/recipe_98.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 396px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/S1CbjtWPU7I/AAAAAAAAAI0/ljLd1UeUBh0/s400/recipe_98.jpg" alt="" id="BLOGGER_PHOTO_ID_5427008588752049074" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Ingredients&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;1/2 cup sliced green onions with tops&lt;/li&gt;&lt;li&gt;2 Tbs. butter or margarine&lt;/li&gt;&lt;li&gt;2 Tbs. all-purpose flour&lt;/li&gt;&lt;li&gt;1 tsp. seasoned salt&lt;/li&gt;&lt;li&gt;1/2 tsp. nutmeg&lt;/li&gt;&lt;li&gt;1/4 tsp. cinnamon&lt;/li&gt;&lt;li&gt;2 cups milk&lt;/li&gt;&lt;li&gt;1 can (10-3/4 oz) chicken broth&lt;/li&gt;&lt;li&gt;1 can (16 oz.) pumpkin&lt;/li&gt;&lt;li&gt;1 1/2 cups shredded Cheddar cheese&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Directions&lt;/span&gt;&lt;br /&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;In large, heavy saucepan, lightly saute green onions in the butter.&lt;/li&gt;&lt;li&gt;Stir in flour, seasoned salt, nutmeg and cinnamon. Remove from heat. Add milk and chicken broth. Cook, stirring, about 15 minutes until thickened.&lt;/li&gt;&lt;li&gt;Blend in pumpkin. Simmer 5 minutes longer, stirring frequently. Add cheese, Stir until melted.&lt;/li&gt;&lt;li&gt;Ladle into soup bowls. Top each serving, if desired, with a slice of tomato, sprinkled with cheese and green onions.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-7995026705278921397?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/7995026705278921397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/cheese-pumpkin-soup.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7995026705278921397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7995026705278921397'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/cheese-pumpkin-soup.html' title='Cheese-Pumpkin Soup'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/S1CbjtWPU7I/AAAAAAAAAI0/ljLd1UeUBh0/s72-c/recipe_98.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-5865405713790771188</id><published>2010-01-13T14:10:00.000+08:00</published><updated>2010-01-24T17:37:39.226+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Encyclopedia'/><title type='text'>Install GNOME Activity Journal in Ubuntu Karmic</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_OMQMegzTDhE/S1fwp6ac37I/AAAAAAAAAI8/P-gCZczt-sc/s1600-h/gnome-activity-journal.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5429072478663925682" src="http://1.bp.blogspot.com/_OMQMegzTDhE/S1fwp6ac37I/AAAAAAAAAI8/P-gCZczt-sc/s400/gnome-activity-journal.png" style="cursor: pointer; display: block; height: 199px; margin: 0px auto 10px; text-align: center; width: 340px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The GNOME Activity Journal is a tool for easily browsing and finding files, contacts and other resources on your computer. Using Zeitgeist, it keeps a chronological journal of your activity and supports tagging and bookmarking (using the new Tracker 0.7) and establishing relationships between resources.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;While this first release only supports basic browsing of file activities, the underlying infrastructure can do much more and you can expect the missing functionality to become available in future releases.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Open the terminal and run the following commands:&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Add the GNOME Activity Journal ppa&lt;br /&gt;&lt;blockquote style="font-family: courier new; font-weight: bold;"&gt;sudo add-apt-repository ppa:zeitgeist/ppa&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Update the source list&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;sudo aptitude update&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Install GNOME Activity Journal&lt;br /&gt;&lt;blockquote style="font-family: courier new; font-weight: bold;"&gt;sudo aptitude install gnome-activity-journal&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;You can open from Applications -&amp;gt; Utility -&amp;gt; Activity Journal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-5865405713790771188?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/5865405713790771188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/install-gnome-activity-journal-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/5865405713790771188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/5865405713790771188'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/install-gnome-activity-journal-in.html' title='Install GNOME Activity Journal in Ubuntu Karmic'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OMQMegzTDhE/S1fwp6ac37I/AAAAAAAAAI8/P-gCZczt-sc/s72-c/gnome-activity-journal.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-3834774269612808310</id><published>2010-01-11T00:35:00.000+08:00</published><updated>2010-01-16T00:37:58.803+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby On Rails'/><title type='text'>Rails: Minor annoyances in Rails</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OMQMegzTDhE/SyqBJCMJ3LI/AAAAAAAAAHs/qPSs7NwJuO8/s1600-h/rails-podcast.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 229px; height: 291px;" src="http://2.bp.blogspot.com/_OMQMegzTDhE/SyqBJCMJ3LI/AAAAAAAAAHs/qPSs7NwJuO8/s400/rails-podcast.png" alt="" id="BLOGGER_PHOTO_ID_5416283494073097394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Here's one "surprise" and one annoyance I've found while working with Rails.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Using PostGreSQL as the DB works beautifully in the development environment, but often fails in the test environment; however it only fails on rake test and only on the unit test portion of the full suite. Integration and functional tests run fine. One fix, was to change the database.rake file, in the db:prepare task to always use db:test_clone_structure instead of db:test:clone.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The annoyance is that controller modules appear to be bolted on without much consider for how they interact with the rest of the system — they greatly constrain your routes; most test tools seem unaware of them (rcov's rails task doesn’t know to look for subdirectories in the functional tests, etc) Some of these are easy to fix, some aren't, but it definitely feels like controller modules aren’t considered truly part of Rails.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-3834774269612808310?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/3834774269612808310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/rails-minor-annoyances-in-rails.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3834774269612808310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3834774269612808310'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/rails-minor-annoyances-in-rails.html' title='Rails: Minor annoyances in Rails'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OMQMegzTDhE/SyqBJCMJ3LI/AAAAAAAAAHs/qPSs7NwJuO8/s72-c/rails-podcast.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-1532835186109252948</id><published>2010-01-10T14:40:00.000+08:00</published><updated>2010-01-24T17:42:11.296+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>The Law of Time Perspective</title><content type='html'>&lt;div style="text-align: justify;"&gt;The most successful people in any society are those who take the longest time period into consideration when making their day-to-day decisions. This insight comes from the pioneering work on upward financial mobility in America conducted by Dr. Edward Banfield of Harvard University in the late 1950's and early 1960's. After studying many of the factors that were thought to contribute to individual financial success over the course of a person's lifetime, he concluded that there was one primary factor that took precedence over all the others. He called it “time perspective.”&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Plant Trees&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;What Banfield found was that the higher a person rises in any society, the longer the time perspective or time horizon of that person. People at the highest social and economic levels make decisions and sacrifices that may not pay off for many years, sometimes not even in their own lifetimes. They “plant trees under which they will never sit.”&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Doctors&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;An obvious example of someone with a long time perspective is the man or women who spends ten or twelve years studying and interning to become a doctor. This person takes extraordinarily long time to lay down the foundation for a lifetime career. And partially because we know how long it takes to become a doctor, we hold doctors in the highest esteem of any professional group. We appreciate and admire the sacrifices that they have made in order to be able to practice a profession that is so important to so many of us. We recognize their long time perspectives.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Long Time Perspectives&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;People with long term perspectives are willing to pay the price of success for a long, long time before they achieve it. They think about the consequences of their choices and decisions in terms of what they might mean in five, ten, fifteen, and even twenty years from now.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Short Time Perspectives&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;People at the lowest levels of society have the shortest time perspectives. They focus primarily on immediate gratification and often engage in behaviors that are virtually guaranteed to lead to negative consequences in the long term. At the very bottom of the social ladder, you find hopeless alcoholics and drug addicts. These people think in terms of the next drink or the next fix. Their time perspective is often less than one hour.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Delayed Gratification is the Key to Financial Success&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Your ability to practice self-mastery, self-control, and self-denial, to sacrifice in the short term so you can enjoy greater rewards in the long term, is the starting point of developing a long time perspective. This attitude is essential to financial achievement of any kind.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-1532835186109252948?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/1532835186109252948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/law-of-time-perspective.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1532835186109252948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1532835186109252948'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/law-of-time-perspective.html' title='The Law of Time Perspective'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4047321903548096324</id><published>2010-01-09T06:40:00.000+08:00</published><updated>2010-01-23T19:28:22.951+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Code Snippets'/><title type='text'>Ruby: Pronounceable Random Password Generator</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s1600-h/ruby-language.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 312px; height: 101px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s400/ruby-language.png" alt="" id="BLOGGER_PHOTO_ID_5416281972804850018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This piece of code generates a random password of the specified length, but mixes the two sets of letters so that a pronouncable password is being generated.&lt;/div&gt;&lt;br /&gt;&lt;script src="http://gist.github.com/259821.js"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4047321903548096324?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4047321903548096324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/ruby-pronounceable-random-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4047321903548096324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4047321903548096324'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/ruby-pronounceable-random-password.html' title='Ruby: Pronounceable Random Password Generator'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s72-c/ruby-language.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-3015019943903415190</id><published>2010-01-04T16:12:00.000+08:00</published><updated>2010-01-24T17:42:42.754+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Encyclopedia'/><title type='text'>Ubuntu: More Popular than Britney Spears in 2009</title><content type='html'>&lt;div  style="color: rgb(11, 83, 148);font-family:Georgia,&amp;quot;;"&gt;&lt;i&gt;&lt;b&gt;&lt;span style="font-size:large;"&gt;Apt-Get Me, Baby… One more Time!&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Ubuntu was more popular than Britney Spears in 2009 - at least in terms of searches.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;When you consider than she's shifted more than 83 million records and commands publicity like no-other, it's a curious footnote in itself.&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_7yRo4BtvfKM/S0Gifdo8_YI/AAAAAAAAAA0/5o8KThsW5v8/s1600-h/google-trends.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img src="http://1.bp.blogspot.com/_7yRo4BtvfKM/S0Gifdo8_YI/AAAAAAAAAA0/5o8KThsW5v8/s320/google-trends.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-3015019943903415190?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/3015019943903415190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/ubuntu-more-popular-than-britney-spears.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3015019943903415190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3015019943903415190'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/ubuntu-more-popular-than-britney-spears.html' title='Ubuntu: More Popular than Britney Spears in 2009'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_7yRo4BtvfKM/S0Gifdo8_YI/AAAAAAAAAA0/5o8KThsW5v8/s72-c/google-trends.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4063225318050948536</id><published>2010-01-03T14:43:00.000+08:00</published><updated>2010-01-24T17:42:11.297+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Create Your Daily Personal Growth Schedule</title><content type='html'>&lt;div style="text-align: justify;"&gt;There are seven disciplines you must develop if you want to achieve all that is possible for you. You can learn these disciplines through practice and repetition until they become automatic.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Goal Setting&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Every morning, take three to five minutes to write out your top goals in the present tense. Get a spiral notebook for this purpose. By writing out your ten goals at the beginning of each day, you will program them deep into your subconscious mind.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This daily goal writing will activate your mental powers. It will stimulate your mind and make you more alert. Throughout the day, you will see opportunities and possibilities to move more rapidly toward your goals.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Planning and Organizing&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Take a few minutes, preferably the night before, to plan out every activity of the coming day. Always work from a list. Always think on paper. This is one of the most powerful and important disciplines of all for high performance.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Concentration on your Highest-Value Activities&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Your ability to work single-mindedly on your most important task will contribute as much to your success as any other discipline you can develop.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Exercise and Proper Nutrition&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Your health is more important than anything else. By disciplining yourself to exercise regularly and to eat carefully, you will promote the highest possible levels of health and fitness throughout your life.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Learning and Growth&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Your mind is like a muscle. If you don't use it, you lose it. Continuous learning is the minimum requirement for success in any field.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Time for Important People in Your Life&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Relationships are everything. Be sure that in climbing the ladder of success, you do not find it leaning against the wrong building. Build time for your relationships into every day, no matter how busy you get.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Time for Important People in Your Life&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;These seven disciplines will ensure that you perform at the highest level and get the greatest satisfaction and results from everything you do. Study these seven disciplines and then make a plan for how you can incorporate each of them into your daily life.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4063225318050948536?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4063225318050948536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/create-your-daily-personal-growth.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4063225318050948536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4063225318050948536'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/create-your-daily-personal-growth.html' title='Create Your Daily Personal Growth Schedule'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-3530444808008093099</id><published>2010-01-02T02:02:00.000+08:00</published><updated>2010-01-23T20:03:49.327+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Code Snippets'/><title type='text'>Ruby: Extract Age from Birth Date</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s1600-h/ruby-language.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 312px; height: 101px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s400/ruby-language.png" alt="" id="BLOGGER_PHOTO_ID_5416281972804850018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;A Ruby function for extracting one's age by passing in the birth date as a parameter.&lt;/div&gt;&lt;br /&gt;&lt;script src="http://gist.github.com/248384.js?file=birthdate_to_age.rb"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-3530444808008093099?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/3530444808008093099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/extract-age-from-birth-date.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3530444808008093099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3530444808008093099'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/extract-age-from-birth-date.html' title='Ruby: Extract Age from Birth Date'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s72-c/ruby-language.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4904151395608076383</id><published>2010-01-01T18:15:00.000+08:00</published><updated>2010-01-01T22:10:50.299+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Celebration Arena'/><title type='text'>Blooming With Happiness ~ Happy New Year</title><content type='html'>&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" height="350" width="525"&gt;&lt;param name="movie" value="http://i.123g.us/flash/CardShell.swf"&gt;&lt;param name="SeamlessTabbing" value="false"&gt;&lt;param name="quality" value="high"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;param name="menu" value="false"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;param name="FlashVars" value="ldrName=http://c.123g.us/flash/branded_loader.swf&amp;amp;crdName=http://i.123g.us/c/ejan_ny_flowers/card/107836.swf"&gt;&lt;embed src="http://i.123g.us/flash/CardShell.swf" menu="false" wmode="Transparent" allowscriptaccess="always" flashvars="ldrName=http://c.123g.us/flash/branded_loader.swf&amp;amp;crdName=http://i.123g.us/c/ejan_ny_flowers/card/107836.swf" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" height="350" width="525"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4904151395608076383?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4904151395608076383/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/blooming-with-happiness-happy-new-year.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4904151395608076383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4904151395608076383'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2010/01/blooming-with-happiness-happy-new-year.html' title='Blooming With Happiness ~ Happy New Year'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-3741954850496014552</id><published>2009-12-30T22:38:00.000+08:00</published><updated>2010-01-24T17:40:44.884+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL Encyclopedia'/><title type='text'>MySQL: MySQL Password Reset</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/SywOg-h6lhI/AAAAAAAAAIE/WouNDYi0q_A/s1600-h/MySQL-Logo.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px; height: 103px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/SywOg-h6lhI/AAAAAAAAAIE/WouNDYi0q_A/s400/MySQL-Logo.png" alt="" id="BLOGGER_PHOTO_ID_5416720411523716626" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Problem&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Are you looking at this page because you cannot access the mysql server installed on your pc/server when you were trying to see if it works well? Or do you receive error messages like the following?&lt;br /&gt;&lt;blockquote style="font-family: courier new; font-weight: bold;"&gt;ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)&lt;/blockquote&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;To resolve this problem ,a fast and always working way is the "Password Resetting".&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Following this procedure, you will disable access control on the MySQL server. All connexions will have a root access. It is a good thing to unplug your server from the network or at least disable remote access.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;div style="text-align: justify;"&gt;To reset your mysqld password just follow these instructions :&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-style: italic;"&gt;Stop the mysql demon process using this command:&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;sudo /etc/init.d/mysql stop&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-style: italic;"&gt;Start the mysqld demon process using the --skip-grant-tables option with this command:&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;blockquote style="font-weight: bold; font-family: courier new;"&gt;sudo /usr/sbin/mysqld --skip-grant-tables --skip-networking &amp;amp;&lt;/blockquote&gt;&lt;br /&gt;&lt;div style="text-align: justify; font-style: italic;"&gt;start the mysql client process using this command:&lt;br /&gt;&lt;/div&gt;&lt;blockquote style="font-weight: bold; font-family: courier new;"&gt;mysql -u root&lt;/blockquote&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-style: italic;"&gt;from the mysql prompt execute this command to reset/update your password:&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;blockquote style="font-weight: bold; font-family: courier new;"&gt;SET PASSWORD FOR root@'localhost' = PASSWORD('password');&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-3741954850496014552?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/3741954850496014552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/mysql-mysql-password-reset.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3741954850496014552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3741954850496014552'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/mysql-mysql-password-reset.html' title='MySQL: MySQL Password Reset'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/SywOg-h6lhI/AAAAAAAAAIE/WouNDYi0q_A/s72-c/MySQL-Logo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-715892967869563416</id><published>2009-12-27T17:44:00.000+08:00</published><updated>2010-01-24T17:58:31.955+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Information Technology'/><title type='text'>Linux: "dstat" Tool of the day</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OMQMegzTDhE/Szcs_BFf0aI/AAAAAAAAAIs/QQXdFyYCavQ/s1600-h/dstat-screenshot.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 198px;" src="http://1.bp.blogspot.com/_OMQMegzTDhE/Szcs_BFf0aI/AAAAAAAAAIs/QQXdFyYCavQ/s320/dstat-screenshot.png" alt="" id="BLOGGER_PHOTO_ID_5419850137698554274" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;What is dstat?  dstat is a versatile replacement for vmstat, iostat and ifstat.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Dstat allows you to view all of your system resources instantly. Eg, You can compare disk usage in combination with interrupts from your HDD controller, or compare the network bandwidth numbers directly with the disk throughput (in the same interval).&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;No blog post pimping a cool tool would be complete without the obligatory screen shot.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-715892967869563416?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/715892967869563416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/linux-dstat-tool-of-day.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/715892967869563416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/715892967869563416'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/linux-dstat-tool-of-day.html' title='Linux: &quot;dstat&quot; Tool of the day'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OMQMegzTDhE/Szcs_BFf0aI/AAAAAAAAAIs/QQXdFyYCavQ/s72-c/dstat-screenshot.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-8933587855866701168</id><published>2009-12-27T14:46:00.000+08:00</published><updated>2010-01-24T17:42:11.297+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Customers for Life</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Never Worry About Money Again&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;What is the purpose of a business? Every time I ask this question during a business seminar, the immediate answer that I get back is, "To make a profit."&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Real Purpose of A Business&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;But this answer is wrong. The purpose of a business is to create and keep a customer. If a business successfully creates and keeps customers in a cost-effective way, it will make a profit while continuing to survive and thrive. If, for any reason, a business fails to attract or sustain a sufficient number of customers, it will experience losses. Too many losses will lead to the demise of the enterprise.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Why Businesses Fail&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;According to Dun and Bradstreet, the single, most important reason for the failure of businesses in America is lack of sales. And, of course, this refers to resales as well as initial sales.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;So your company's job is to create and keep a customer, and your job is exactly the same. Remember, no matter what your official title is, you are a salesperson for yourself and your company. And the best way to increase your value as a salesperson is to build your customer base.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Why Businesses Succeed&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The two most important words to keep in mind in developing a successful customer base are Positioning and Differentiation.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Positioning refers to the way your customers think and talk about you and your company when you are not there. The position that you hold in the customer's mind determines all of his reactions and interactions with you. Your position determines whether or not your customer buys, whether he buys again and whether he refers others to you. Everything that you do with regard to your customer affects the way your customer thinks about you.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Key to Competitive Advantage&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Differentiation refers to your ability to separate yourself and your product or service from that of your competitors. And it is the key to building and maintaining a competitive advantage. This is the advantage that you and your company have over your competitors in the same marketplace - the unique and special benefits that no one else can give your customer.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Select Your Customers Carefully&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;When you begin to think about acquiring and keeping customers for life, you need to think about the particular types of customers for whom your competitive advantage is so important that they would be poorly served by using anyone else's product. You need to then emphasize again and again that the special features and benefits you offer are so important that they should not even think of going somewhere else. If, for any reason, you fail to do this, you may lose the customer and all the work you've done in building that relationship in the first place.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-8933587855866701168?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/8933587855866701168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/customers-for-life.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8933587855866701168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8933587855866701168'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/customers-for-life.html' title='Customers for Life'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-8948520510607196575</id><published>2009-12-26T00:05:00.000+08:00</published><updated>2009-12-26T17:54:57.428+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Celebration Arena'/><title type='text'>Warm Christmas Wishes</title><content type='html'>&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="550" height="400"&gt;&lt;param name="movie" value="http://i.123g.us/flash/CardShell.swf" /&gt;&lt;param name="SeamlessTabbing" value="false" /&gt;&lt;param name="quality" value="high" /&gt;&lt;param name="wmode" value="transparent" /&gt;&lt;param name="menu" value="false" /&gt;&lt;param name="allowScriptAccess" value="always" /&gt;&lt;param name="FlashVars" value="ldrName=http://c.123g.us/flash/branded_loader.swf&amp;crdName=http://i.123g.us/c/edec_c_newjingle/card/113164.swf" /&gt;&lt;embed src="http://i.123g.us/flash/CardShell.swf" width="550" height="400" menu="false" wmode="Transparent" allowScriptAccess="always" FlashVars="ldrName=http://c.123g.us/flash/branded_loader.swf&amp;crdName=http://i.123g.us/c/edec_c_newjingle/card/113164.swf" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-8948520510607196575?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/8948520510607196575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/merry-christmas-to-all.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8948520510607196575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8948520510607196575'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/merry-christmas-to-all.html' title='Warm Christmas Wishes'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-7121053699166039067</id><published>2009-12-21T01:46:00.000+08:00</published><updated>2009-12-21T01:50:49.978+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Website Tips/Tricks'/><title type='text'>SEO: Tips is about Metatags understanding</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OMQMegzTDhE/Sy5ju56THvI/AAAAAAAAAIk/agsMDonoAV0/s1600-h/seo_pyramid.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 308px;" src="http://3.bp.blogspot.com/_OMQMegzTDhE/Sy5ju56THvI/AAAAAAAAAIk/agsMDonoAV0/s400/seo_pyramid.jpg" alt="" id="BLOGGER_PHOTO_ID_5417377059243761394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Build a website or blog is not just posting article and leave it, in fact you need some help from search engine to make it famous and being rank well.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Today, most webmaster and blog owner is trying to learn as much as they can about SEO (Search engine optimization). It's difficult do deal with seo?&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;According to the new SEO blog that focus on &lt;a href="http://www.upedia.biz/"&gt;learn SEO&lt;/a&gt; for beginner, explain that optimizing a website is about &lt;a href="http://www.upedia.biz/2009/10/27/meta-tags-second-step/"&gt;meta tags&lt;/a&gt; or html code structure.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The objective is manage the site to get index in major search engine lick yahoo, google and msn. beside meta tags we need to play around keyword and the most important is content for sure.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-7121053699166039067?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/7121053699166039067/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/seo-tips-is-about-metatags.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7121053699166039067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7121053699166039067'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/seo-tips-is-about-metatags.html' title='SEO: Tips is about Metatags understanding'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_OMQMegzTDhE/Sy5ju56THvI/AAAAAAAAAIk/agsMDonoAV0/s72-c/seo_pyramid.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-969267631318083762</id><published>2009-12-20T23:09:00.000+08:00</published><updated>2010-01-24T17:58:31.956+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Information Technology'/><title type='text'>Unix: Filesystem hierarchy in Unix/Linux/OS X</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/Sy4-86z4psI/AAAAAAAAAIc/3B9sK81WobQ/s1600-h/unix-filesystem-hierarchy.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 319px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/Sy4-86z4psI/AAAAAAAAAIc/3B9sK81WobQ/s320/unix-filesystem-hierarchy.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5417336618073237186" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Although it is one of the first chapters one read when starting with Linux/Unix, it is always confusing where should we put what when it comes to installing stuff on Linux/OS X computers.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;I found a detailed reference &lt;a href="http://www.pathname.com/fhs/" title="Filesystem Hierarchy Standard"&gt;Filesystem Hierarchy standard website&lt;/a&gt;.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;It is also worth knowing, &lt;a href="http://hivelogic.com/articles/2005/11/using_usr_local" title="Hivelogic - Using /usr/local"&gt;why is it important to store any new customized apps in /usr/local&lt;/a&gt;.&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-969267631318083762?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/969267631318083762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/unix-filesystem-hierarchy-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/969267631318083762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/969267631318083762'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/unix-filesystem-hierarchy-in.html' title='Unix: Filesystem hierarchy in Unix/Linux/OS X'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/Sy4-86z4psI/AAAAAAAAAIc/3B9sK81WobQ/s72-c/unix-filesystem-hierarchy.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4042445339948998507</id><published>2009-12-20T15:20:00.000+08:00</published><updated>2009-12-20T15:26:27.011+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby On Rails'/><title type='text'>Rails: Clearing Out Old Sessions</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OMQMegzTDhE/SyqBJCMJ3LI/AAAAAAAAAHs/qPSs7NwJuO8/s1600-h/rails-podcast.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 229px; height: 291px;" src="http://2.bp.blogspot.com/_OMQMegzTDhE/SyqBJCMJ3LI/AAAAAAAAAHs/qPSs7NwJuO8/s400/rails-podcast.png" alt="" id="BLOGGER_PHOTO_ID_5416283494073097394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;I got into the habit a while ago of setting up my websites to use ActiveRecord as a session store, this means that the session information for all the visitors to my website is placed in a table in my database. This may or may not be the best way to store sessions but it’s certainly faster than the filesystem and my VPS doesn’t really have the memory capacity for an ‘in memory’ store.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Anyway, one day I decided to perform some DB maintenance, check tables where okay etc, upon logging into the DB however I noticed that my sessions table had grown quite large as was coming up to 125,000 records, little did I realize that the sessions are persisted forever in the DB.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;I didn’t think it was the best idea to keep all the session data so wrote the following script and put it in 'lib/tasks/session.rake':&lt;br /&gt;&lt;/div&gt;&lt;script src="http://gist.github.com/260387.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This gave me a ‘session:prune’ rake task. The task removes all sessions older than 1 day from the sessions table. I then added a CRON job for in the following format:&lt;br /&gt;&lt;/div&gt;&lt;blockquote style="font-family: courier new; font-weight: bold;"&gt;&lt;ul&gt;&lt;li&gt;0 0 * * * cd /home/user/railsapp &amp;amp;&amp;amp; rake RAILS_ENV=production session:prune &gt; /dev/null 2&gt;&amp;amp;1&lt;/li&gt;&lt;/ul&gt;&lt;/blockquote&gt;&lt;br /&gt;The job above basically calls the ‘session:prune’ rake task at midnight every night.&lt;br /&gt;&lt;br /&gt;The code in the task in MySQL specific but without a model representing the session table I couldn’t (or at least couldn’t think of a way) to make the code any more ruby-fied. In the event that you do have, or decide to create a session model the following code may work in your task (warning: untested);&lt;br /&gt;&lt;blockquote style="font-family: courier new; font-weight: bold;"&gt;Session.destroy_all("created_at" &lt; (Time.now - 1.day))&lt;/blockquote&gt;&lt;br /&gt;Hope the above snippet solves at least one of your ActiveRecord session woes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4042445339948998507?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4042445339948998507/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/rails-clearing-out-old-sessions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4042445339948998507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4042445339948998507'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/rails-clearing-out-old-sessions.html' title='Rails: Clearing Out Old Sessions'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OMQMegzTDhE/SyqBJCMJ3LI/AAAAAAAAAHs/qPSs7NwJuO8/s72-c/rails-podcast.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-1626057491621261676</id><published>2009-12-20T14:53:00.000+08:00</published><updated>2010-01-24T17:42:11.298+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Pump Up Your Profits</title><content type='html'>&lt;div style="text-align: justify;"&gt;There is a truism that 50 percent of advertising is wasted, but no one ever knows for sure which 50 percent it is. As a result, advertising budgets always seem higher than necessary. This problem persists in many areas of business today. Money is being wasted, but no one is exactly sure where and how it is happening.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Low Profits or No Profits&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Many companies today are earning low profits or no profits because their costs of doing business are not coordinated with their sales. Many products and services are priced by people who are completely unaware of the real costs involved in bringing these products or services to the market. These mistakes in pricing are then buried in the overall operations and general revenues of the business.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Conduct a Profit Analysis on Every Product&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;One of the most important parts of the Turbostrategy process is for you to conduct a complete profit analysis on each product or service you sell. Very few companies have ever done this. But when you begin applying profit analysis in your company, you can often increase your profits dramatically.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;High-Volume vs. High Profit Customers&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;As you examine these numbers, you will find that, in many cases, your biggest customers are not your most profitable customers, and your biggest selling products or services are not your most profitable ones either. You may find that your costs of doing business with some customers and with some products are so high that it is hardly worth the investment of people are resources. This can only be determined by taking a hard look at the numbers.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Focus on Cash Flow&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You need to be your own turnaround specialist all the time, and most especially when business slows for any reason. To pump up your profits, you do a complete profit analysis on your business and move immediately to focus the energies of the company on those areas that represent the very best sources of net cash. This process requires that you continually analyze your business so that you know exactly the profitability of every product or service you sell in comparison with every other product or service you sell, right down to the penny.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;From Most to Least Profitable&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The fact is that with a little effort, every single product or service can be organized on a scale from the most profitable to the least profitable, both on a per item or per hour basis, and in net dollar amounts. There is always one that is more profitable than any other.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Determine Profitability&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You begin your profit analysis by determining the exact gross sales revenues that you receive from a product or service after all subtractions for defects, returns, breakage, loss, wastage, and bad debts. Take every single deduction so that your gross dollar amount is completely accurate, and you are crystal-clear about the exact amount you are netting from sales.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Face the Bitter Truth&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You will probably find that fully half of your product and service offerings are generating very little profit or even causing you to lose money with every sale. A turnaround specialist would immediately either raise the prices of the low-profit items or discontinue them altogether. You must do the same.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-1626057491621261676?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/1626057491621261676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/pump-up-your-profits.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1626057491621261676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1626057491621261676'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/pump-up-your-profits.html' title='Pump Up Your Profits'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4391939974491478857</id><published>2009-12-19T20:28:00.000+08:00</published><updated>2010-01-24T17:38:14.139+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Delicious Recipes'/><title type='text'>Cocktail: Strawberry Margarita</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/Syt2mTohz8I/AAAAAAAAAH0/we-ATsCTYTY/s1600-h/strawberry-margharita.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 298px; height: 261px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/Syt2mTohz8I/AAAAAAAAAH0/we-ATsCTYTY/s400/strawberry-margharita.jpg" alt="" id="BLOGGER_PHOTO_ID_5416553377320521666" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The Strawberry Margarita is possibly the most popular of the flavored Margarita varieties. This is understandable because it is delicious frozen cocktail. Given that it is blended, many people choose to go with frozen strawberries. While they do make a fine drink, a far superior cocktail can be find by starting with fresh strawberries, especially when they are in the prime season. Plus when you go with fresh you have leftovers for a quick and tasty garnish.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Ingredients:&lt;/span&gt;&lt;br /&gt;&lt;blockquote style="font-family: webdings; font-style: italic;"&gt;&lt;ul&gt;&lt;li&gt;1 1/2 oz tequila&lt;/li&gt;&lt;li&gt;1 oz triple sec&lt;/li&gt;&lt;li&gt;1 oz lime juice&lt;/li&gt;&lt;li&gt;1/2 cup strawberries&lt;/li&gt;&lt;li&gt;1 cup ice&lt;/li&gt;&lt;li&gt;fresh strawberry for garnish&lt;/li&gt;&lt;/ul&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Preparation:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-family:webdings;" &gt;&lt;/span&gt;&lt;blockquote&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-style: italic;font-family:webdings;" &gt;Pour the ingredients into a blender.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;font-family:webdings;" &gt;Blend until smooth.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;font-family:webdings;" &gt;Pour the contents into a chilled margarita glass.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;font-family:webdings;" &gt;Garnish with a strawberry.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/blockquote&gt;&lt;span style="font-style: italic;font-family:webdings;" &gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4391939974491478857?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4391939974491478857/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/cocktail-strawberry-margarita.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4391939974491478857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4391939974491478857'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/cocktail-strawberry-margarita.html' title='Cocktail: Strawberry Margarita'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/Syt2mTohz8I/AAAAAAAAAH0/we-ATsCTYTY/s72-c/strawberry-margharita.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-3873808463409994329</id><published>2009-12-19T07:20:00.000+08:00</published><updated>2010-01-24T17:41:11.711+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL Encyclopedia'/><title type='text'>MySQL: Check If Table Exists</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/SywOg-h6lhI/AAAAAAAAAIE/WouNDYi0q_A/s1600-h/MySQL-Logo.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px; height: 103px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/SywOg-h6lhI/AAAAAAAAAIE/WouNDYi0q_A/s400/MySQL-Logo.png" alt="" id="BLOGGER_PHOTO_ID_5416720411523716626" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;How to check if a table exists in the current MySQL database, through running a simple query.&lt;br /&gt;&lt;/div&gt;&lt;blockquote style="font-family: courier new; font-weight: bold;"&gt;SHOW TABLES LIKE 'Articles'&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-3873808463409994329?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/3873808463409994329/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/mysql-check-if-table-exists.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3873808463409994329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3873808463409994329'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/mysql-check-if-table-exists.html' title='MySQL: Check If Table Exists'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/SywOg-h6lhI/AAAAAAAAAIE/WouNDYi0q_A/s72-c/MySQL-Logo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-1752963697268628789</id><published>2009-12-19T07:13:00.000+08:00</published><updated>2010-01-24T17:57:42.272+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Code Snippets'/><title type='text'>Python: Check Credit Card "checksum"</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OMQMegzTDhE/SywLJbeSZ3I/AAAAAAAAAH8/A0cUORr_IjA/s400/python_logo.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 238px; height: 57px;" src="http://2.bp.blogspot.com/_OMQMegzTDhE/SywLJbeSZ3I/AAAAAAAAAH8/A0cUORr_IjA/s400/python_logo.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The CardChecksum function returns 1 for valid cards and 0 for invalid cards, after performing a check using the Luhn algorithm which validates all major credit cards.&lt;/div&gt;&lt;br /&gt;&lt;script src="http://gist.github.com/259844.js"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-1752963697268628789?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/1752963697268628789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/python-check-credit-card-checksum.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1752963697268628789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1752963697268628789'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/python-check-credit-card-checksum.html' title='Python: Check Credit Card &quot;checksum&quot;'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OMQMegzTDhE/SywLJbeSZ3I/AAAAAAAAAH8/A0cUORr_IjA/s72-c/python_logo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-2256398220992301233</id><published>2009-12-19T07:06:00.000+08:00</published><updated>2010-01-24T17:57:42.273+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Code Snippets'/><title type='text'>Python: Find the Greatest Common Divisor</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OMQMegzTDhE/SywLJbeSZ3I/AAAAAAAAAH8/A0cUORr_IjA/s1600-h/python_logo.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 238px; height: 57px;" src="http://2.bp.blogspot.com/_OMQMegzTDhE/SywLJbeSZ3I/AAAAAAAAAH8/A0cUORr_IjA/s400/python_logo.png" alt="" id="BLOGGER_PHOTO_ID_5416716708441384818" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Implement the Euclidean algorithm into a Python function in order to calculate the largest common divisor of two numbers.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;script src="http://gist.github.com/259841.js"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-2256398220992301233?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/2256398220992301233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/python-find-greatest-common-divisor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/2256398220992301233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/2256398220992301233'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/python-find-greatest-common-divisor.html' title='Python: Find the Greatest Common Divisor'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OMQMegzTDhE/SywLJbeSZ3I/AAAAAAAAAH8/A0cUORr_IjA/s72-c/python_logo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4059618707171460644</id><published>2009-12-18T01:32:00.000+08:00</published><updated>2010-01-24T17:42:42.755+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Encyclopedia'/><title type='text'>Ubuntu: Install Thunderbird 3.0 on Ubuntu 9.10 (Karmic)</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OMQMegzTDhE/Syp5sf-YX4I/AAAAAAAAAHU/6ViIQ9lNBnA/s1600-h/thunderbird-logo-64x64.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 256px; height: 256px;" src="http://2.bp.blogspot.com/_OMQMegzTDhE/Syp5sf-YX4I/AAAAAAAAAHU/6ViIQ9lNBnA/s400/thunderbird-logo-64x64.png" alt="" id="BLOGGER_PHOTO_ID_5416275307270791042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Mozilla’s email client Thunderbird 3 was released just a few days back. In the release page, however only the .tar file was available for Linux. In this post we will show you how to install Thunderbird 3 in Ubuntu 9.10 from the Mozilla PPA.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Add the Mozilla PPA in your source list using:&lt;/span&gt;&lt;br /&gt;&lt;blockquote style="font-weight: bold;"&gt;&lt;span style="font-family:courier new;"&gt;sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Update source list using:&lt;/span&gt;&lt;br /&gt;&lt;blockquote style="font-weight: bold;"&gt;&lt;span style="font-family:courier new;"&gt;sudo apt-get update&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Install Thunderbird 3 using:&lt;/span&gt;&lt;br /&gt;&lt;blockquote style="font-weight: bold;"&gt;&lt;span style="font-family:courier new;"&gt;sudo apt-get install thunderbird-3.0&lt;/span&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4059618707171460644?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4059618707171460644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/ubuntu-install-thunderbird-30-on-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4059618707171460644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4059618707171460644'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/ubuntu-install-thunderbird-30-on-ubuntu.html' title='Ubuntu: Install Thunderbird 3.0 on Ubuntu 9.10 (Karmic)'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OMQMegzTDhE/Syp5sf-YX4I/AAAAAAAAAHU/6ViIQ9lNBnA/s72-c/thunderbird-logo-64x64.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-8347054360636960217</id><published>2009-12-16T06:33:00.000+08:00</published><updated>2010-01-24T18:01:53.848+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Code Snippets'/><title type='text'>Ruby: Write A PDF File Using Ruby</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s1600-h/ruby-language.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 312px; height: 101px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s400/ruby-language.png" alt="" id="BLOGGER_PHOTO_ID_5416281972804850018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Using the open source PDF::Writer library for Ruby to create PDF documents on the fly and save them on the server.&lt;/div&gt;&lt;br /&gt;&lt;script src="http://gist.github.com/259816.js"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-8347054360636960217?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/8347054360636960217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/ruby-write-pdf-file-using-ruby.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8347054360636960217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8347054360636960217'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/ruby-write-pdf-file-using-ruby.html' title='Ruby: Write A PDF File Using Ruby'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s72-c/ruby-language.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-3013986258253267849</id><published>2009-12-16T02:45:00.000+08:00</published><updated>2010-01-24T17:42:42.756+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Encyclopedia'/><title type='text'>Ubuntu: Install Openshot on Ubuntu 9.10 (Karmic)</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OMQMegzTDhE/Syp9wM96lNI/AAAAAAAAAHc/6oL5VSFCtxg/s1600-h/openshot_logo.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 337px; height: 75px;" src="http://3.bp.blogspot.com/_OMQMegzTDhE/Syp9wM96lNI/AAAAAAAAAHc/6oL5VSFCtxg/s400/openshot_logo.png" alt="" id="BLOGGER_PHOTO_ID_5416279768934552786" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Openshot is a video editor for linux, is one of the best ones existing actually for linux. The news is that now has a PPA this mean easy install for Ubuntu users, but the big news is that the new version come with 30 new effects.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Add the OpenShot PPA in your source list using:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;sudo add-apt-repository ppa:openshot.devellopers/ppa&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Update source list using:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;sudo apt-get update&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Install OpenShot using:&lt;/span&gt;&lt;br /&gt;&lt;blockquote style="font-family: courier new; font-weight: bold;"&gt;sudo apt-get install openshot&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-3013986258253267849?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/3013986258253267849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/ubuntu-install-openshot-on-ubuntu-910.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3013986258253267849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3013986258253267849'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/ubuntu-install-openshot-on-ubuntu-910.html' title='Ubuntu: Install Openshot on Ubuntu 9.10 (Karmic)'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_OMQMegzTDhE/Syp9wM96lNI/AAAAAAAAAHc/6oL5VSFCtxg/s72-c/openshot_logo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-2291955200785711058</id><published>2009-12-15T15:24:00.000+08:00</published><updated>2009-12-18T03:08:20.208+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby On Rails'/><title type='text'>Rails: Passenger versus safe_erb</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OMQMegzTDhE/SyqBJCMJ3LI/AAAAAAAAAHs/qPSs7NwJuO8/s1600-h/rails-podcast.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 229px; height: 291px;" src="http://2.bp.blogspot.com/_OMQMegzTDhE/SyqBJCMJ3LI/AAAAAAAAAHs/qPSs7NwJuO8/s400/rails-podcast.png" alt="" id="BLOGGER_PHOTO_ID_5416283494073097394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Today I had some fun tracking down a weird problem with safe_erb. While everything worked fine running Mongrel in development mode, safe_erb complained about outputting tainted strings for every link generated by Rails’ link_to and URL helpers running on mod_rails in production mode.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Some digging around led me to the root of the problem - in production my app needs to live inside a subdirectory and so I used Passengers RailsBaseURI directive to tell it so. The value configured this way ends up tainted in AbstractRequest’s relative_url_root for some reason, which in turn makes every URL generated by Rails tainted.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution&lt;/span&gt;&lt;br /&gt;&lt;script src="http://gist.github.com/238615.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This untaints the relative_url_root value if it matches the regexp. Place into application.rb or some file that is required during application startup to fix the problem. I’m still not sure whether this is a bug and if so, whose bug it is - should (if possible at all) mod_rails untaint this value in the first place, or is it a bug with Rails not escaping something somewhere?&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The fact that URLs used with Rails’ form helpers didn’t yield safe_erb errors, but those supplied to link_to did makes me think that there’s at least some inconsistency in the way URLs are treated by Rails’ helpers.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-2291955200785711058?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/2291955200785711058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/11/passenger-versus-safeerb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/2291955200785711058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/2291955200785711058'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/11/passenger-versus-safeerb.html' title='Rails: Passenger versus safe_erb'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OMQMegzTDhE/SyqBJCMJ3LI/AAAAAAAAAHs/qPSs7NwJuO8/s72-c/rails-podcast.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-3745081113745605884</id><published>2009-12-13T14:56:00.000+08:00</published><updated>2010-01-24T17:42:11.299+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Review Your Flight Options</title><content type='html'>&lt;div style="text-align: justify;"&gt;Once you have become clear about who you are, what you want, and what your true goals are in each area of your life, you can begin to evaluate all the different routes by which you can reach your destination. Now you can determine the strategies and tactics that you can use to achieve your goals and arrive at your destination on schedule.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Develop Options Continually&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;One of the most important rules that I have ever learned is this: You are only as free as your well-developed options. Before you can plan your time and your life, you must be absolutely clear about both the hourly rate that you are earning today and the hourly rate that you want to earn in the future. Every hour that you spend on a low-value or no-value activity is costing you $25, $50, or more.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Determine the Highest and Best Use of Your Time&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Whatever job you choose to take, company you choose to make with your money, or time you choose to spend on a particular activity, think it through carefully in advance and be certain that you are making the highest and best use of your time and resources.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Refuse to Settle&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Abraham Maslow once wrote, "The story of the human race is the story of men and women selling themselves short." Many people, because of fear and timidity, settle for far less than they are truly capable of achieving. They stay in jobs they don't like. They stay in relationships that don't make them happy. They invest their money in things they don't understand and leave their money there long after they realize they've made a mistake. If you are not satisfied with any part of your life, with your current seat selection, remember that you can always pay a price to be free.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Ask for What You Want&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In business and in your personal life, remember that every term or condition that you are ever offered has been decided by someone and can be changed by someone else. Whether this involves the pay and conditions of a job, the terms of a contract, the costs of products or services, rental or lease rates of offices or equipment, or bank terms for loans of credit, if you are not happy for any reason, don't be reluctant to ask for something different.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Cast a Wide Net&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The rule with ideas is this: Quality is a function of quantity. This means that the more ways you achieve your goal that you consider before you embark on your journey, the better will be the quality of the choice you make. Cast a wide net. Don't fall in love with the first idea that occurs to you. You must continually remind yourself that emotions distort evaluations. This means that the more emotional you become about a course of action at the beginning, the less able you will be to make the best decisions and determine the best way to reach your destination.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-3745081113745605884?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/3745081113745605884/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/review-your-flight-options.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3745081113745605884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3745081113745605884'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/review-your-flight-options.html' title='Review Your Flight Options'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-133875623178360762</id><published>2009-12-13T07:34:00.000+08:00</published><updated>2010-01-24T17:38:14.140+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Delicious Recipes'/><title type='text'>Cocktail: Tequila Fuego</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OMQMegzTDhE/SywRxNvPxPI/AAAAAAAAAIM/Cq91J_Kwg-c/s1600-h/tequila-fuego.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 300px; height: 270px;" src="http://2.bp.blogspot.com/_OMQMegzTDhE/SywRxNvPxPI/AAAAAAAAAIM/Cq91J_Kwg-c/s400/tequila-fuego.jpg" alt="" id="BLOGGER_PHOTO_ID_5416723989018952946" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Traditional Mexican flavors highlight your favorite premium tequila in this spicy shot. Serves one.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Ingredients:&lt;/span&gt;&lt;br /&gt;&lt;blockquote style="font-family: webdings; font-style: italic;"&gt;&lt;ul&gt;&lt;li&gt;1 1/2 oz premium tequila&lt;/li&gt;&lt;li&gt;1 teaspoon hot chile sauce&lt;/li&gt;&lt;li&gt;1 teaspoon lime juice&lt;/li&gt;&lt;li&gt;1 dash onion powder&lt;/li&gt;&lt;li&gt;1 lime wedge&lt;/li&gt;&lt;li&gt;kosher salt&lt;/li&gt;&lt;li&gt;1 jalapeno ring&lt;/li&gt;&lt;/ul&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Preparation:&lt;/span&gt;&lt;br /&gt;&lt;blockquote style="font-family: webdings; font-style: italic;"&gt;Use lime wedge to moisten 1/2 the brim of the shooter glass. Dip the moistened brim in salt. In a shaker or a glass, mix the lime juice, tequila, onion powder and hot chile sauce. Blend well. Pour the mixture into the shot glass and garnish the edge with a jalapeno ring.&lt;/blockquote&gt;&lt;br /&gt;Follow the shot with the lime wedge.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-133875623178360762?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/133875623178360762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/cocktail-tequila-fuego.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/133875623178360762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/133875623178360762'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/cocktail-tequila-fuego.html' title='Cocktail: Tequila Fuego'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OMQMegzTDhE/SywRxNvPxPI/AAAAAAAAAIM/Cq91J_Kwg-c/s72-c/tequila-fuego.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-6697363709163700870</id><published>2009-12-09T06:21:00.000+08:00</published><updated>2010-01-24T18:01:53.849+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Code Snippets'/><title type='text'>Ruby: Extended Euclidean Algorithm Function</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s400/ruby-language.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 312px; height: 101px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s400/ruby-language.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;A function for finding the modular multiplicative inverse, based on an extended version of the Euclidean algorithm.&lt;/div&gt;&lt;br /&gt;&lt;script src="http://gist.github.com/259808.js"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-6697363709163700870?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/6697363709163700870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/ruby-extended-euclidean-algorithm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/6697363709163700870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/6697363709163700870'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/ruby-extended-euclidean-algorithm.html' title='Ruby: Extended Euclidean Algorithm Function'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s72-c/ruby-language.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-1192608135342379369</id><published>2009-12-07T01:13:00.000+08:00</published><updated>2010-01-24T17:39:35.496+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CentOS/RedHat Encyclopedia'/><title type='text'>Mounting an ISO Image as a Filesystem</title><content type='html'>This is great, if you don’t have the DVD hardware, but need to get the data.&lt;br /&gt;The following show an example of mounting the Fedora core 7 DVD as a file.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;# mkdir /iso&lt;br /&gt;# mount -o loop -t iso9660 /FC7-i386-DVD.iso /iso&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Or to mount automatically at boot, add the following to “/etc/fstab”&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;/FC7-i386-DVD.iso /iso iso9660 ro,loop 0 0&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;!-- nuffnang --&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt; &lt;br /&gt;nuffnang_bid = "4ab1b8a58b6ccbf5b2e41a76c0c1a5f3";&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;script src="http://synad2.nuffnang.com.my/j.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;!-- nuffnang--&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-1192608135342379369?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/1192608135342379369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/mounting-iso-image-as-filesystem.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1192608135342379369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1192608135342379369'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/mounting-iso-image-as-filesystem.html' title='Mounting an ISO Image as a Filesystem'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-3176614569129214831</id><published>2009-12-06T14:59:00.000+08:00</published><updated>2010-01-24T17:42:11.299+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Become Everything You Are Capable of Becoming</title><content type='html'>&lt;div style="text-align: justify;"&gt;The turning point in my life came when I discovered the law of cause and effect, the great law of the universe, and human destiny. I learned that everything happens for a reason. I discovered that success is not an accident. Failure is not an accident, either. I also discovered that people who are successful in any area usually are those who have learned the cause-and-effect relationship between what they want and how to get it.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Determine Your Personal Growth and Development Values&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;To realize your full potential for personal and professional growth and development, begin with your values as they apply to your own abilities. As you know, your values are expressed in your words and actions.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You can tell what your values are by looking at what you do and how you respond to the world around you. Your values are the root causes of your motivations and your behaviors.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Clarify Your Personal Growth and Development Vision&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Create a long-term vision for yourself in the area of personal growth. Project forward five or ten years and imagine that you are developed fully in every important part of your life. Idealize and see yourself as outstanding in every respect. Refuse to compromise on your personal dreams.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Set Goals for Your Personal Growth and Development&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Now take your vision and crystallize it into specific goals. Here is a good way to start. Take out a piece of paper and write down ten goals that you would like to achieve in the area of personal and professional development in the months and years ahead. Write in the present tense, exactly as if you were already the person you intend to be.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Determine exactly what you want to be able to do. Decide who you want to become. Describe exactly what you will look like when you become truly excellent in your field and in your personal life.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Upgrade Your Personal Knowledge and Skills&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Set specific measures for each of your goals. If your goal is to excel in your field, determine how you will know when you have achieved it. Decide how you can measure your progress and evaluate your success.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Perhaps you can use as a measure the number of hours you study in your field each week. Perhaps you can measure the number of books you read or the number of audio programs you listen to. Perhaps you could measure your progress by the number of sales you make as the result of your growing skills.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Develop Winning Personal Growth and Development Habits&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Select the specific habits and behaviors you will need to practice every day to become the person you want to become. These could be the habits of clarity, planning, thoroughness, studiousness, hard work, determination, and persistence.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-3176614569129214831?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/3176614569129214831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/become-everything-you-are-capable-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3176614569129214831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3176614569129214831'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/become-everything-you-are-capable-of.html' title='Become Everything You Are Capable of Becoming'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-505686244909682753</id><published>2009-12-06T07:39:00.000+08:00</published><updated>2010-01-24T17:38:14.140+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Delicious Recipes'/><title type='text'>Cocktail: Refreshing Lime Margaritas</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OMQMegzTDhE/SywS3ZmVq7I/AAAAAAAAAIU/PT9sDTX-Nb4/s1600-h/margarita.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 279px; height: 360px;" src="http://1.bp.blogspot.com/_OMQMegzTDhE/SywS3ZmVq7I/AAAAAAAAAIU/PT9sDTX-Nb4/s400/margarita.jpg" alt="" id="BLOGGER_PHOTO_ID_5416725194793659314" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Perfect on a hot summer day or an evening with friends. You’ll make this recipe over and over again!&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Ingredients:&lt;/span&gt;&lt;br /&gt;&lt;blockquote style="font-style: italic; font-family: webdings;"&gt;&lt;ul&gt;&lt;li&gt;1 oz tequila&lt;/li&gt;&lt;li&gt;1/2 oz Triple Sec&lt;/li&gt;&lt;li&gt;1 oz lime juice, fresh squeezed&lt;/li&gt;&lt;li&gt;1/2 teaspoon Sugar&lt;/li&gt;&lt;li&gt;kosher Salt (optional)&lt;/li&gt;&lt;li&gt;lime wedge (optional)&lt;/li&gt;&lt;li&gt;crushed ice or ice cubes&lt;/li&gt;&lt;/ul&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Preparation:&lt;/span&gt;&lt;br /&gt;&lt;blockquote style="font-family: webdings; font-style: italic;"&gt;If you’re going to salt the glass, take your lime wedge or a bit of triple sec and rub around edge of glass. Turn upside down and press rim into salt.&lt;/blockquote&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;For the drink- Shake the tequila, triple sec, lime juice and sugar in a shaker (or stir vigorously with a spoon) and pour over ice. Or you can blend it in a blender if you prefer it. Garnish with lime wedge and enjoy!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-505686244909682753?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/505686244909682753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/cocktail-refreshing-lime-margaritas.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/505686244909682753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/505686244909682753'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/cocktail-refreshing-lime-margaritas.html' title='Cocktail: Refreshing Lime Margaritas'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OMQMegzTDhE/SywS3ZmVq7I/AAAAAAAAAIU/PT9sDTX-Nb4/s72-c/margarita.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-1528264491099359438</id><published>2009-12-02T06:54:00.000+08:00</published><updated>2010-01-24T18:01:53.850+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Code Snippets'/><title type='text'>Ruby: Strip HTML tags using Ruby</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s1600-h/ruby-language.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 312px; height: 101px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s400/ruby-language.png" alt="" id="BLOGGER_PHOTO_ID_5416281972804850018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The StripHtml function strips all the HTML tags in the passed string but preserves the ones specified in the PreserveTags array.&lt;/div&gt;&lt;br /&gt;&lt;script src="http://gist.github.com/259828.js"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-1528264491099359438?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/1528264491099359438/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/ruby-strip-html-tags-using-ruby.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1528264491099359438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1528264491099359438'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/ruby-strip-html-tags-using-ruby.html' title='Ruby: Strip HTML tags using Ruby'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s72-c/ruby-language.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-7799238142062341925</id><published>2009-11-29T15:09:00.000+08:00</published><updated>2010-01-24T17:42:11.300+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>The Need to Lead</title><content type='html'>&lt;div style="text-align: justify;"&gt;The greatest need we have today, in every area, is for men and women to practice the values of integrity, discipline, responsibility, courage, and long time perspective, both as individuals and in their families. These are the key qualities of leadership.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Our society needs leaders at all levels who practice the principles that lead to long-term success. Especially, we need people in positions of authority and political power to support and encourage others, whose lives and work they influence, to develop character and resist the tendency to act expediently in ways that are harmful to themselves and others.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Everyone needs to take "The Values Pledge," to live by it, and then encourage others to live by it. It is only the solid bulwark of character, based on values, virtues, long-term thinking, and the accurate assessment of secondary consequences that can curb and mitigate the destructive influences and behavior of the Expediency Factor (the E-Factor)&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Live In Truth&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The philosopher Immanuel Kant postulated what he called "The Universal Maxim." He suggested that "you should live your life as though your every act were to become universal law for all people." The very best judge of truth for you is to ask, "Is it true for me?" If everyone was to be encouraged to live their life as though your every act were to become universal principle for all others, most government policies and programs would be abolished overnight. The fact is, that the only way that many "something for nothing" ideas in government and society can be put forward is with the hope that most people will not take advantage of them.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Think about it. What if everyone were to go on welfare? What if everyone were to apply for every government program that was available to them? What if everyone dedicated themselves to doing the very least amount of work that they could get away with? What if everyone began spending all their time trying to get free money from anywhere that it might be available?&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Four Questions to Stay on Track&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;There are four questions that you can ask and answer every day to keep yourself on track in each part of your life. First, ask yourself; "What kind of a world would this be if everyone in it was just like me?"&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;When you ask and answer this question honestly, you will admit that if everyone in the world was just like you, this would probably not be the best of all possible worlds. Look inside yourself and think about some of the things that you could change or do differently to become a better "citizen of the world."&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The second question you can ask is, "What kind of a country would America be, if everyone in it was just like me?"&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This is perhaps the most important question that we can ask and answer for ourselves. If everyone in America did the same thing that you did, every single day, would America be better, happier, healthier, and a more prosperous democracy? If not, what are some of the changes that you could make in your behaviors that would make America a better place?&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The third question you can ask is, "What kind of a company would my company be if everyone in it was just like me?"&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If you are honest with yourself, you will see different things that you could do to become a more valuable and important contributor to your company. Perhaps you should start a little earlier, work a little harder or stay a little later. Perhaps you could volunteer for more assignments, or upgrade your knowledge and skills as they relate to your job. How could you become the very best person you could possibly become at your work?&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The final question, and perhaps the more important, is, "What kind of family would my family be if everyone in it was just like me?"&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If everyone in your family behaved the way you do, and treated everyone else the way you treat them, would your family be a warmer, happier, and more loving group of people? What could you do, starting today, to be a better family member?&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Take the High Road&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The true mark of the superior person is that he sets high standards for himself, and refuses to compromise those standards for any reason. He sees himself as a role model for others. He behaves at all times as if everyone was watching, even when no one is watching.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The truly superior person does not give into forces of expediency. He does not seek something for nothing. He refuses to take anything to which he is not entitled. He insists upon earning everything he gets. He practices the Golden Rule and treats everyone the way he would like to be treated himself. He sets high standards for himself and continually strives to meet those standards. If everyone in America were to take the pledge below, this would be a better country in every way.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-7799238142062341925?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/7799238142062341925/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/11/need-to-lead.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7799238142062341925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7799238142062341925'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/11/need-to-lead.html' title='The Need to Lead'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-6301899403116794172</id><published>2009-11-29T09:38:00.000+08:00</published><updated>2009-12-26T17:48:36.494+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby On Rails'/><title type='text'>Rails: 301 Redirects</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OMQMegzTDhE/SyqBJCMJ3LI/AAAAAAAAAHs/qPSs7NwJuO8/s1600-h/rails-podcast.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 229px; height: 291px;" src="http://2.bp.blogspot.com/_OMQMegzTDhE/SyqBJCMJ3LI/AAAAAAAAAHs/qPSs7NwJuO8/s400/rails-podcast.png" alt="" id="BLOGGER_PHOTO_ID_5416283494073097394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;A 301 redirect is a permanent redirect, which tells the search engines to index the redirected to URL rather than the current URL.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You can use this when migrating from legacy content management systems, or to make sure that you only have 1 URL per page.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;With the folloing code in your controller, Rails makes it easy:&lt;br /&gt;&lt;script src="http://gist.github.com/263894.js"&gt;&lt;/script&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-6301899403116794172?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/6301899403116794172/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/301-redirect-is-permanent-redirect.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/6301899403116794172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/6301899403116794172'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/301-redirect-is-permanent-redirect.html' title='Rails: 301 Redirects'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OMQMegzTDhE/SyqBJCMJ3LI/AAAAAAAAAHs/qPSs7NwJuO8/s72-c/rails-podcast.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-8674832238236628106</id><published>2009-11-25T07:00:00.000+08:00</published><updated>2010-01-24T18:01:53.850+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Code Snippets'/><title type='text'>Ruby: Check if an URL is available</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s1600-h/ruby-language.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 312px; height: 101px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s400/ruby-language.png" alt="" id="BLOGGER_PHOTO_ID_5416281972804850018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This little Ruby function will check if an URL is available (response code 200). It will return true if the return code is 200 (success), false if any other code is returned, such as 404 (not found.)&lt;/div&gt;&lt;br /&gt;&lt;script src="http://gist.github.com/259831.js"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-8674832238236628106?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/8674832238236628106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/ruby-check-if-url-is-available.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8674832238236628106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8674832238236628106'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/ruby-check-if-url-is-available.html' title='Ruby: Check if an URL is available'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s72-c/ruby-language.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-1766112279418001391</id><published>2009-11-22T15:11:00.000+08:00</published><updated>2010-01-24T17:42:11.301+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Where to Put Your Money Conservatively</title><content type='html'>&lt;div style="text-align: justify;"&gt;There are three places (besides savings accounts) where you can park your savings that will give you high degrees of safety and liquidity: money market accounts, certificates of deposit (CDs), and government saving bonds.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Money Market Accounts&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Money market accounts are available at your bank and pay a higher rate of interest than savings accounts. They are also quite competitive, so you should shop around and look at what different banks offer. As soon as your savings account balance exceeds $1,000, move that money into a money market account at a higher rate of interest.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Certificates of Deposit&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Another savings instrument that you may consider is a certificate of deposit (CD). These are issued by banks, savings and loans, and other financial institutions for periods of time ranging from 30 days up to 10 years. The longer you lock up your money in a CD, the higher the interest rate you will receive.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The weakness with CDs is that if you need your money back before the date of maturity there are often severe penalties. You should find out what they are before you purchase a CD in the first place. CDs pay higher interest rates than money market accounts, and are safe places to put your savings. Nonetheless, they are not as flexible as the third option, which is a government savings bond.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Government Savings Bond&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Government savings bonds are the most conservative of investments. They are safe and secure, and they pay reasonable rates of interest. They are easily negotiable into cash if you need the money back at any time. They're backed by the full credit of the issuing government. In other words, you cannot lose money on a government savings bond unless the entire country goes broke.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Invest your Savings&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;These three types of investments are perfect places for you to invest your three to six months of savings. You will get the highest return possible with absolute security and safety principle.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-1766112279418001391?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/1766112279418001391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/11/where-to-put-your-money-conservatively.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1766112279418001391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1766112279418001391'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/11/where-to-put-your-money-conservatively.html' title='Where to Put Your Money Conservatively'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-7895615934843326906</id><published>2009-11-18T06:48:00.000+08:00</published><updated>2010-01-24T18:01:53.851+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Code Snippets'/><title type='text'>Ruby: Mask all Credit Card Digits but Last Four</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s1600-h/ruby-language.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 312px; height: 101px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s400/ruby-language.png" alt="" id="BLOGGER_PHOTO_ID_5416281972804850018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Mask all the credit card number digits with asterisks except the last 4, for security purposes. The function works for all types of cards (Visa, MasterCard, Amex, Discovery, etc.)&lt;/div&gt;&lt;br /&gt;&lt;script src="http://gist.github.com/259825.js?file=hide_cc_digits.rb"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-7895615934843326906?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/7895615934843326906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/ruby-mask-all-credit-card-digits-but.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7895615934843326906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7895615934843326906'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/12/ruby-mask-all-credit-card-digits-but.html' title='Ruby: Mask all Credit Card Digits but Last Four'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/Syp_wfBikWI/AAAAAAAAAHk/yD-MxRiXxIk/s72-c/ruby-language.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-8783737294883922396</id><published>2009-11-15T15:15:00.000+08:00</published><updated>2010-01-24T17:42:11.302+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>The Power of Leverage</title><content type='html'>&lt;div style="text-align: justify;"&gt;Studying and practicing the principles of effective delegation have given you the foundation necessary to exploit the power of leverage. We will now examine other forms of this key tool of professional and business success. Each of the seven forms of leverage can help you expand the reach of your own talents and strengths. Each involves building on the work, talents, experiences, and contacts of other people.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Leveraging Other People's Energy&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The most productive people make sure they have time for the few things that give them the highest payoff by routinely seeking to delegate or outsource their lower-value activities.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Leveraging Other People's Knowledge&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Applying one simple piece of key knowledge to your situation can make a world of difference in the result you achieve. Finding and applying knowledge from another source can spare you tremendous amounts of money and labor. Follow the lead of successful people and scan books, magazines, tapes, articles, and conferences for ideas and insights you can use to help you achieve your goals faster.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Leveraging Other People's Money&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Knowing how and when to take advantage of other people's money—by borrowing or otherwise tapping into other people's financial resources—empowers you to achieve things that would be beyond your reach if you relied solely on your own resources. Seek out opportunities to borrow and invest, achieving returns in excess of the cost of the borrowed funds. Among the many sources for funds, consider, for example, chartered banks, savings and loan associations, venture capitalists, and public and private offerings of securities.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Leveraging Other People's Successes&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Study the successes that other people and companies have achieved to gain insights into their challenges and solutions. Most successful people have paid their dues in terms of money, energy, commitment, and even failure to arrive at the top of their fields. Learn from their experiences.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Leveraging Other People's Failures&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;As Benjamin Franklin said, "Man can either buy his wisdom or borrow it. By buying it, he pays full price in personal time and treasure. By borrowing it, he capitalizes on the lessons learned from the failures of others." Listen carefully to the stories of truly successful people. Those who genuinely wish to support you will share with you their failures as well as their successes.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Leveraging Other People's Ideas&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;A single good idea, developed with passion and commitment, can give birth to a fortune. The greater your exposure to a range of ideas—gained through reading, studying, interaction, and experimentation—the greater the chance you will come across one that will lead you to enduring success.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Leveraging Other People's Contacts of Other People's Credibility&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Everyone you know has friends, acquaintances, and professional contacts. Many of these people can make a positive impact on your career or business. Among all the people you know or are connected to in some way, who might open doors for you?&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-8783737294883922396?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/8783737294883922396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/11/power-of-leverage.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8783737294883922396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8783737294883922396'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/11/power-of-leverage.html' title='The Power of Leverage'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-3320437670491672787</id><published>2009-11-08T15:17:00.000+08:00</published><updated>2010-01-24T17:42:11.302+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Keeping Your Sales Funnel Full</title><content type='html'>&lt;div style="text-align: justify;"&gt;Professional selling has three stages, which have been the same throughout history. They are prospect, present, and follow up. These three phases constitute the three parts of the "sales funnel." If your sales and income are down, it is because you are not prospecting enough, presenting enough, or following up and closing enough. The way to increase your sales is usually for you to increase the quality or quantity of your activities in one or more of these areas.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Imagine Your Funnel&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Imagine the basic sales model as a funnel. At the top of the funnel, you put in prospects. You have to call on a certain number of people, or suspects, to get a certain number of prospects. This number varies depending on the market, your product or service, your individual skills in prospecting, advertising, and many other factors.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Presenting&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The second part of the sales funnel is presenting. There is a direct ratio between the number of people you call on initially and the number of people who will agree to meet with you. Let us say, for example, that you have to call on twenty prospects to get five presentations. This would give you a ratio of 20 to 5 for your prospecting activities. Selling is very much a numbers game.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Follow Up and Close&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In the third part of the sales funnel you have following up and closing. Let us say that you have to follow up with two prospects to get one sale. What this means is that you have to put twenty prospects in the top of the funnel to get one sale out of the bottom of the funnel, a ratio of 20 to 1. The rule therefore is this "keep your funnel full."&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Prospecting Power&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The definition of a good prospect is "Someone who can and will buy and pay within a reasonable period of time." Do not waste your precious selling time with nice people who do not have the authority, money, or ability to buy from you. Think continually about your personal income, and always be sure that the person you are talking to can contribute to that income soon enough to justify the time you are investing in him or her.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Qualities of a Good Prospect&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The prospect has a genuine need that your product/service can fill.&lt;/li&gt;&lt;li&gt;The prospect is friendly toward you and have a favorable impression of your company and industry.&lt;/li&gt;&lt;li&gt;The prospect is willing and able to make a buying decision in the near future.&lt;/li&gt;&lt;li&gt;The prospect is a good potential source of further sales and referrals.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Qualities of Poor Prospects&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The prospect has no money or need for your product or service.&lt;/li&gt;&lt;li&gt;The prospect is critical of you, your company, or your product.&lt;/li&gt;&lt;li&gt;The prospect immediately haggles and complains about your price.&lt;/li&gt;&lt;li&gt;The prospect is indecisive about purchasing from you or anyone.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-3320437670491672787?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/3320437670491672787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/11/keeping-your-sales-funnel-full.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3320437670491672787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3320437670491672787'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/11/keeping-your-sales-funnel-full.html' title='Keeping Your Sales Funnel Full'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-2131270921643358247</id><published>2009-11-01T14:21:00.000+08:00</published><updated>2010-01-24T17:42:11.303+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>The Law of Planning</title><content type='html'>&lt;div style="text-align: justify;"&gt;Every minute spent in planning saves ten minutes in execution. The purpose of strategic planning in a corporation is to reorganize and restructure the activities and resources of the company so as to increase the “return on equity,” or return on the money invested and working in the company. The purpose of “personal strategic planning” is for you to increase your “return on energy,” the return on the mental, emotional, physical, and spiritual capital you have invested in your life and career.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Every Minute&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Every minute that you spend planning your goals, your activities, and your time in advance saves ten minutes of work in the execution of those plans. Therefore, careful advance planning gives you a return of ten times, or 1,000 percent, on your investment of mental, emotional, and physical energy.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;10-12 Minutes&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;It takes only about 10-12 minutes for you to make up a plan for your day. This investment of 10-12 minutes will save you time of approximately two hours per day, or a 25 percent increase in productivity and performance, in ROE, from the first day that you begin planning your day in advance.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Time Planner&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The key to personal efficiency is for you to use a good time planner. Virtually any planner will work if you will discipline yourself to use it as the core of your time management system. Today, Palm Pilots and personal digital assistants (PDA), in combination with personal computers, can enable you to plan your time with greater efficiency than has ever been possible.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Master List&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Begin with a master list as the foundation of your time planning system. Write down everything that you can think of that you will need to do for the indefinite future. As new ideas, goals, tasks, and responsibilities arise; write them down on your master list. Don't trust them to memory. Plan each month in advance by transferring the appropriate items from your master list to your monthly list. This is best done the last week of each month. Plan each week in advance by transferring items from your monthly list to your weekly list. This is best done the weekend before.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Plan Everything in Detail&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Plan every project, meeting, and goal in detail, before you begin. The very act of planning forces you to think better and more accurately about everything you do. The more you think about and plan something on paper, the faster and more efficiently you will accomplish it when you start work.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Regular Planning&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Regular planning assures that you spend more time on activities of higher value. This increases effectiveness and your efficiency in everything you do. Perhaps, the most important rule of all if for you to "think on paper!"&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-2131270921643358247?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/2131270921643358247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/10/law-of-planning.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/2131270921643358247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/2131270921643358247'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/10/law-of-planning.html' title='The Law of Planning'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4945295199769790580</id><published>2009-10-25T14:23:00.000+08:00</published><updated>2010-01-24T17:42:11.304+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>As Within, So Without</title><content type='html'>&lt;div style="text-align: justify;"&gt;Aristotle said that the ultimate aim or purpose or human life is to achieve your own happiness. You are the very happiest when what you are doing on the outside is congruent with your values on the inside. When you are living in complete alignment with that which you consider to be good, right, and true, you will automatically feel happy and positive about yourself and your world.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Know What You Really Want&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Stephen Covey once said, "Be sure that, as you scramble up the ladder of success, it is leaning against the right building." Many people work hard to achieve goals that they think they want only to find, at the end of the day, they get no joy or satisfaction from their accomplishments. They ask, "Is this all there is?" This occurs when the outer accomplishment is not in harmony with your inner values. Don't let this happen to you.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Trust Your Intuition&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Self-trust is the foundation of greatness. Self-trust comes from listening to your intuition, to your "still, small voice" within. Men and women begin to become great when they begin to listen to their inner voices and absolutely trust that they are being guided to a higher power each step of the way. Living in alignment with your true values is the royal road to self-confidence, self-respect, and personal pride. In fact, almost every human problem can be resolved by returning to values.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Watch Your Behavior&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;How can you tell what your values really are? The answer is simple. You always demonstrate your true values in your actions and especially your actions under pressure. Whenever you are forced to choose between one behavior and another you will always act consistent with what is most important and valuable to you at that moment. Values, in fact, are organized in a hierarchy. You have a series of values, some of them very intense and important and some of them weaker and less important. One of the most important exercises you can engage in to determine who you really are and what you really want is to organize your values by priority. Once you are clear about the relative important of your values, you can then organize your outer life so that it is in alignment with them.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Determine Your Hearts Desire&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The spiritual teacher Emmet Fox wrote about the importance of discovering your "hearts desire." What is your hearts desire? As a friend of mine asks, "What do you want to be famous for?" What words would you like people to use to describe you when you are not there? What would you like someone to say about you at your funeral? What kind of reputation do you have today? What kind of reputation would you like to have sometime in the future?&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Your Past is Not Your Future&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Many people had difficult experiences growing up. They fell on hard times and became associated with the wrong people. Some were convicted and sent to prison for crimes. But at a certain point in life, they decided to change. They thought seriously about what kind of person they wanted to be known as, and thought of, in the future. They decided to change their lives by changing the values that they lived by. By making these decisions and sticking to them, they changed their lives. Remember, it doesn't matter where you're coming from; all that really matters is where you're going.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4945295199769790580?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4945295199769790580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/10/as-within-so-without.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4945295199769790580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4945295199769790580'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/10/as-within-so-without.html' title='As Within, So Without'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4492521499161908535</id><published>2009-10-18T14:25:00.000+08:00</published><updated>2010-01-24T17:42:11.305+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>How to Charm Anyone</title><content type='html'>&lt;div style="text-align: justify;"&gt;Psychologists tell us that the core of personality is self-esteem. This has best been defined as "how much you like yourself." Your self-esteem is the sum total of how important and valuable you feel you are at any moment.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Secret of Charm&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The deepest craving of human nature is the need to feel valued and valuable. The secret of charm is therefore simple: make others feel important.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Five Ways to be Charming&lt;/span&gt;&lt;br /&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;Acceptance. The greatest gift you can give other people is the attitude of "unconditional positive regard." That is you accept them in their entirety, without limitation. You never criticize or find fault. You are totally accepting of everything about them. This is the starting point of being charming.&lt;/li&gt;&lt;li&gt;Appreciation. Whenever you express appreciation to others for something they have done, small or large, their self-esteem increases. They feel more competent and capable. Their self-image improves and their self-respect soars. And how do you trigger this wonderful feeling in others? It is simple. You say "thank you" on every occasion, for any large or small reason.&lt;/li&gt;&lt;li&gt;Approval. It is said that "babies cry for it, men die for it." Throughout life, all humans have a deep subconscious need for approval of their actions and accomplishments. No amount of approval ever satisfies for long. The need is ongoing, like the need for food and rest. People who continually seek opportunities to express approval are welcome wherever they go. Perhaps the best definition of approval is "praise." Just remember, whenever you praise other people for something they have done, their self-esteem is elevated.&lt;/li&gt;&lt;li&gt;Admiration. As Abraham Lincoln said, "Everybody likes a compliment." When you give people a genuine, sincere compliment about a trait, possession, or accomplishment, they automatically feel better about themselves. They feel acknowledged and recognized. They feel valuable and important. They like themselves more, and they like you more. Compliment a person on an article of clothing. Compliment someone on a trait, like punctuality or persistence. Compliment for small things as well as large.&lt;/li&gt;&lt;li&gt;Attention. This is perhaps the most important quality of all. It is the most powerful behavior for building self-esteem and is the key to instant charm. The more closely you pay attention to other people, the more valuable and important they will feel they are, and the more they will like you.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4492521499161908535?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4492521499161908535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/10/how-to-charm-anyone.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4492521499161908535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4492521499161908535'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/10/how-to-charm-anyone.html' title='How to Charm Anyone'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4689336396961906947</id><published>2009-10-11T14:27:00.000+08:00</published><updated>2010-01-24T17:42:11.305+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Five Factors That Banks Look For</title><content type='html'>&lt;div style="text-align: justify;"&gt;There are five factors that banks look for before making a loan to you, or any businessperson. These are called the "five C's" of lending or borrowing. You must be prepared to demonstrate all five when you approach a bank for a loan.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1. Collateral.&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;First, banks look for collateral. What assets are you going to put up to cover the loan? Collateral is something that can be sold for cash fairly quickly to repay the bank in case your business is not successful.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2. Character.&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Banks look for character. What is your previous track record with regard to loans? What kind of character do you have, in terms of honesty and dependability? Who knows you? Who will vouch for you?&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3. Credit Rating.&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Banks look at your current credit rating. How much money have you borrowed and repaid in the past? How good is your credit history today? Your credit rating is a very precious thing that follows you wherever you go. I have known many people whose entire adult lives have been ruined because they have been sloppy or indifferent with their credit. They have failed to make credit card payments, utility payments, or rent payments when they were due. In one or more of these cases, they have been reported to a national credit bureau. This negative credit rating has then dogged them for as long as 10 years, wherever they went, anywhere in the country. Don't let this happen to you.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4. Capital.&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Banks want to know the amount of capital you have. How much of your own money are you willing to invest? This is a measure of how deeply committed you are to the success of the enterprise.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5. Confidence.&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The last factor that banks use to determine whether to lend you money is their level of confidence in you. In the final analysis, the individual banker must have confidence that you are the kind of person who is going to succeed in the business that he or she is lending you money to start of build.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Banking Relationships Mature over Time&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Borrowing money from banks is a progressive series of financial transactions that develop over time. When you first attempt to borrow money, most banks will want $5 worth of collateral, personal investments, and other assets for every $1 that they will lend you. They will also want personal guarantees that extend beyond bankruptcy, should you declare it. But after a bank has several years of experience with you and comes to know and trust you, its lending requirements decline, step by step.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4689336396961906947?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4689336396961906947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/10/five-factors-that-banks-look-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4689336396961906947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4689336396961906947'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/10/five-factors-that-banks-look-for.html' title='Five Factors That Banks Look For'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-7420235465439343441</id><published>2009-10-04T14:30:00.000+08:00</published><updated>2010-01-24T17:42:11.306+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>The Four Principles of Marketing Strategy</title><content type='html'>&lt;div style="text-align: justify;"&gt;There are four principles to effective marketing strategy. Each of these principles must be thought through carefully and then continually revisited as the business grows and changes. Any changes in any one of these areas can have an enormous impact on the sales of profitability of the business.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Principle One: Specialization&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You must decide in exactly which area of your product or service market you are going to specialize. You cannot be all things to all customers. Too many businesses make the mistake of trying to offer too many products or services to too many types of customers at too many prices in too many ways. This is not the way to wealth.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Principle Two: Differentiation&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This is perhaps the most important strategic marketing principle of all. All business success requires a differentiation of some kind. All business success requires that you be both different from and better than you competitors in some clear, distinct way.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Who is your competition? Why doesn't your ideal customer buy from you? Why does your ideal customer buy from your competitor? What value does your ideal customer see in buying from your competitor that he or she does not see in buying from you? What could you do to offset this perception?&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The only hope you have in acquiring customers is to focus most of your time and attention on determining exactly who they are, where they are, and what you have to do to get them to buy from you rather than from someone else.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Principle Three: Segment Your Market&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If you offer more than one product or service, you will have to divide your potential customers into separate market segments.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You will then have to identify the characteristics and qualities of prospective customers in each of these segments in order to advertise and sell to them effectively.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Principle Four: Concentration&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Once you have applied the principles of specialization, differentiation, and segmentation to your products and services, and to your customers and markets, you now have to concentrate your limited resources.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You have to focus your time, energy, and money on those prospective customers that you have identified who are the most likely to buy from you the soonest.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-7420235465439343441?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/7420235465439343441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/10/four-principles-of-marketing-strategy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7420235465439343441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7420235465439343441'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/10/four-principles-of-marketing-strategy.html' title='The Four Principles of Marketing Strategy'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-5912020964180733078</id><published>2009-09-27T14:32:00.000+08:00</published><updated>2010-01-24T17:42:11.307+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Win-Win or No Deal</title><content type='html'>&lt;div style="text-align: justify;"&gt;In successful negotiation, both parties should be fully satisfied with the result and feel that they have each "won" or no deal should be made at all. Consistent with your determination to enter into agreements that preserve long-term relations between the parties, you should always seek an outcome that satisfies both. Remember, you always reap what you sow. Any settlement or agreement that leaves one party dissatisfied will come back to hurt you later, sometimes in ways that you cannot predict.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Tough Negotiating&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;A very tough negotiator told me proudly about a hard deal he had wrung out of a national organization for the distribution of his company's products. He had demanded and threatened and negotiated an agreement that paid him considerably more, both in up-front payments and in percentages of sales, than any of the other clients for which his company distributed.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Win-Lose&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The businessman had negotiated a deal that was a "win-lose," with him winning and the other losing. But those on the losing side had no incentive to fulfill the implied commitment to market the products. They had no real incentive to go forward with this person again, you should be clear in advance that you are committed to reach a solution that is satisfactory to both. If it does no entail a win for both parties, you should simply refuse to make any deal at all.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Win-Win&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;When you are determined to achieve a win-win solution to a negotiation, and you are open, receptive, and flexible in your discussions, you will often discover a third alternative that neither party had considered initially but that is superior to what either of you might have thought of on your own.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Make Yourself Clear&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Once you have decided that you are only going to agree to a settlement that is satisfactory to both parties, this doesn't mean that you have to accept any arrangement that you consider best. With your values and your intentions clear, you are now in a position to utilize every strategy and tactic available to you to get the very best deal for both of you—one that assures that you both end up happy with the arrangement.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-5912020964180733078?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/5912020964180733078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/09/win-win-or-no-deal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/5912020964180733078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/5912020964180733078'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/09/win-win-or-no-deal.html' title='Win-Win or No Deal'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4797656066174240974</id><published>2009-09-22T02:31:00.000+08:00</published><updated>2009-11-22T03:39:15.561+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Information Technology'/><title type='text'>How RAID 6 works?</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OMQMegzTDhE/SwhBTtfYOWI/AAAAAAAAAG0/EyaL0Jin_sQ/s1600/RAID-6-Diagram.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 200px;" src="http://1.bp.blogspot.com/_OMQMegzTDhE/SwhBTtfYOWI/AAAAAAAAAG0/EyaL0Jin_sQ/s400/RAID-6-Diagram.jpg" alt="" id="BLOGGER_PHOTO_ID_5406643159542806882" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;RAID 6 is designed for tolerating two simultaneous HDD failures by storing two sets of distributed parities. Apparently the complex mechanism is likely to compromise data rate in and out of the system. With direct support from Intel IOP, Enhance has enabled RAlD 6 in both DAS series and iSCSI series with minimal performance hit. RAlD 6 significantly enhances the reliability of the new EnhanceRAID family even both are built upon low-cost high capacity SATA drives.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Brief&lt;/span&gt;&lt;br /&gt;RAID 6 is designed for tolerating two simultaneous HDD failures by storing two sets of distributed parities. Apparently the complex mechanism is likely to compromise data rate in and out of the system. With direct support from Intel IOP, Enhance has enabled RAlD 6 in both DAS series and iSCSI series with minimal performance hit. RAlD 6 significantly enhances the reliability of the new EnhanceRAID family even both are built upon low-cost high capacity SATA drives.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Pro&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Designed for tolerating two simultaneous HDD failures by storing two sets of distributed parities.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Con&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;For RAID 6, one needs a more complex system with a method for encoding, as well as XOR calculations. For that, one really needs hardware acceleration, otherwise the performance suffers.&lt;/li&gt;&lt;li&gt;Uses 2 drives for parity&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Recommended Configuration&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Disk array consists of 12 disks or more&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Recommended Solutions&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Desktop: EnhanceRAID T8&lt;/li&gt;&lt;li&gt;Rackmount: EnhanceRAID R14; UltraStor RS16&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;!-- nuffnang --&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt; &lt;br /&gt;nuffnang_bid = "4ab1b8a58b6ccbf5b2e41a76c0c1a5f3";&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;script src="http://synad2.nuffnang.com.my/j.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;!-- nuffnang--&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4797656066174240974?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4797656066174240974/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/09/how-raid-6-works.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4797656066174240974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4797656066174240974'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/09/how-raid-6-works.html' title='How RAID 6 works?'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OMQMegzTDhE/SwhBTtfYOWI/AAAAAAAAAG0/EyaL0Jin_sQ/s72-c/RAID-6-Diagram.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-2519843165018154189</id><published>2009-09-20T14:36:00.000+08:00</published><updated>2010-01-24T17:42:11.307+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Manage Your Time Well</title><content type='html'>&lt;div style="text-align: justify;"&gt;To achieve all your goals and become everything you are capable of becoming you must get your time under control. Psychologists generally agree that a "sense of control" is the key to feelings of happiness, confidence, power, and personal well-being. And a sense of control is only possible when you practice excellent time management skills.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Choices and Decisions&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If the front side of the coin of success is the ability to set clear goals for yourself, then the flip side of the same coin is the ability to get yourself organized and work on your most valuable tasks, every minute of every day. Your choices and decisions have combined to create your entire life to this moment. To change or improve your life in any way, you have to make new choices and new decisions that are more in alignment with who you really are and what you really want.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Right Thing to Do&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The only way that you can determine that is right or wrong, more or less important, high or low priority is by first determining your aim or goal at that particular moment. From that point forward, you can divide all your activities in to "A" activities or "B" activities. An "A" activity is something that moves you toward your goal, the faster and more directly the better. A "B" activity is an activity that does not move you toward a goal that is important to you.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Begin with a List&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The basic tool of time management is a list, organized by priority, and used as a constant tool for personal management. The fact is that you can't manage time; you can only manage yourself. That is why time management requires self-discipline, self-control, and self-mastery. Time management requires that you make the best choices and decisions necessary to enhance the quality of your life and work. Then you follow through on your decisions.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Use Advance Planning&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Begin today to plan every week in advance, preferably the Sunday before the workweek begins. Plan every day in advance, preferably the night before. When you make a list of everything you have to do the following day, your subconscious mind works on that list all night long. When you wake up in the morning, you will often have ideas and insights to help you accomplish the items on your list.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Separate the Urgent from the Important&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In the process of managing your time, you must separate the urgent tasks from the important ones. Urgent tasks are determined by external pressures and requirements. You must do them immediately.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-2519843165018154189?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/2519843165018154189/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/09/manage-your-time-well.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/2519843165018154189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/2519843165018154189'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/09/manage-your-time-well.html' title='Manage Your Time Well'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-7972453397216606602</id><published>2009-09-13T14:38:00.000+08:00</published><updated>2010-01-24T17:42:11.308+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Achieving Personal Excellence</title><content type='html'>&lt;div style="text-align: justify;"&gt;Personal excellence is perhaps the most important of all invisible and intangible assets that you can acquire. Achieving personal excellence in your business or industry requires lifelong dedication. But once you get into the top 10 percent of your field, you will be one of the highest paid people in the country. You will enjoy the respect and esteem of the people around you. You will be able to live your life the way you want to live it. You will enjoy high levels of self-esteem, self-respect, and personal pride.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Build Your Intellectual Assets&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Each person has or can acquire three forms of intellectual capital. These require an investment of study and hard work, but they pay off in higher income for the rest of your life. The first type of intellectual capital you can acquire consists of your core knowledge, skills, and abilities. These are the result of education, experience, and training. They determine how well you do your job and the value of your contribution to your business.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Build Your Internal Knowledge&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The second form of intellectual capital that you posses is your knowledge of how your business operates internally, in comparison to that of your competitors or any other business. Each business develops a series or systems, procedures, methods, techniques, and strategies to market, sell, produce, deliver products and services, and satisfy customers. Each business has internal systems for accounting, administration, and financial controls. These systems take many years to develop and considerable time for a new person to learn. A person who knows and understands these systems intimately has a form of intellectual capital that is difficult for the company to replace.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Build Your Ability to Get Results&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The third form of intellectual capital that you possess, and that is perhaps the key determinant of your earning ability, is your knowledge and understanding of how you can get financial results in a competitive market. This includes your knowledge of your products and services and how to sell them. It includes your knowledge of customers and suppliers and how to deal with them. It embraces your familiarity with bankers, lawyers, accountants, and government officials and how to interact with them effectively. This form of intellectual capital may take years to build, and it is extremely valuable to your organization. You first responsibility to yourself is to develop your earning ability to a high level. You do this by continually increasing your intellectual capital, by upgrading your ability to do your job, by becoming a valuable part of your organization, and by getting more and better financial results for your organization.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-7972453397216606602?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/7972453397216606602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/09/achieving-personal-excellence.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7972453397216606602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7972453397216606602'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/09/achieving-personal-excellence.html' title='Achieving Personal Excellence'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4940111689947633094</id><published>2009-09-06T14:39:00.000+08:00</published><updated>2010-01-24T17:42:11.309+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>The Law of Superb Execution</title><content type='html'>&lt;div style="text-align: justify;"&gt;Leaders are committed to excellent performance of the business task at hand, and to continuous improvement. A leader is the person who chooses the area of excellence for his or her team. A leader knows that excellence is a journey, not a destination. Leaders are committed to being the best in everything they do. They constantly strive to be better in their key result areas. They compare themselves with people, organizations, and products or services that are better than they are, and they are continually improving.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Standards of Excellence&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Leaders set standards of excellence for everyone who reports to them. They are ruthless about weeding out incompetence and poor performance. Leaders demand quality work and insist that people do their jobs well. The leader sets the standard of excellence. No one, or no part of the organization, can be any better than the standard that the leader represents and enforces. For this reason, leaders are committed to personal excellence in everything they do.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Leaders are Learners&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Leaders are learners, continually striving to be better in their work and personal lives. They read, take additional courses and seminars, and listen to audio programs in their cars. They attend conventions and association meetings, go to the important sessions, and take good notes. They are committed to learning and growing in every area where they feel they can make an even more valuable contribution to their work.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Inspiring People&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;People are most inspired when they feel they are working for an organization in which excellence is expected. The very best way to motivate and inspire others is for you to announce your commitment to being the best in your field or industry. Then, continually benchmark your performance and the performance of your organization against the very "best in class" in your business.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Core Competencies&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Leaders identify their core competencies, the vital tasks they do that are responsible for them being in business. They continually look for ways to upgrade these core competencies to assure that they maintain a competitive edge in the marketplace. Leaders think about the future and identify the core competencies that will be required for success in the years ahead. They then develop plans to acquire those core competencies well before they will be needed to compete effectively in the marketplace of tomorrow.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4940111689947633094?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4940111689947633094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/09/law-of-superb-execution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4940111689947633094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4940111689947633094'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/09/law-of-superb-execution.html' title='The Law of Superb Execution'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-3080894527884762285</id><published>2009-08-30T14:42:00.000+08:00</published><updated>2010-01-24T17:42:11.310+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Wealth Creation Strategies</title><content type='html'>&lt;span style="font-weight: bold;"&gt;What People Need&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Wealth creation occurs when you produce a product or service that people want and need and are willing to pay for at a price that is in excess of your total cost of producing that product or service. The key to business success has always been the same, find a need and fill it. We all earn our livings by serving other people in some way. Your business goal is to find out what people really want and need, and then give it to them better and faster than anyone else.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Secrets of Market Leadership&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Hundreds of companies have been studied to discover the secrets of market leadership. There are three secrets. The first one is Operational Excellence—the company has developed the ability to produce its products and services at a cost substantially lower than its competitors. The second is Customer Intimacy—the company develops a close relationship with its customers based on excellent knowledge of the customer's business. Thirdly, there is Technological Superiority—the company offers a product or service that is superior to that of its competitor.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Additional Value&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;There are several strategies that you can follow to create additional value for your customers and additional wealth for yourself. Improve your product or service in some way so that it is better than that of your competitors, at the same or at a lower price. Produce or deliver your product or service faster than your competitors. Produce your product or service cheaper than your competitors, maintaining or increasing your level of quality. Offer better follow-up and support services to go along with your product or service than your competitors. Make your product easier to acquire and more readily available than your competitors. Make your prices and terms more attractive and convenient than your competitors. Include additional products and services with your offerings, at the same price.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Reputation&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Your reputation in the marketplace determines how much you can sell, and the prices you charge. The friendliness of your staff and the ease of doing business with you is a key part of your reputation. Your credibility with your customers, the degree to which they see you as trustworthy and dependable is a key value to your customers. Selling to an individual customer requires an impeccable reputation and a focus on the improvement your product or service makes in their lives. What does your product achieve for your customer? What does your product help your customer to avoid? What does your product help your customer to preserve? How does your product help your customer to get better results in his life?&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-3080894527884762285?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/3080894527884762285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/08/wealth-creation-strategies.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3080894527884762285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3080894527884762285'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/08/wealth-creation-strategies.html' title='Wealth Creation Strategies'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-7482197495162054970</id><published>2009-08-23T14:56:00.000+08:00</published><updated>2010-01-24T17:42:11.310+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Developing a Powerful Sales Personality</title><content type='html'>&lt;div style="text-align: justify;"&gt;Becoming excellent in closing sales is an inside job. It begins within you. In sales, your personality is more important than your product knowledge. It is more important than your sales skills. It is more important than the product or service that you are selling. In fact, your personality determines fully 80 percent of your sales success.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Take Charge of Your Life&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The biggest mistake you can make is to ever think that you work for anyone but yourself. From the time you take your first job until the day you retire, you are self employed. You are the president of your own entrepreneurial corporation, selling your services into the marketplace at the highest price possible. You have only one employee—yourself. Your job is to sell the highest quality and quantity of your services throughout your working life.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;View Yourself as Self-Employed&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In a study done in New York some years ago, researchers found that the top 3 percent of people in every field looked upon themselves as self-employed. They treated the company as if it belonged to them personally. They saw themselves as being in charge of every aspect of their lives. They took everything that happened to their company personally, exactly as if they owned 100 percent of the stock.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Winners Versus Losers&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The difference between winners and losers is quite clear. Winners always accept responsibility for their actions. Losers never do but instead always have some kind of explanation for why they are doing poorly.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Don't Waste Time&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The average salesperson today wastes a fully 50 percent of his or her working time. According to research, he comes in a little later, works a little slower, and leaves a little earlier. He spends most of his working time in idle chitchat with coworkers, personal business, reading the paper, drinking coffee, and surfing the internet. Winners arrive a little earlier, work a little harder, and stay a little later.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Develop Empathy and Understanding&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Top salespeople have high levels of empathy, i.e., they really care about their customers. Ambition, the desires to achieve, combined with empathy, the genuine caring for the well-being of your customers, are the twin keys to top sales performance. A person with empathy makes every effort to get inside the mind and heart of the customer and to understand his situation and needs.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Keep Your Word&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Top-selling salespeople are impeccably honest with themselves and with others. There is no substitute for honesty in selling. Earl Nightingale once said, "If honesty did not exist, it would have to be invented as the surest way of getting rich."&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Do What you Love to Do&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;One of the secrets of success in selling is for you to do what you love to do. Top salespeople love what they are selling. They believe in it passionately. They will defend it and argue over it. They will talk about it day and night. When they go to bed, they think about their product. When they wake up in the morning, they can hardly wait to talk to prospects about it. Look at the top salespeople in the very best companies, and you'll find that these people are fanatical, about their products and services.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-7482197495162054970?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/7482197495162054970/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/08/developing-powerful-sales-personality.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7482197495162054970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7482197495162054970'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/08/developing-powerful-sales-personality.html' title='Developing a Powerful Sales Personality'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-6946643534409285126</id><published>2009-08-18T04:40:00.000+08:00</published><updated>2009-12-18T03:07:26.905+08:00</updated><title type='text'>How to Install Ruby on Rails on Ubuntu 9.04 (Jaunty Jackalope)</title><content type='html'>Few of my friends have started to learn Ruby on Rails recently. According to my point of view, Windows is not a suitable and enjoyable  environment for RoR development. So, I recommended them to start with Ubuntu. Most of them have installed Ubuntu 8.10 and 9.04. So, I wish to write a small guide to setup the Ruby on Rails environment on Ubuntu 8.10 and 9.04.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Ruby installation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;First we need to update the repositories.&lt;br /&gt;&lt;pre name="code" class="ruby"&gt;sudo apt-get update&lt;/pre&gt;&lt;br /&gt;It’s always a best practice to upgrade the system.&lt;br /&gt;&lt;pre name="code" class="ruby"&gt;sudo apt-get dist-upgrade&lt;/pre&gt;&lt;br /&gt;This installation will take few minutes and also require approximately 100 MB disk space.&lt;br /&gt;&lt;br /&gt;Now that we are up to date. Let’s start install the RoR recipices. We need following Rails prerequisites.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;ruby&lt;span style="font-style: italic;"&gt; - An interpreter of object-oriented scripting language Ruby&lt;/span&gt;&lt;/li&gt;&lt;li&gt;ri&lt;span style="font-style: italic;"&gt; - Ruby Interactive reference&lt;/span&gt;&lt;/li&gt;&lt;li&gt;rdoc&lt;span style="font-style: italic;"&gt; - Generate documentation from ruby source files&lt;/span&gt;&lt;/li&gt;&lt;li&gt;irb&lt;span style="font-style: italic;"&gt; - Interactive Ruby&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre name="code" class="ruby"&gt;sudo apt-get install ruby ri rdoc irb libopenssl-ruby ruby-dev&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Ruby Gem installation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Next we need to install the Ruby gem package manager. You can download the latest Ruby gems by following link.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://rubyforge.org/projects/rubygems/"&gt;http://rubyforge.org/projects/rubygems/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Download and extract the files. (By the time I’m writing this tutorial the latest version is 1.3.5)&lt;br /&gt;&lt;pre name="code" class="ruby"&gt;tar xvzf  rubygems-1.3.5.tgz&lt;br /&gt;cd rubygems-1.3.5&lt;br /&gt;sudo ruby setup.rb&lt;/pre&gt;&lt;br /&gt;Once it’s done you can delete the .tgz file and rubygems directory.&lt;br /&gt;&lt;pre name="code" class="ruby"&gt;cd ..&lt;br /&gt;rm -r rubygems-1.3.5 rubygems-1.3.5.tgz&lt;/pre&gt;&lt;br /&gt;Next we need to create a set of simlinks. Otherwise it will be a tedious task to type commands with the version (1.8).  For an example if we need to call the gem command we’ve to type gem1.8. I don’t prefer that. Hope you too. So, let’s create the necessary simlinks.&lt;br /&gt;&lt;pre name="code" class="ruby"&gt;sudo ln -s /usr/bin/gem1.8 /usr/local/bin/gem&lt;br /&gt;sudo ln -s /usr/bin/ruby1.8 /usr/local/bin/ruby&lt;br /&gt;sudo ln -s /usr/bin/rdoc1.8 /usr/local/bin/rdoc&lt;br /&gt;sudo ln -s /usr/bin/ri1.8 /usr/local/bin/ri&lt;br /&gt;sudo ln -s /usr/bin/irb1.8 /usr/local/bin/irb&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Rails Installation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now we can install Rails using gem.&lt;br /&gt;&lt;pre name="code" class="ruby"&gt;sudo gem install rails&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Server Installation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Rails by default comes with the WEBrick server. But most Rails developers prefer the Mongrel server. If you satisfied with WEBrick you can skip this step, else type the following command to install Mongrel server.&lt;br /&gt;&lt;pre name="code" class="ruby"&gt;sudo gem install mongrel&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Database Installation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Rails 2.3 shipped with  SQLite3 as it’s default database instead of  MySQL. You can install SQLite3 libraries by following commands.&lt;br /&gt;&lt;pre name="code" class="ruby"&gt;sudo apt-get install sqlite3 swig libsqlite3-ruby libsqlite3-dev&lt;br /&gt;sudo gem install sqlite3-ruby&lt;/pre&gt;&lt;br /&gt;If you prefer MySQL,&lt;br /&gt;&lt;pre name="code" class="ruby"&gt;sudo apt-get install mysql-client libmysqlclient15-dev&lt;br /&gt;sudo gem install mysql&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Create Ruby on Rails App&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now that we have completed everything successfully. You can create your new Ruby on Rail applicaion by following command.&lt;br /&gt;&lt;pre name="code" class="ruby"&gt;rails test_app&lt;/pre&gt;&lt;br /&gt;If you need MySQL supported applicaion you need to specify as follows&lt;br /&gt;&lt;pre name="code" class="ruby"&gt;rails test-app -d mysql&lt;/pre&gt;&lt;br /&gt;Run the app&lt;br /&gt;&lt;pre name="code" class="ruby"&gt;cd test_app&lt;br /&gt;script/server&lt;/pre&gt;&lt;br /&gt;navigate you browser to http://localhost:3000&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-6946643534409285126?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/6946643534409285126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/08/how-to-install-ruby-on-rails-on-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/6946643534409285126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/6946643534409285126'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/08/how-to-install-ruby-on-rails-on-ubuntu.html' title='How to Install Ruby on Rails on Ubuntu 9.04 (Jaunty Jackalope)'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-2561419408265225349</id><published>2009-08-16T14:58:00.000+08:00</published><updated>2010-01-24T17:42:11.311+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>The Law of Competence</title><content type='html'>&lt;div style="text-align: justify;"&gt;You can increase your efficiency and your effectiveness by becoming better and better at your key tasks. One of the most powerful of all time management techniques is for you to get better at the most important things you do. Your core competencies, your key skill areas, the places where you are absolutely excellent at what you do, are the key determinants of your productivity, your standard of living, and the level of achievement you reach in your field.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Work Excellence&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The market pays excellent rewards only for excellent work. You are therefore successful to the degree to which you do more things better than the average person. Your great responsibility in life is to determine what things you can and should do very well and then develop a plan to become very, very good in those vital areas.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Key Question&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Here is the key question: What one skill, if you developed and did it in an excellent fashion, would have the greatest positive impact on your career? Your weakest important skill sets the height at which you can use all your other skills. Be honest with yourself. What is your limiting skill? What is the one skill that determines the speed at which you complete your major tasks and achieve your goals? What is the one skill, the lack of which may be holding you back?&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Pareto Principle&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The Pareto Principle, the 80/20 Rule, applies to those skills that are limiting to your success. Eighty percent of the reasons you are not moving ahead as fast as you want is explained by the 20 percent of skills and abilities that you lack. This rule also says that 80 percent of your limits in life are contained within yourself. Eighty percent of the reasons you are not achieving your goals as quickly as you want is because of the lack of a particular skill, ability, or quality within yourself.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Look Within Yourself&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The underachiever always looks for the reasons for his or her problems in the outer world. The high achiever looks within. The high-achieving person always asks, what is it in me that is holding me back? Successful people look into themselves for the answers to their questions and for the solutions to their problems. Unsuccessful people always look outside. Who do you think finds the solutions first?&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Ask Others to Evaluate&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Ask people around you to evaluate you in your critical skill areas on a scale of one to ten. The more accurate you can be about this exercise, the easier it will be for you to focus on the one or two skill areas that help you the most.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-2561419408265225349?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/2561419408265225349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/08/law-of-competence.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/2561419408265225349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/2561419408265225349'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/08/law-of-competence.html' title='The Law of Competence'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-3060361692298250345</id><published>2009-08-08T15:04:00.000+08:00</published><updated>2010-01-24T17:42:11.312+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Create Your Personal Strategic Plan</title><content type='html'>&lt;div style="text-align: justify;"&gt;Your success in life is determined, to a large extent by your ability to think, plan, decide, and take action. The stronger your skills are in each of these areas, the faster you will achieve your goals and the happier you will be with your life and career. Personal strategic planning is the tool that takes you from wherever you are to wherever you want to go.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Difference between Train and Plane&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The difference between people who use strategic planning to organize and direct their lives and those who do not is like the difference between taking a train and taking a plane. Both will get you from point A to point B, but the plane—personal strategic planning—will get you there much faster and without frequent stops.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Systematic Way of Thinking&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Skill in personal strategic planning is not something you are born with, like eye color or perfect pitch. It is a systematic way of thinking and acting and is, therefore, something you can learn, like riding a bike or changing a tire. With practice, you can master the many different elements that make up this key skill, and you will get into the rhythm of thinking and acting strategically for the rest of your life. When you do acquire rhythm, you will realize extraordinary results. Your life and career will take off, and the sky is truly the limit.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Save Time and Money&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Why is strategic planning and thinking so helpful? The answer is simple: it saves you an enormous amount of time and money. When you review and analyze key strategic questions of concepts of your career or business, you find yourself focusing on the critical tasks necessary to achieve your goals. At the same time, you stop doing those things that keep you from achieving success. You do more of the right things and fewer things that get and keep you off track. You set performance goals for people and projects. You become skilled at measuring and tracking results. You move into the express lane in both work and life.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Design Your Life and Career&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Your goals in personal strategic planning are similar. The key difference is that rather than improving your return on equity, your planning efforts will allow you to realize a greater return on energy. You might say that personal strategic planning will increase your return on life. A business measures its equity in terms of financial capital. On the other hand, you measure your personal equity in terms of your own human capital. Your personal equity consists of the physical, emotional, and mental energies you are able to invest in your career. Set a goal of achieving the very highest return possible on the investment of your energies.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Critical Question&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Ask yourself this critical question: What is it that I do especially well? Examine the areas where you excel or are clearly superior to others in your field. You need to know what you can claim as your personal competitive advantage. This is the lifeblood of personal strategic planning. Your success is tied directly to how excellent you become at the most important part of your work.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-3060361692298250345?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/3060361692298250345/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/08/create-your-personal-strategic-plan.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3060361692298250345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/3060361692298250345'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/08/create-your-personal-strategic-plan.html' title='Create Your Personal Strategic Plan'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4818496610569302253</id><published>2009-08-03T17:53:00.000+08:00</published><updated>2010-01-24T18:00:32.253+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Django Framework'/><title type='text'>Accessing the Python Help Facility from the Python Shell</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OMQMegzTDhE/SngG_VN115I/AAAAAAAAAFk/veowlcLB8Jk/s1600-h/python_logo.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 300px; height: 101px;" src="http://1.bp.blogspot.com/_OMQMegzTDhE/SngG_VN115I/AAAAAAAAAFk/veowlcLB8Jk/s400/python_logo.png" alt="" id="BLOGGER_PHOTO_ID_5366046641108670354" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Python has a ton of useful modules, and the built-in help facility is extremely useful for gaining quick access to a description of methods in a given module. Once a module is imported with import:&lt;br /&gt;&lt;script src="http://gist.github.com/161137.js"&gt;&lt;/script&gt;&lt;br /&gt;You can run dir(MODULE_NAME) to view the list of methods in the module:&lt;br /&gt;&lt;script src="http://gist.github.com/161138.js"&gt;&lt;/script&gt;&lt;br /&gt;To get help on a specific method, you can pass the module and method name to the built-in help function:&lt;br /&gt;&lt;script src="http://gist.github.com/161139.js"&gt;&lt;/script&gt;&lt;br /&gt;Help on class spawn in module pexpect:&lt;br /&gt;&lt;script src="http://gist.github.com/161140.js"&gt;&lt;/script&gt;&lt;br /&gt;This is pretty sweet, and makes coding in Python super easy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4818496610569302253?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4818496610569302253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/08/ccessing-python-help-facility-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4818496610569302253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4818496610569302253'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/08/ccessing-python-help-facility-from.html' title='Accessing the Python Help Facility from the Python Shell'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OMQMegzTDhE/SngG_VN115I/AAAAAAAAAFk/veowlcLB8Jk/s72-c/python_logo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-7573122408821083660</id><published>2009-08-01T15:06:00.000+08:00</published><updated>2010-01-24T17:42:11.313+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>The Power of Word of Mouth</title><content type='html'>&lt;div style="text-align: justify;"&gt;One of the most powerful determinants of the future success of your business is the little understood phenomenon of word-of-mouth communication. Fully 90 percent of dissatisfied customers will not do business again with the company that fails to meet their expectations. The same study also concluded that, on average, each dissatisfied customer will share his dissatisfaction with at least nine other people. What this means is that the dissatisfaction of just one disgruntled customer ends up poisoning the minds of forty five other people.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Creating a “Golden Chain” of Referrals&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;A satisfied customer will share “delight” or “amazement” with nine of his friends and relatives and associates, who will in turn pass the good news on to five others. In his book Word-of-Mouth Marketing, Jerry Wilson claims that the number of customers who will tell a positive story of their experience with you, your company or your product is one-tenth of the number who will share a negative story. In other words, while excellent customer service is essential in reducing or even eliminating negative word of mouth, you cannot rely on positive word of mouth to produce a stream of referrals.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Asking for Referrals&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Referrals do not just happen. Waiting for the phone to ring is a lousy marketing strategy! If you want to build a pipeline of referrals, you must create it yourself. This means you must ask for them. That's right—ask! And your most productive source of referrals to start with is your existing customer or prospect list. The closing of a sale is often accompanied by an emotional high for your new customer. This is a wonderful time to ask for referrals. With each step, your new customer becomes more and more involved in the process and, subconsciously, more committed to helping you. Your goal should be to leave with two or three referrals from each sale.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Asking for Referrals from a Satisfied Customer&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If you have done a good job of servicing your customer after the sale, you can be confident you now have a satisfied customer—one who will buy from you again and who represents a potential source of excellent referrals. Contact your satisfied customer and begin the conversation by inquiring if they are happy with their purchase and if there is anything more you can do for them. If they make a request, then treat this as a customer service call. If not, say to them, “I'm so pleased you're enjoying your new (product or service). Can you put me in touch with anyone else who would appreciate the same experience that you are enjoying using it?” The wonderful thing about a highly satisfied customer is they often want their relatives, friends and associates to share their experience.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Follow-Up&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Within one day or receiving the referral, drop a quick note to your customer, thanking them for their recommendation and again reassuring them that you will treat their friend with respect. This is an important part of cementing your relationship and will pay dividends in the future in the form of repeat business and further referrals. After you have followed up with the referral, be sure to call your customer. Again, thank them for the introduction and report your results. Remember, the referral is someone who is meaningful to your customer, so they will naturally be interested in what happens. A further way you express your gratitude and to reinforce your relationship with your customer is to send them a gift after you have closed a sale with a referral they provided. Your gift should be appropriate to the size of the sale.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-7573122408821083660?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/7573122408821083660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/08/power-of-word-of-mouth.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7573122408821083660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7573122408821083660'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/08/power-of-word-of-mouth.html' title='The Power of Word of Mouth'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-1533991485941308019</id><published>2009-07-31T17:43:00.000+08:00</published><updated>2010-01-24T14:28:28.631+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Safari Bookshelf'/><title type='text'>The RSpec Book: Behaviour Driven Development with RSpec, Cucumber, and Friends</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/SngDl7FmxpI/AAAAAAAAAFc/z82y0-iLvwA/s1600-h/the-rspec-book.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 400px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/SngDl7FmxpI/AAAAAAAAAFc/z82y0-iLvwA/s400/the-rspec-book.jpg" alt="" id="BLOGGER_PHOTO_ID_5366042906063193746" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The RSpec Book: Behaviour Driven Development with RSpec, Cucumber, and Friends&lt;/span&gt;&lt;br /&gt;Author: David Chelimsky, Dave Astels, Bryan Helmkamp, Dan North, Zach Dennis, Aslak Hellesoy&lt;br /&gt;ISBN-10: 1934356379&lt;br /&gt;ISBN-13: 978-1934356371&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Book Description&lt;/span&gt;&lt;br /&gt;Behaviour Driven Development is about writing software that matters. It is an approach to agile software development that takes cues from Test Driven Development, Domain Driven Design, and Acceptance Test Driven Planning.&lt;br /&gt;&lt;br /&gt;RSpec and Cucumber are the leading Behaviour Driven Development tools in Ruby. RSpec supports Test Driven Development in Ruby through the BDD lens, keeping your focus on design and documentation while also supporting thorough testing and quick fault isolation. Cucumber, RSpec's steadfast companion, supports Acceptance Test Driven Planning with business-facing, executable requirements documentation that helps to ensure that you are writing relevant software targeted at real business needs.&lt;br /&gt;&lt;br /&gt;The RSpec Book will introduce you to RSpec, Cucumber, and a number of other tools that make up the Ruby BDD family. Replete with tutorials and practical examples, the RSpec Book will help you get your BDD on, taking you from executable requirements to working software that is clean, well tested, well documented, flexible and highly maintainable.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Download Mirror&lt;/span&gt;&lt;br /&gt;&lt;a href="http://..."&gt;http://...&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-1533991485941308019?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/1533991485941308019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/07/rspec-book-behaviour-driven-development.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1533991485941308019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1533991485941308019'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/07/rspec-book-behaviour-driven-development.html' title='The RSpec Book: Behaviour Driven Development with RSpec, Cucumber, and Friends'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/SngDl7FmxpI/AAAAAAAAAFc/z82y0-iLvwA/s72-c/the-rspec-book.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-7410276591503459586</id><published>2009-07-25T15:44:00.000+08:00</published><updated>2010-01-24T17:42:11.313+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Practice Creative Procrastination</title><content type='html'>&lt;div style="text-align: justify;"&gt;Creative procrastination is one of the most effective of all personal performance techniques. It can change your life. The fact is that you can't do everything that you have to do. You have to procrastinate on something. Therefore, procrastinate on small tasks. Everyone procrastinates. The difference between high performers and low performers is largely determined by what they choose to procrastinate on.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Priorities versus Posteriorities&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;To set proper priorities, you must set posteriorities as well. A priority is something that you do more of and sooner, while a postieriority is something that you do less of and later, if at all. One of the most powerful of all words in time management in the word no! Say it politely. Say it clearly so that there are no misunderstandings. Say it regularly as a normal part of your time management vocabulary. For you to do something new, you must complete or stop doing something old.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Procrastinate on Purpose&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Most people engage in unconscious procrastination. They procrastinate without thinking about it. As a result, they procrastinate on the big, valuable, important tasks that can have significant long-term consequences in their lives and careers. You must avoid this common tendency at all costs. Your job is to deliberately procrastinate on tasks that are of low value so that you have more time for tasks that can make a big difference in your life and work.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Set Posteriorities on Time-Consuming Activities&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Continually review your life and work to find time- consuming tasks and activities that you can abandon. Cut down on television watching and instead spend the time with your family, read, exercise, or do something else that enhances the quality of your life. Look at your work activities and identify the tasks that you could delegate or eliminate to free up more time for the work that really counts.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Begin Today&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Begin today to practice creative procrastination practices that will free up more time for the more important things in life. Set posteriorities wherever and whenever you can. This decision alone can enable you to get your time and your life under control.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-7410276591503459586?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/7410276591503459586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/07/practice-creative-procrastination.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7410276591503459586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/7410276591503459586'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/07/practice-creative-procrastination.html' title='Practice Creative Procrastination'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-6731657847458396405</id><published>2009-07-18T15:45:00.000+08:00</published><updated>2010-01-24T17:42:11.314+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Motivational Leadership</title><content type='html'>&lt;div style="text-align: justify;"&gt;Motivational leadership is based on The Law of Indirect Effort. According to this law, most things in life are achieved more easily by indirect means than they are by direct means. You more easily become a leader to others by demonstrating that you have the qualities of leadership than you do by ordering others to follow your directions. Instead of trying to get people to emulate you, you concentrate on living a life that is so admirable that others want to be like you without your saying a word.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Most Powerful Motivational Leaders&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Perhaps the most powerful motivational leader is the person who practices what is called "servant leadership." Confucius said, "He who would be master must be servant of all." The person who sees himself or herself as a servant to others and who does everything possible to help them perform at their best is practicing the highest form of servant leadership.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Leader of Today&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Today's leaders are the ones who ask questions, listen carefully, plan diligently, and then build consensus among all those who are necessary for achieving the goals. The leader does not try to do it all alone. The leader gets things done by helping others do them.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Qualities of Leaders&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The following are important qualities of motivational leaders. These are qualities that you already have to a certain degree and that you can develop further to stand out from the people around you in a very short period of time.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Vision&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The first quality is vision. This is the only single quality that, more than anything separates leaders from followers. Leaders have vision. Followers do not. Leaders have the ability to stand back and see the big picture. Leaders have developed the ability to fix their eyes on the horizon and see greater possibilities.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Motivate Others&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The best way for you to motivate others is to be motivated yourself. The fastest way to get others excited about a project is to get excited yourself. The way to get others committed to achieving a goal or a result is to be totally committed yourself. The way to build loyalty to your organization, and to other people, is to be an example of loyalty in everything you say and do.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Ability to Choose&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;One requirement of leaders is the ability to choose an area of excellence. Just as a good general chooses the terrain on which to do battle, an excellent leader chooses the area in which he and others are going to do an outstanding job. The commitment to excellence is one of the most powerful of all motivators. All leaders who effect change in people and organizations are enthusiastic about achieving excellence in a particular area.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-6731657847458396405?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/6731657847458396405/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/07/motivational-leadership.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/6731657847458396405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/6731657847458396405'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/07/motivational-leadership.html' title='Motivational Leadership'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-9172455970988109826</id><published>2009-07-11T15:48:00.000+08:00</published><updated>2010-01-24T17:42:11.315+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Five Rules for Entrepreneurship</title><content type='html'>&lt;div style="text-align: justify;"&gt;Entrepreneurship is the art of finding profitable solutions to problems. Every successful entrepreneur or business person has been able to identify a problem and come up with a solution to it before someone else did. Here are the five rules for success.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1. Find a Need and Fill It&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Human needs and wants are unlimited. Therefore, the opportunities for entrepreneurship and financial success are unlimited as well. The only constraint on the business opportunities available to you are the limits you place on your own imagination.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2. Find a Problem and Solve It&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Wherever there is a widespread and unsolved customer problem, there is an opportunity for you to start and build a successful business.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Once upon a time, before photocopies, the only way to type multiple copies of a letter was with carbon paper places between sheets of stationary. But a single mistake would require the typist to go through and erase the mistakes on every single copy. This was enormously clumsy and time consuming.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Then a secretary working for small company in Minneapolis began mixing flour with nail varnish in order to white out the mistake she was making in her typing. Soon, people in other offices began asking for it. The demand became so great that she quit her job and began working full-time manufacturing what she called “Liquid Paper.” A few years later, the Gillette Corporation came along and bought her out for $47 million cash.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3. Unlimited Opportunities&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;There are problems everywhere. Your job is to find one of these problems and solve it better than it has been solved in the past. Find a problem that everyone has and see if you can't come up with a solution for it. Find a way to supply a product or service better, cheaper, faster, or easier. Use your imagination.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4. Focus on the Customer&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The key to success in business is to focus on the customer. Become obsessed with your customer. Become fixated on your customer's wants, needs, and desires. Think of your customer all the time. Think of what your customer is willing to pay for. Think about your customer's problems. See yourself as if you were working for your customer.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5. Bootstrap Your Way to Success&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Once you have come up with a problem or idea, resolve to invest your time, talent, and energy instead of your money to get started. Most great personal fortunes in the United States were started with an idea and with the sale of personal services.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Most great fortunes were started by people with no money, resources, or backing. They were started by individuals who came up with an idea and who then put their whole heart into producing a product or service that someone else would buy.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-9172455970988109826?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/9172455970988109826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/07/five-rules-for-entrepreneurship.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/9172455970988109826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/9172455970988109826'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/07/five-rules-for-entrepreneurship.html' title='Five Rules for Entrepreneurship'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-5291548673727815534</id><published>2009-07-06T21:12:00.000+08:00</published><updated>2009-12-18T03:07:26.905+08:00</updated><title type='text'>Dynamic Stat Graphs in Rails</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OMQMegzTDhE/Sng0YSasa6I/AAAAAAAAAFs/PCIVwq2W1Ps/s1600-h/ror_logo.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 110px; height: 140px;" src="http://4.bp.blogspot.com/_OMQMegzTDhE/Sng0YSasa6I/AAAAAAAAAFs/PCIVwq2W1Ps/s400/ror_logo.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5366096547877252002" /&gt;&lt;/a&gt;What started out as a ‘quick feature’ turned out to be a fun Ruby endeavor – below is a guide with some neat Ruby tricks to create dynamic stat graphs (sample above) with the help of Gruff library. In my visual database explorer article I talked about generating SVG graphs with the help of Scruffy. However, SVG is a nightmare when it comes to browser compatibility issues and inline support, hence in this instance we will settle for RMagick on the backend.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OMQMegzTDhE/Sng0uGSkwmI/AAAAAAAAAF0/eTNRYa2EYrg/s1600-h/rails-graph1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 151px;" src="http://3.bp.blogspot.com/_OMQMegzTDhE/Sng0uGSkwmI/AAAAAAAAAF0/eTNRYa2EYrg/s400/rails-graph1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5366096922579092066" /&gt;&lt;/a&gt;&lt;br /&gt;First off, if you haven’t already, take a look at the Gruff RDoc – there is a lot of features hidden under the covers! Assuming you have the gem and the plugin installed, let’s get right to it. First the code, then the explanations:&lt;br /&gt;&lt;script src="http://gist.github.com/161223.js"&gt;&lt;/script&gt;&lt;br /&gt;First few lines should be self-explanatory, we specify custom geometry, our theme colors, hide the title, and finally indicate the font we would like to use in the image. (Note: If RMagick complains about being unable to measure the font-sizes, make sure you have ‘freetype-fonts’ installed on your system) Next, is the SQL aggregation code, here we want to count the number of new users, votes and bookmarks on monthly basis:&lt;br /&gt;&lt;script src="http://gist.github.com/161224.js"&gt;&lt;/script&gt;&lt;br /&gt;There is one catch, if we have no new records in one of the intervals, than the count will be missing from the returned OrderedHash – we need to guard against this by injecting ‘0′ counts for the missing intervals:&lt;br /&gt;&lt;script src="http://gist.github.com/161225.js"&gt;&lt;/script&gt;&lt;br /&gt;Almost done. After assigning the x-axis labels we call send_data to stream the resulting PNG image directly to the browser. Now all we have to do is embed our image into a page, or call it directly:&lt;br /&gt;&lt;script src="http://gist.github.com/161227.js"&gt;&lt;/script&gt;&lt;br /&gt;After adding a quick CSS border and centering the image, you can feast your eyes on the latest trends of your paradigm-shifting application. For performance reasons, I would also recommend caching the action if you plan to display your results in a high-traffic area. For my personal use, I am only showing the trends in a private administration section (shown on the left) – I can afford to regenerate the image on every refresh. For more ideas and Ruby graphing tutorials take a look at: Visual Database Explorer and Dynamic Graphics in Rails 2.2.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OMQMegzTDhE/Sng2htB67GI/AAAAAAAAAF8/Iyjkwri32Xk/s1600-h/rails-graph2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 343px; height: 400px;" src="http://3.bp.blogspot.com/_OMQMegzTDhE/Sng2htB67GI/AAAAAAAAAF8/Iyjkwri32Xk/s400/rails-graph2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5366098908663180386" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-5291548673727815534?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/5291548673727815534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/07/dynamic-stat-graphs-in-rails.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/5291548673727815534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/5291548673727815534'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/07/dynamic-stat-graphs-in-rails.html' title='Dynamic Stat Graphs in Rails'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OMQMegzTDhE/Sng0YSasa6I/AAAAAAAAAFs/PCIVwq2W1Ps/s72-c/ror_logo.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4559748938443068796</id><published>2009-07-04T15:51:00.000+08:00</published><updated>2010-01-24T17:42:11.315+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>The Law of Reciprocity</title><content type='html'>&lt;div style="text-align: justify;"&gt;People have a deep subconscious need to reciprocate for anything that is done to or for them. The Law of Reciprocity is one of the most powerful of all determinants of human behavior. This is because nobody likes to feel that he or she is obligated to someone else. When someone does something nice for us, we want to repay that person, to reciprocate. We want to be even. Because of this, we seek an opportunity to do something nice in return. This law is the basis of the law of contract, as well as the glue that hold most human relationships together.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Concessions&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The first party to make a concession is the party who wants the deal the most. You must therefore avoid being the first one to make a concession, even a small concession. Instead, be friendly and interested, but remain silent. The first person to make a concession will usually be the person who makes additional concessions, even without reciprocal concessions. Most purchasers and sellers are aware of this. They recognize that early concessions are a sign of eagerness and are prepared to take advantage of it. Be careful.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Equal or Greater&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Every concession you make in a negotiation should be matched by an equal or greater concession from the other party. If the other party asks for a concession, you may give it, but never without asking for something else in return. If you don't request a reciprocal concession, the concession that you give will be considered to have no value and will not help as the negotiation proceeds. If a person asks for a better price, suggest that it might be possible but you will have to either decrease the quantity or lengthen the delivery dates. Even if the concession is of no cost or value to you, you must make it appear valuable and important to the other party or it will not help you in the negotiation.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Small Concessions lead to Large Concessions&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Small concessions on small issues enable you to ask for large concessions on large issues. One of the very best negotiating strategies is to be willing to give something in order to get something. When you make every effort to appear reasonable by conceding on issues that are unimportant to you, you put yourself in an excellent position to request an equal or greater concession later.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Use Reciprocity to your Advantage&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Use the reciprocity principle to your advantage. Before negotiating make a list of the things the other party might want and decide upon what concessions you are willing to give to get what you want. This preparation strengthens your negotiating ability considerably.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4559748938443068796?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4559748938443068796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/07/law-of-reciprocity.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4559748938443068796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4559748938443068796'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/07/law-of-reciprocity.html' title='The Law of Reciprocity'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4313551327235781148</id><published>2009-06-27T15:58:00.000+08:00</published><updated>2010-01-24T17:42:11.316+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Competition Brings Out The Best</title><content type='html'>&lt;div style="text-align: justify;"&gt;In a free market society like the U.S., there is a continuous competition for talent and skill. Every business knows that the critical constraint on its ability to grow is competent to people who can get results. Like cream rising to the top, people who can do a good job are hired sooner, paid more, and promoted faster. People who are not competent or motivated are not. No laws can change this. They can only mask it temporarily.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Compassion or Condescension&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Compassion can quickly become condescension. Minority groups can become victims of what President George Bush called “the soft bigotry of reduced expectations.” People begin to judge them by lower standards and expect less of them in comparison with others. This is completely unacceptable in America. The way to bring the best out of people is by challenging them-by setting high standards, by demanding their “best game.”&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A System Gone Astray&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The U.S. education system, once the best in the world (and still the best at the University level), has become a tragedy and a trap for more young people caught in it and unable to escape. In 1947, 97 percent of Americans were literate, reading several books a year, and often each month. By 2004, fully 47 percent of Americans could not read above the seventh grade level. People who have not mastered the three R's by the time they leave school are destined to lifetimes of low income, under achievement, and wasted potential.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Failing Schools&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Today, African American students test at four grade levels below white and Asian students in the same schools. Even worse, they are not allowed to escape their failing schools, especially in the inner cities. They are trapped into lifetimes of below-average incomes, insecurity, and eventually envy, resentment, and feelings of victim-hood.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Enter the Unions&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The first teachers union was formed in the 1950's. In a few years, driven by expediency, the focus of teaching shifted from student achievement to teacher pay and benefits. As Albert Schanker, head of the American Teachers Federation, once said, “When the children start paying union dues, then we'll start caring about the children. ”&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Competition is Key&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The Economist magazine wrote on June 11, 2005, “The schools the poorest Americans attend have been getting worse rather than better.” This is partly a problem of resources, to be sure. But it is even more a problem of bad ideas. One poll of 900 professors of education found that 64 percent of them thought that schools should avoid competition. The only way to reverse the educational system is to change the structure of incentives in such a way that academic excellence is pursued and rewarded. Without competition, there is no motivation to improve.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4313551327235781148?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4313551327235781148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/06/competition-brings-out-best.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4313551327235781148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4313551327235781148'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/06/competition-brings-out-best.html' title='Competition Brings Out The Best'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-252915237727562247</id><published>2009-06-20T16:01:00.000+08:00</published><updated>2010-01-24T17:42:11.317+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Sales and Marketing Profitability</title><content type='html'>&lt;div style="text-align: justify;"&gt;Do you know the return on your sales and marketing expenditures? It is not unusual for companies to spend 25 to 35 percent of their revenues on sales and marketing, yet often they don't know the actual return on these initiatives. Before adopting a new marketing initiative, determine how you will measure, not only its impact on sales, but on profits as well. What is an acceptable rate of return? How will you measure the return? Establish a monitoring system whereby you can gauge the efficacy of the program throughout its implementation.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Product Profitability&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Every product yields a specific profit of a specific amount. When you offer more than one product, each will have its own profit margin. One of the most important things you can do is to determine the return on the investment you have put into each of your products.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Marathon and Associates&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Marathon and Associates, a niche consulting firm, receives enormous fees from Fortune 1000 companies to determine the exact cost of each of their products. This enables their clients to make product-offering decisions based on the profitability of each product, rather than simply relying on gross revenue figures. In today's highly competitive business climate, such an approach is critical in ensuring their overall profitability and even their survival. This is no less true of your own business or organization. Eliminating just one losing product can make the difference between robust growth and mediocre performance or even the demise of your business.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Product Mix&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Examine your own product mix. In addition to the normal “cost of goods,” you must include all expense incurred in delivering the finished product to the consumer, including research and development, promotion, associated sales and marketing costs, installation, customer service, product service, returns, proportionate share of general and administrative costs (overhead), and so on. Again, be sure to include the cost of your own time; apply your hourly rate to the amount of time you invest in the development, design, creation/manufacture, sale, and servicing of each product.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Break Down Costs Accurately&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Many individuals and businesses lump all their expenses together and then guess at how much is attributable to each product. Your job is to break down so accurately that you know within a few dollars exactly how much you net from the sale of each product. When you have completed your costing analysis, simply deduct the actual cost of developing, selling, and delivering each product from the price to determine its profitability. Which products yield the highest return? The lowest? Do any actually lose money?&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Market Profitability&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If you sell into more than one market, the same principle applies. Some markets will be more profitable than others. When dealing in foreign markets, for example, you may incur much higher advertising and marketing costs. Conversely, your manufacturing costs might be significantly lower. If you export your products into foreign countries, import duties or tariffs may apply. At times, unexpected costs in dealing in new markets may make the difference between a profitable venture and a financial disaster.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-252915237727562247?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/252915237727562247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/06/sales-and-marketing-profitability.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/252915237727562247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/252915237727562247'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/06/sales-and-marketing-profitability.html' title='Sales and Marketing Profitability'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-6824180346648832307</id><published>2009-06-13T16:03:00.000+08:00</published><updated>2010-01-24T17:42:11.317+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Create Your Personal Brand</title><content type='html'>&lt;div style="text-align: justify;"&gt;Just as surely as building a powerful brand is the key to differentiating a product in the marketplace and thus building a successful business, so creating a strong personal brand is the key to differentiating yourself from your competitors, thereby ensuring your own success as well as that of your business. Your personal brand determines how people respond to you, whether they listen to you, buy from you, how much they buy, what they are willing to pay, and so on.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Promises You Make&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Your personal brand makes a promise: “If you buy from me, you will receive a specific value in return.” This promised value will be born from the values, virtues, qualities, and attributes by which you become known. For example, you may want to create a personal image—a brand—of a person who always operates at a high level of integrity, consistently walks the talk, is an exemplary leader, and goes the extra mile to ensure customer satisfaction. Who is your ideal customer? What values, virtues, qualities, and attributes will he be looking for in a supplier of your product? Do you match this profile? If not, do you have a burning desire to be this kind of person? These are the key questions you must ask yourself when beginning to build your personal brand.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Promises You Keep&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Unmet expectations are the arch enemy of any relationship. This is no less true in the relationship between you and your customers. Your brand as a person is determined in large part by whether you consistently deliver on your promises. Do you keep your word? Do you follow up? Do your words and actions match with the image you want to create—that is, with the values, virtues, qualities, and attributes you claim as your own? Constantly examine your behavior. When you slip, resolve to get back on track. To build and sustain a powerful personal brand, your message must be an accurate reflection on you, the messenger.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Whole Package&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Pay close attention to your entire image. Of course, your character is of paramount importance. But you make an impact on people in other ways as well. Your appearance—the clothes you wear, your personal grooming, your posture—has an enormous emotional impact on how other people see you, think about you, and relate to you. Your attitude is vital. If you are genuinely pleasant and cheerful in your interaction with others, they will enjoy being with you. They will be more inclined to trust you and do business with you.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Overall Behavior&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Your overall behavior strongly influences the impressions others have on you. Be punctual for meetings and appointments. Be absolutely reliable, always keeping your word and your commitments. Should you fail in this area, communicate with the other person as quickly as possible, offering your apology, explanation, and assurance that it will not happen again. Pay close attention to the quality of your work. In the long run, there is nothing that will so determine your success in building and sustaining a powerful personal brand as turning out high-quality work, over and over again, and over a long period of time.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-6824180346648832307?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/6824180346648832307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/06/create-your-personal-brand.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/6824180346648832307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/6824180346648832307'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/06/create-your-personal-brand.html' title='Create Your Personal Brand'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-8236386628187340277</id><published>2009-06-06T16:05:00.000+08:00</published><updated>2010-01-24T17:42:11.318+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>The Law of Timing</title><content type='html'>&lt;div style="text-align: justify;"&gt;Timing is everything in negotiation. A negotiation can be made or unmade by the time at which it takes place. There is a "too soon" and a "too late" in every situation. Whenever possible, you must plan strategically and use the timing of the negotiation to your advantage. There is a better time to buy and a better time to sell in almost every case. And when your timing is right, you will always get a better deal than when it is not.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The More Urgent the Need, the Less Effective the Negotiator&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;If you are in a hurry to close a deal, your ability to negotiate well on your own behalf diminishes dramatically. If the other person is eager to make the deal, he or she is functioning under a disadvantage that you can exploit to your advantage. For example, every company has sales targets for each month, each quarter, and each year. Sales managers are tasked with hitting incomes, and their bonuses. Therefore when you are buying any large ticket item, you will almost always get the best deal if you wait until the end of the month when the pressure is on to hit the targets.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Don't Rush&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The person who allows himself or herself to be rushed will get the worst of the bargain. Rushing or using time pressure is a common tactic in negotiation, and you must be alert to other people trying to use it on you. People will often tell you that you have to make up your mind quickly or it will be too late. Whenever you hear this, you should take a deep breath and patiently ask questions to find out just how urgent the situation really is. If someone insists that he or she needs an immediate decision, you can reply by saying, "If you must have an answer now, then the answer is no. But if I can take some time to think about it, the answer may be different."&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Allocate your Time&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You resolve 80 percent of the vital issues of any negotiation in the last 20 percent of the time allocated for the negotiation. Probably because of the prevalence of Parkinson's Law, which says, "Work expands to fill the time allotted for it," most of the key issues in a negotiation get jammed into the final phase of the discussions. Up to this part of the negotiation, there seems to be a natural human tendency to procrastinate on the resolution of the most important issues. What this means for you is that you must be patient in a negotiation. You must be prepared for the key issues to be resolved at the last minute.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Final Point&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;A final point with regard to timing. Whenever possible, you should delay making an important decision. At the very least, don't allow the other person or persons to rush you into a decision by suggesting that if you don't act now, it will be too late. Whenever the item under negotiation involves a great deal of money, a long life of a product, or long duration of the decision, or it is the first time that you negotiated in this area, buy time for yourself. Take at least twenty-four hours, if not an entire weekend, to think over your decision before acting. Use time as a weapon to strengthen your position and to improve your ability to make better decisions.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-8236386628187340277?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/8236386628187340277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/06/law-of-timing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8236386628187340277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8236386628187340277'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/06/law-of-timing.html' title='The Law of Timing'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-5745634318908304329</id><published>2009-06-05T17:19:00.000+08:00</published><updated>2010-01-24T14:28:28.632+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Safari Bookshelf'/><title type='text'>Deploying Rails Applications: A Step-by-Step Guide</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OMQMegzTDhE/Snf921zJqkI/AAAAAAAAAFU/yXwdvSArZ4o/s1600-h/Deploying+Rails+Applications.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 400px;" src="http://2.bp.blogspot.com/_OMQMegzTDhE/Snf921zJqkI/AAAAAAAAAFU/yXwdvSArZ4o/s400/Deploying+Rails+Applications.jpg" alt="" id="BLOGGER_PHOTO_ID_5366036599631620674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Deploying Rails Applications: A Step-by-Step Guide&lt;/span&gt;&lt;br /&gt;Author: Ezra Zygmuntowicz, Bruce Tate, Clinton Begin&lt;br /&gt;ISBN-10: 0978739205&lt;br /&gt;ISBN-13: 978-0978739201&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Book Description&lt;/span&gt;&lt;br /&gt;First you'll learn how to build out your shared, virtual, or dedicated host. Then, you'll see how to build your applications for production and deploy them with one step, every time. Deploying Rails Applications will take you from a simple shared host through a highly scalable clustered and balanced setup with Nginx.&lt;br /&gt;&lt;br /&gt;See how to tell whether you've bought enough firepower, and learn how to optimize your Rails projects applications in a systemic, rational way. Take advantage of advanced caching techniques, and become and expert with the latest servers in Nginx and Mongrel. Don't worry. You'll get a dose of Apache too.&lt;br /&gt;&lt;br /&gt;Not only will you learn how to configure your production environment, you'll also see how to monitor it with free, automated tools that can restart your servers when the memory use gets too high for comfort. You'll see how to take a performance baseline, profile for bottlenecks, and solve the most common performance problems you're likely to see.&lt;br /&gt;&lt;br /&gt;You'll learn:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Everything from source control and migrations to Capistrano, rake tasks and beyond.&lt;/li&gt;&lt;li&gt;Directly from authors who run EngineYard, one of the best Rails hosts in the business.&lt;/li&gt;&lt;li&gt;How to deploy your applications to multiple production servers with a single command using Capistrano.&lt;/li&gt;&lt;li&gt;How to setup a Rails/Nginx/Mongrel cluster for applications with high scalabilty needs.&lt;/li&gt;&lt;li&gt;...and more!&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Download Mirror&lt;/span&gt;&lt;br /&gt;&lt;a href="http://.../"&gt;http://...&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-5745634318908304329?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/5745634318908304329/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/06/deploying-rails-applications-step-by.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/5745634318908304329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/5745634318908304329'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/06/deploying-rails-applications-step-by.html' title='Deploying Rails Applications: A Step-by-Step Guide'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OMQMegzTDhE/Snf921zJqkI/AAAAAAAAAFU/yXwdvSArZ4o/s72-c/Deploying+Rails+Applications.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-5484460071166564700</id><published>2009-05-31T14:38:00.000+08:00</published><updated>2010-01-24T17:45:17.739+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Open Source Software'/><title type='text'>OpenOffice.org Draw does DFDs</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OMQMegzTDhE/SnfyJQzGoNI/AAAAAAAAAE0/ygXzChwSIeA/s1600-h/Cube-open-Draw.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 128px; height: 128px;" src="http://1.bp.blogspot.com/_OMQMegzTDhE/SnfyJQzGoNI/AAAAAAAAAE0/ygXzChwSIeA/s400/Cube-open-Draw.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5366023721977290962" /&gt;&lt;/a&gt;I've been rather pleased to find out that I can use OpenOffice.org's Drawing module to generate DFDs (Data Flow Diagram)? the data model I use for planning web applications? I'd thought it didn't have this functionality, or at least that it wasn't very well implemented. After digging around a bit I find that it does, and actually somewhat better than Excel 97 did. The only problem I can see is that oval shapes only have 4 connectors points when I could really do with the 8 that Excel had. However, the ability to add labels to connector lines is a big bonus and being able to export direct to PNG, GIF, PDF and SWF (to name 4 of the 20 formats available) is brilliant. The drawing module is rock solid stable and very smooth to use, also an A2-sized version of the rather complex DFD shown below is only 25KB in size!&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center; font-weight: bold;"&gt;OpenOffice.org DFD Example&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OMQMegzTDhE/SnfX8zTp7hI/AAAAAAAAAEc/UHF78oQob1k/s1600-h/openoffice_draw_dfd.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 282px; height: 400px;" src="http://2.bp.blogspot.com/_OMQMegzTDhE/SnfX8zTp7hI/AAAAAAAAAEc/UHF78oQob1k/s400/openoffice_draw_dfd.png" alt="" id="BLOGGER_PHOTO_ID_5365994920600006162" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-5484460071166564700?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/5484460071166564700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/05/openofficeorg-draw-does-dfds.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/5484460071166564700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/5484460071166564700'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/05/openofficeorg-draw-does-dfds.html' title='OpenOffice.org Draw does DFDs'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OMQMegzTDhE/SnfyJQzGoNI/AAAAAAAAAE0/ygXzChwSIeA/s72-c/Cube-open-Draw.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-8644306407742327284</id><published>2009-05-30T16:15:00.000+08:00</published><updated>2010-01-24T17:42:11.319+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>The Parthenon Principle</title><content type='html'>&lt;div style="text-align: justify;"&gt;During the Persian War, the building on the Acropolis of Athens was burned by the invading Persian forces. Following the war, which ended in 479 b.c., the Athenians began rebuilding their city, which culminated in the construction of the Parthenon, the greatest of all Greek temples of the Classical Age. Dedicated to Athena, goddess of wisdom and patron deity of the city of Athens, the Parthenon stood more or less intact for some 2,000 years until the middle of the seventeenth century, when it was partly destroyed in a war between the Turks and the Venetians.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Metaphor&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The career or business you are building is as important to you as was the Parthenon to the Greeks. It took many years of painstaking planning and excruciatingly hard work to affect this magnificent temple. The same is true of your own business. A level of commitment that was quite extraordinary was essential to the ultimate success of the Athenians' undertaking. No less is required of you. Like the Parthenon, your career or business is also supported by pillars, each of which is central to its integrity and its survival. The Parthenon was "built to last." So too, your career or business must be based on rock-solid principles.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Principle&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Imagine the result of a small increase in the strength of each of the supporting pillars of the Parthenon. As each is strengthened, it will affect the robustness—the durability—of the structure. Clearly, a small change in each pillar will give rise to a large change in the overall structure. The same is true of your career or business. This gives rise to what we call the Parthenon Principle.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Incremental Changes&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Consider the human body. It has several systems—pillars, if you will—each of which supports the body. Improve one and the overall health of the person improves. Improve them all by just a small amount and the individual will experience a significant increase in health, energy, and vitality. Similarly, your business or organization consists of several foundational systems, all of which are interrelated. In our coaching program, we consider seven core systems or pillars: sales, services, pricing, promotion, referrals, productivity, and profitability (i.e. cost controls). As with the human body, an improvement in any of these systems will lead to an improvement in the overall health of the organization or your business.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-8644306407742327284?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/8644306407742327284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/05/parthenon-principle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8644306407742327284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8644306407742327284'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/05/parthenon-principle.html' title='The Parthenon Principle'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-4174040037984666431</id><published>2009-05-23T16:17:00.000+08:00</published><updated>2010-01-24T17:42:11.319+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>7 Disciplines for High Performance</title><content type='html'>&lt;div style="text-align: justify;"&gt;There are seven disciplines you must develop if you want to achieve all that is possible for you. You can learn these disciplines through practice and repetition until they become automatic.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Goal Setting&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Every morning, take three to five minutes to write out your top goals in the present tense. Get a spiral notebook for this purpose. By writing out your ten goals at the beginning of each day, you will program them deep into your subconscious mind.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This daily goal writing will activate your mental powers. It will stimulate your mind and make you more alert. Throughout the day, you will see opportunities and possibilities to move more rapidly toward your goals.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Planning and Organizing&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Take a few minutes, preferably the night before, to plan out every activity of the coming day. Always work from a list. Always think on paper. This is one of the most powerful and important disciplines of all for high performance.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Priority Setting&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The essence of all time management, personal management, and life management is contained in your ability to set the proper priorities on the use of your time. This is essential for high performance.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Concentration on your Highest-Value Activities&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Your ability to work single-mindedly on your most important task will contribute as much to your success as any other discipline you can develop.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Exercise and Proper Nutrition&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Your health is more important than anything else. By disciplining yourself to exercise regularly and to eat carefully, you will promote the highest possible levels of health and fitness throughout your life.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Learning and Growth&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Your mind is like a muscle. If you don't use it, you lose it. Continuous learning is the minimum requirement for success in any field.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Time for Important People in your Life&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Relationships are everything. Be sure that in climbing the ladder of success, you do not find it leaning against the wrong building. Build time for your relationships into every day, no matter how busy you get.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-4174040037984666431?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/4174040037984666431/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/05/7-disciplines-for-high-performance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4174040037984666431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/4174040037984666431'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/05/7-disciplines-for-high-performance.html' title='7 Disciplines for High Performance'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-8291313910291028618</id><published>2009-05-16T16:19:00.000+08:00</published><updated>2010-01-24T17:42:11.320+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Five Qualities of Top Teams</title><content type='html'>&lt;div style="text-align: justify;"&gt;Over the years, exhaustive research has been done on top teams. There seem to be given characteristics or qualities of peak-performance teams that you can incorporate into your own business. Here they are:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Shared Goals and Objectives&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In a smoothly functioning team, everyone is clear about what the team is expected to accomplish. The goals of the team are shared and discussed by everyone. Each team member gives his or her ideas and input into how the goals and objectives can be best achieved. Each person feels like a part of a larger organization.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Shared Values and Principles&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In excellent teams, there is regular discussion about the values, principles, and behaviors that guide the decisions of the team. The leader encourages values such as honesty, openness, punctuality, responsibility for completing assignments, quality work, and so on. Everyone discusses and agrees on what they are.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Shared Plans of Action&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In this phase of team building, you go around the table and have each member of the team explain exactly what part of the work he or she is going to accept responsibility for completing. At the end of this discussion, each member knows what every other member is going to be doing and how his or her own work fits in with the work of the team.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Lead the Action&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;There must always be a clear boss or leader in any organization. Democracy is a fine concept, but it goes only so far in business. Someone must be in command and take charge. And that someone is probably you. On a good team, everyone knows who is in charge. The leader sets an example for the others. The leader becomes the role model.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Continuous Review and Evaluation&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In this final phase, the team regularly evaluates its progress from two perspectives. First, is the team getting the results that are expected by its customers or other in the company? In dealing with customers, does the team set up mechanisms to continually ask customers, "how are we doing?"&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Bringing the Team Together&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;One of the most important things you do in building a peak performance organization is to hold regular staff meetings. Bring your people together weekly, at a fixed time, to talk, discuss, catch up on progress, learn how the company is doing, and generally share ideas, opinions, and insights.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-8291313910291028618?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/8291313910291028618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/05/five-qualities-of-top-teams.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8291313910291028618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8291313910291028618'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/05/five-qualities-of-top-teams.html' title='Five Qualities of Top Teams'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-8245037765367618859</id><published>2009-05-09T16:21:00.000+08:00</published><updated>2010-01-24T17:42:11.321+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Money as a Motivator of Behavior</title><content type='html'>&lt;div style="text-align: justify;"&gt;It has been said that, “Money may not be the most important thing, but it's way up there with oxygen.” The fastest and easiest way to get the things you want as quickly as possible is almost always to have enough money to be able to buy them, whatever they cost. For this reason, the desire to acquire money, quickly and easily, and as much as possible, is a major motivator of human behavior. But it is not usually money that people really want.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Freedom&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Sometimes I will ask my clients why they want to acquire a lot of money. After thinking about their answer for a couple of minutes, they finally conclude that what they want more than anything else is “freedom.” In reality, they see money as a means to achieving the freedom they really desire. They define freedom as having enough money so they can get everything they want. Having enough money will enable them to be completely free from worry about safety, security, leisure, love, respect and fulfillment. They see having lots of money as the fastest way to a good life.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Ten Million Dollars&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In our Advanced Coaching and Mentoring Program, we do an exercise in Values Clarification. When everyone is seated, we hand out individual checks made out to each person in the amount of $10 million dollars. Of course, the checks are not cashable, but the idea of receiving $10 million dollars cash gives people an opportunity to fantasize about what they really want in their lives. We then have participants break into groups, discuss what they would do if they suddenly received $10 million, and then report back to the group. We go around the room and write down their answers on a white board or flip chart. Here is the most amazing discovery: almost everything that our clients would want to do, have, or acquire, does not cost any money!&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Lust for Power&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The desire for power is one of the most destructive forces in the world today, and always has been. If the fastest and easiest way to get all the things you want is to have all the money you need, it then follows that the fastest and easiest way to get the money you need is to acquire power over people and resources, both in business and at the political level. Power can be defined as “the ability to control or influence money, people and resources.” It is the ability to force people to do what you want them to do, whether or not it is consistent with their own personal desires.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Money and Power Together&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Money starts out as the motivation for an expedient person to fulfill his needs, for himself and his family. It can soon become an end in itself. Once a person has enough money so that he no longer worries about money, it becomes a form of measurement, a scorecard that he uses to compare himself against others. Megalomaniacs and dictators often become obsessed with power, to the exclusion of all other considerations. By the same token, many men in business become preoccupied with money, to the exclusion of other things, especially their families.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;How Power is Acquired&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;There are different ways that power is acquired in our society. In business, power is acquired by getting results, by making decisions that lead to incremental gain in revenues and profits. The most powerful people in the business world are those with the best reputation for achieving financial goals in their areas of responsibility.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-8245037765367618859?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/8245037765367618859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/05/money-as-motivator-of-behavior.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8245037765367618859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/8245037765367618859'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/05/money-as-motivator-of-behavior.html' title='Money as a Motivator of Behavior'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1949422041773277478.post-1363720613055369549</id><published>2009-05-02T16:23:00.000+08:00</published><updated>2010-01-24T17:42:11.321+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Success Encyclopedia'/><title type='text'>Ensuring Success at Work</title><content type='html'>&lt;div style="text-align: justify;"&gt;The very best times you will ever have at any job or company are when you are getting along wonderfully well with your boss. On the other hand, the very worst times you will ever have at any job are when you are not getting along well with your boss. And the major reason why employees have problems with their bosses is because of a lack of clarity about what exactly is to be done, and to what standard, and in what order of priority.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;It is important to your boss that you are making the appropriate decisions for the company and completing your job. In order to make decisions effectively, you must know the three types of decisions.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Three Types of Decisions&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;There are three types of decisions in any organization or family. When decisions involve other people, it is important that everyone is clear about what kind of a decision is under consideration.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Command Decisions&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;These decisions have to be made by the boss or the person in charge. These decisions are so important that one person is solely responsible for making up his mind about what is to be done.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Hiring a key staff member, firing a poor performer, making an important investment decision, or even negotiating a new loan with the bank are all command decisions. They must be made by the person in charge.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Consultative Decisions&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This is a decision where you, or the boss, ask for advice and take input from other people. You combine the opinions, ideas, and inputs of others, together with your own, and make a decision. Even though it invites the advice and participation of others, a consultative decision is not made based on that advice.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You may be thinking of hiring a new person, assigning someone a particular task, spending a certain amount of money on a business activity, or embarking on a new sales or marketing campaign. If you are the boss, you can ask for advice from everyone before you finally close the door and make your final decision.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Consensus Decisions&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The third type of decision is one that is made on the basis of consensus. This is a democratic decision where everyone gets involved, discusses the pros and cons, and then agrees on what is to be done.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Sometimes, everyone is in agreement, and sometimes the decision is made by a democratic vote, where the majority rules. Once the decision has been made, everyone commits to making the decision successful, however they may have voted during the discussion phase.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1949422041773277478-1363720613055369549?l=jinkang-cheng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jinkang-cheng.blogspot.com/feeds/1363720613055369549/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/05/ensuring-success-at-work.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1363720613055369549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1949422041773277478/posts/default/1363720613055369549'/><link rel='alternate' type='text/html' href='http://jinkang-cheng.blogspot.com/2009/05/ensuring-success-at-work.html' title='Ensuring Success at Work'/><author><name>Jin-Kang Cheng</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
