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 週年慶商品券活動,可參加全館好禮集點送活動。
Tuesday, October 9, 2012
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
申辦
年費為新臺幣 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
CentOS 6
/etc/udev/rules.d/70-persistent-net.rules 在開機時判斷 network interface 資訊。
參考資料
使用 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 資訊。
參考資料
- Set MAC Address, http://codeghar.wordpress.com/2008/06/09/set-mac-address/
- How do you automatically detect a new network card in CentOS 6 / RedHat?, http://superuser.com/questions/332593/how-do-you-automatically-detect-a-new-network-card-in-centos-6-redhat
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。
在 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
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
參考資料
於欲限制存取目錄的 .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
參考資料
- Authentication Tutorial, http://httpd.apache.org/docs/current/howto/auth.html
- Apache Tutorial: .htaccess files, http://httpd.apache.org/docs/current/howto/htaccess.html
- htpasswd, http://httpd.apache.org/docs/2.0/programs/htpasswd.html
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。
Office Starter 2010 是 Microsoft Office 2010 的簡易版,僅包括預先載入且非試用版的 Word Starter 2010 與 Excel Starter 2010,但是不包括 PowerPoint 2010 或 Outlook 2010。
Subscribe to:
Posts (Atom)