Saturday, November 17, 2012

Wednesday, November 7, 2012

購買 LOCK& LOCK Living Box 粉彩摺疊收納箱

樂扣樂扣 Living Box 粉彩摺疊收納箱的特價優惠資訊,購買 33 公升收納箱的最便宜價格是 momo 富邦購物網,平均一個收納箱可低於 300 元。

momo 富邦購物網:【樂扣樂扣】Living Box粉彩摺疊收納箱33公升(2入組),平時促銷價 699 元或 850 元,優惠整理如下。

1) 促銷價 699 元,若搭配 85 折活動(例如「11/22-11/23 傢寢婦幼、生活用品、食品結帳再打85折」或「11/27-11/30拼有感!全館結帳再打85折」),折抵 104 元,一組2入即為 595 元,平均一個收納箱 297.5 元

2) 促銷價 699 元。若搭配「12H速達滿額現折」活動,滿 800 元現折 100元(或類似滿額現折活動),購買兩組(4入) 可折抵 100 元,共 1298 元(即 699 * 2 - 100),一組2入即為 649 元(即每組折抵 50 元),平均一個收納箱 325 元

3) 促銷價 850 元,搭配 2012/11/05 ~ 11/10 的「超級周年慶-限時79折[樂扣樂扣]第1件,即21%回饋」活動,折抵 178 元,一組2入即為 672 元,平均一個收納箱 336 元


Tuesday, October 9, 2012

2012 百貨週年慶 - UNIQLO 活動

UNIQLO 首度推出10月份品牌週年慶,配合全台百貨週年慶,各家週年慶「前5日滿2千9折」優惠。

配合中友百貨的中友購物節(2012/9/27 ~ 10/15),於首 5 日(9/27 ~ 10/1) 購物滿 NT$2000,即享 10% OFF。不參加全館滿 3000 元送 300 購物券活動。

配合新光三越台中中港店週年慶(2012/10/4 ~ 10/17),於首 5 日(10/4 ~ 10/8) 購物滿 NT$2000,即享 10% OFF。不參加全館滿 5000 元送 500 週年慶商品券活動,可參加全館好禮集點送活動。

Sunday, August 5, 2012

美國運通卡(American Express)

美國運通信用白金卡(credit card)

申辦
年費為新臺幣 8,000 元 (含1張主卡及至多4張附屬卡)。成功核卡後三個月內,不限金額刷卡一次並繳交年費後可獲贈刷卡禮 20,000 分美國運通「會員酬賓」積分(可兌換相當於「亞洲萬里通」台北 <-> 大阪/首爾經濟艙來回獎勵機票乙張)。參考 http://www.americanexpress.com/taiwan/pdfs/platinum_credit.pdf

國泰航空及港龍航空獎勵機位供應概況: https://www.asiamiles.com/am/zh/redeem/flights/seats

兌換飛行獎勵常見問題, https://www.asiamiles.com/am/zh/about/faq/redeem
預訂獎勵機票須繳付離境稅、機場或政府手續費、燃油附加費、安檢及保險費,以及任何受權機構的收費。

優惠
2012 優惠, http://www.americanexpress.com/taiwan/campaign/cards_offer_2012/Platinum-GRCC_001.html

美國運通信用卡商品比較:http://www.americanexpress.com/taiwan/Personal/cards/benefits/comparison.shtml




Tuesday, June 19, 2012

Modify Linux MAC Address

方法一

使用 ifconfig 指令的 hw class address 參數:
$ /sbin/ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx

其中 xx:xx:xx:xx:xx:xx 為欲使用的 MAC address。

方法二

修改 /etc/sysconfig/network-scripts/ifcfg-eth0 檔案,使用 MACADDR 以增加欲使用的 MAC address:
MACADDR=xx:xx:xx:xx:xx:xx

執行指令:
$ sudo /sbin/ifdown eth0
$ sudo /sbin/ifup eth0
$ sudo /sbin/service network restart

參考資料 Red Hat Enterprise Linux Deployment Guide: 13.2. Interface Configuration Files

HWADDR=MAC-address where MAC-address is the hardware address of the Ethernet device in the form AA:BB:CC:DD:EE:FF. This directive must be used in machines containing more than one NIC to ensure that the interfaces are assigned the correct device names regardless of the configured load order for each NIC's module. This directive should not be used in conjunction with MACADDR.

MACADDR=MAC-address where MAC-address is the hardware address of the Ethernet device in the form AA:BB:CC:DD:EE:FF. This directive is used to assign a MAC address to an interface, overriding the one assigned to the physical NIC. This directive should not be used in conjunction with HWADDR.


CentOS 6
/etc/udev/rules.d/70-persistent-net.rules 在開機時判斷 network interface 資訊。


參考資料

Sunday, June 17, 2012

Linux Booting Tips

顯示開機過程的詳細資訊

在 GRUB 選單中,刪除 kernel command line 中的 quiet 和 rhgb。

參考資料 http://blog.nexcess.net/2011/08/22/making-the-centos-6-boot-splash-screen-more-verbose/


互動式開機

在 GRUB 選單中,增加 PROMPT=yes 至 kernel command line。或者新增 confirm,則不需要於出現 interactive startup 詢問時按 i。


Monday, May 7, 2012

Vi Vim text editor

執行 vimdiff 時顯示以下錯誤訊息:
This Vim was not compiled with the diff feature.

安裝 vim-full 套件
$ sudo apt-get install vim-full

Saturday, April 28, 2012

Apache HTTP Server Authentication Access Control

修改 httpd.conf 設定檔,允許 AllowOverride AuthConfig 選項。

