Thursday, December 29, 2011
Wednesday, December 28, 2011
Tuesday, December 27, 2011
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
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
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
Subscribe to:
Posts (Atom)