Thursday, December 29, 2011

第三餐


是不是觉得我的晚餐在退步?没错,因为懒惰虫本性又发挥了

这是什么玩意?就是姜汁紫菜蛋散粥,为什么不是蛋花?你有看到蛋吗?都散完了,不是蛋散,是什么?

Wednesday, December 28, 2011

阿亮不在的第二顿晚餐


因为贪心,想要喝多点汤,加太多水了,只好加多些盐和酒,没加味精,所以还是淡了些,再加多些麻油好了。。。

因为要拿鸡肉沾洋葱,就顺手炒了洋葱蛋, 蛋好象过期了,但我敲开它,没臭,照吃。。。

这餐煮得好像蛮胡闹的。。。不管啦。。。嘻嘻

Tuesday, December 27, 2011

小三的大餐


最近我家小三生病了,长满了一粒粒的不明体,颜色也淡了,别的鱼却好好的。

上网找,还是不知道原因,却看到某个论坛发的黄吊照片,颜色和小三一样。有人说那是营养不足,建议喂紫菜或黄芽白。

所以就买了黄芽白,请小三吃。谁知小三却不领情,它情愿吃墙壁的红藻。。。那片菜,只吸引了我家好管闲事的医生。医生呀医生,你应该去医小三啦,别在它的食物上徘徊了

Homemade chicken rice


好好吃哦,忍不住加饭,把一杯多的饭吃了下去,原本想留明天炒饭的说。。。

真的好好吃,早知另一个也拿来这样煮,不用紧,明天有我爱吃的姜汤,不知会不会失水准?

奇怪喔,为什么一个人吃时,就不会失水准?难道注定我要独食?难怪我不会肥,嘻嘻




  • 原料:鸡
  • 调味料:油一汤匙、老抽一汤匙、生抽一汤匙、盐适量、糖少许、黄酒一瓶盖。
  • 配料:葱段、姜片。


  1. 鸡放在盘上,将调味料也倒入;
  2. 插电等电饭锅跳制,保温焗 10 分钟就可以开锅盖了;
  3. 大功告成!!

Tuesday, December 6, 2011

import csv

controller
 function import($merchant_id){  
      if(!empty($this->data['Product']['excel']['tmp_name'])){  
           $row = 1;  
           if (($handle = fopen($this->data['Product']['excel']['tmp_name'], "r")) !== FALSE) {  
                while (($data = fgetcsv($handle, 1000, "^")) !== FALSE && $row<30) {  
                     //process and save data  
                     $product['Product']['name']=$data[0];  
                     $product['Product']['description']=$data[2];  
                     $product['Product']['merchant_id']=$merchant_id;  
                     $product['Product']['price']=$data[3];  
                     $product['Product']['weight']=$data[4];  
                     $product['Product']['status']=1;  
                     $this->Product->create();  
                     $this->Product->save($product,false);     
                }  
                $row++;  
           }  
           fclose($handle);  
      }  
 }  

Friday, December 2, 2011

Chinese input in Ubuntu


In terminal:
$ sudo apt-get install scim-qtimm im-switch scim-pinyin
$ im-switch -z en_US -s scim

You must restart your X window (log out, then log in) to take effect.

You can press "Ctrl+blank" to switch between English and Chinese input mode now in all applications. 


Refer: https://help.ubuntu.com/community/SCIM/Chinese

Bank Promotion


AmBank :

Go to the Bank Promotion Page
Go to the Bank Promotion Page

BSN
Go to the Bank Promotion Page


CIMB

Go to the Bank Promotion Page


Citibank

Go to the Bank Promotion Page


Hongleong
Go to the Bank Promotion Page

HSBC
Go to the Bank Promotion Page

Maybank
Go to the Bank Promotion Page

Public Bank
Go to the Bank Promotion Page

RHB
Go to the Bank Promotion Page

Standard Chartered
Go to the Bank Promotion Page

UOB
Go to the Bank Promotion Page

Thursday, December 1, 2011

ColorNote

A good app for checklist and note

The main reason I choose it:
- simple and easy
- the checklist  is really checklist, it will strike through the item but not delete or hide it
- can sort the checklist easily
- fun to see the colorful widget on my screen


Further detail:https://market.android.com/details?id=com.socialnmobile.dictapps.notepad.color.note&feature=related_apps

Cash Droid

Agood app for money management

REAL recurring transactions. Something that not only simply recalls the payments, but also allows you to plan incomes and expenses, and forecast your financial situation. The program also includes these transactions in reports and budgets.

ADVANCED, interactive reports. It is possible to analyze any data, broken down into categories, projects, payees, currency, etc. Each item of the report can be further analyzed drill down it on the other ingredients, make a monthly analysis, or simply view the transactions made up for it.

SAFE data backup. Automatically created as often as you want. The program will take care about the safety of your data. Additionally, data can be password protected.

FULL support for multiple currencies. The program always show you the sum value of your assets, taking into account the most recent exchange rate. The reports always show the real value in your default currency, regardless of transaction currency. Information broken down by currency is an option, not a limitation.

Other examples of functions:
- mechanism of budgets,
- split transactions included in all program function,
- suggests a categories based on previously transactions (based on the payee or memo),
- account balance allows to predict your financial situation,
- securing access to the program with to unlock pattern,
- mechanism to reconcile accounts,
- import / export in QIF format,
- and many, many others.

The main reason i choose it:
- support multi account and the "transfer" transaction type is available
- security
- categorization of transaction
- variety of reports


Tips:
- configure the preference for security(unlock pattern) and convenience (such as default currency)
- to update or delete item(account or transaction), touch the item for a while, and a action list will be prompt.
- delete all data by go Database->Erase data


Further details:
https://market.android.com/details?id=com.financial.cashdroid.ads