於欲限制存取目錄的 .htaccess 檔案新增以下內容。
AuthType Basic
AuthName "Restricted Files"
AuthUserFile /home/doe/public_html/.htpasswd
Require valid-user

新增使用者 jsmith 至已存在的 /home/doe/public_html/.htpasswd 密碼檔:
$ htpasswd /home/doe/public_html/.htpasswd jsmith

若密碼檔不存在,產生新密碼檔(-c 參數) 且新增使用者 jane:
$ htpasswd -c /home/doe/public_html/.htpasswd jane

參考資料



Thursday, April 26, 2012

Microsoft Office versions

新筆記型電腦j通常已經預先安裝 Microsoft Office 2010,需要購買產品金鑰(product key) 以啟用完整功能。若無金鑰,僅能使用 Office Starter 2010。

Office Starter 2010 是 Microsoft Office 2010 的簡易版,僅包括預先載入且非試用版的 Word Starter 2010 與 Excel Starter 2010,但是不包括 PowerPoint 2010 或 Outlook 2010。

Friday, April 20, 2012

QualNet Installation

安裝 QualNet 軟體。

Ubuntu 8.10 (Intrepid Ibex)

安裝 OpenGL drivers 以便使用 QualNet GUI 介面,選擇安裝 NVIDIA binary Xorg driver:
$ sudo apt-get install nvidia-glx-180

重新編譯 QualNet 時,安裝必要編譯套件(build-essential) 以解決 "make: g++: Command not found" 問題,
$ sudo apt-get install build-essential

重新編譯 QualNet 時,安裝 XML parsing C library development kit 以解決 "/usr/bin/ld: cannot find -lexpat" 問題:
$ sudo apt-get install libexpat1-dev
$ yum install expat-devel (若使用 yum 更新)


References

Thursday, March 22, 2012

Ubuntu Linux

使用 Ubuntu Linux 的相關資訊。

查看 Ubuntu Linux 版本資訊
於安裝 Ubuntu 8.10 (Intrepid Ibex) 64-bit PC (AMD64) Server 的機器
$ cat /etc/issue
Ubuntu 8.10 \n \l

$ uname -a
Linux hostname 2.6.27-7-server #1 SMP Fri Oct 24 07:20:47 UTC 2008 x86_64 GNU/Linux

於安裝 Ubuntu 8.10 (Intrepid Ibex) 64-bit PC (AMD64) Desktop 的機器
$ uname -a
Linux hostname 2.6.27-7-generic #1 SMP Fri Oct 24 06:40:41 UTC 2008 x86_64 GNU/Linux

或者使用 lsb_release 指令以顯示 distribution-specific information。
$ lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 8.10
Release:        8.10
Codename:       intrepid
更新套件

The software repositories configuration file: /etc/apt/sources.list

$ apt-get update

$ apt-get install package

更新舊版 Ubuntu
備份原來的 software repositories configuration file
$ sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

因為舊版 Ubuntu 已經移至 old-releases.ubuntu.com,修改 source.list 檔案
$ sudo sed -i -e 's/tw.archive.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
$ sudo sed -i -e 's/security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list

先使用 update 選項與 /etc/apt/sources.list 中的安裝來源同步化 package index files,然後使用 dist-upgrade 選項(必須先使用 update 選項) 將系統已安裝的 package 升級(即安裝新版 package)。
$ sudo apt-get update && sudo apt-get dist-upgrade
$ sudo apt-get -f install

參考 How do I install packages to an 8.10 system?, http://askubuntu.com/questions/104373/how-do-i-install-packages-to-an-8-10-system

安裝常用套件

安裝 GNU libc manual pages
$ sudo apt-get install manpages-dev


安裝 Desktop 環境於 Ubuntu Server

安裝 Ubuntu (Gnome) desktop
$ sudo apt-get install ubuntu-desktop

或者安裝 Kubuntu (KDE) desktop
$ sudo apt-get install kubuntu-desktop

參考 Add a desktop to an Ubuntu Server, http://ubuntuguide.org/wiki/Ubuntu:All#Add_a_desktop_to_an_Ubuntu_Server

修正 Static IP address 問題 (Ubuntu 8.10)
參考 How to Set a Static IP address in Ubuntu 8.10 (Intrepid Ibex)

References:
RepositoriesUbuntu, https://help.ubuntu.com/community/Repositories/Ubuntu

Tuesday, March 13, 2012

信用卡使用市區免費停車





三大連鎖停車場
中興嘟嘟房
台灣聯通
永固24TPS 


參考資料
市區免費停車有門檻 信用卡優惠全攻略 (2012/01/11) http://www.cardu.com.tw/news/detail.htm?nt_pk=4&ns_pk=15057

Tuesday, January 24, 2012

2012 Spring SKM Credit Card Promotion

新光三越 省錢刷手卡利high

活動網址:http://www.skm.com.tw/event/201201spring/1-1.html
活動日期:2012/01/06(五) ~ 2012/02/19(日)
全台新光三越百貨各分店,同卡號刷卡達指定門檻享 3% - 5% 新光三越商品禮券:
累計達NT$10,000(含)以上,回饋 3% 商品禮券
累計達NT$60,000(含)以上,回饋 4% 商品禮券
累計滿NT$200,000(含)以上,回饋 5% 商品禮券
每卡最高回饋上限5萬元商品禮券。

2012/1/20 ~ 2/19 匯豐信用卡加碼好禮相送
2012/1/20 ~ 2/2 澳盛信用卡加碼,滿8仟送2佰,滿2萬送5佰