2008-10-21
- [S2H] PCHome 簡訊服務測試
- PCHome 簡訊服務
- Net::SMS::PChome 使用說明
- Net-SMS-PChome 0.13 updated
$ sudo apt-get -f install libdate-calc-perl libwww-mechanize-perl libcrypt-ssleay-perl libbit-vector-perl libcarp-clan-perl $ wget http://people.debian.org.tw/~chihchun/debian/libnet-sms-pchome-perl/libnet-sms-pchome-perl_0.13-1_all.deb $ sudo dpkg -i libnet-sms-pchome-perl_0.13-1_all.deb $ wget http://search.cpan.org/CPAN/authors/id/K/KA/KAWASAKI/HTML-TagParser-0.14.tar.gz $ tar zxvf HTML-TagParser-0.14.tar.gz $ sudo cp HTML-TagParser-0.14/lib/HTML/TagParser.pm /usr/lib/perl5/HTML/
- 範例程式:
use strict; use Net::SMS::PChome; my $sms = new Net::SMS::PChome; $sms->login('username', 'password', 'auth_code'); $sms->smsRecipient('0912345678'); $sms->smsSend("The SMS be send by PChome SMS Service!"); if($sms->is_success) { print "Successfully sent message to ".$sms->successcount." number!\n"; } else { print "Something went horribly wrong!\n". "Error: ".$sms->resultmessage." (".$sms->resultcode.")"; }
- 範例指令: 一行搞定
perl -MNet::SMS::PChome -e 'send_sms("pchome_username", "pchome_password", "auth_code", "recipient", "messages text")'
perl2exe
- 乘上,因為帳號密碼資訊是明碼寫在 Perl Script 裡面,所以必須把 Perl Script 打包成 Binary
- [作法] 使用 Perl Archive Toolkit (libpar-perl deb)
$ sudo apt-get install libpar-perl $ pp -o packed.exe source.pl # generate packed.exe
- [作法] 使用 Perl Archive Toolkit (libpar-perl deb)
- 其他商業的跨平台 Perl 編譯成執行檔的方法(compiler, binary)
NAS
- [詞彙] AFP = Apple Filing Protocol
- [詞彙] CIFS = Common Internet File System
- NAS 自由軟體
- FreeNAS - 果蠅腦團隊有用, FreeBSD 核心, 有中文介面。
- Openfiler
JavaScript
- jslibs - 在命令列環境下執行 javascript 的函式庫
Mobile Firefox
DRBD
- http://www.drbd.org/
- DRBD 8: shared disk semantics on a shared nothing cluster
- Data Redundancy by DRBD
NFSv4 Replication
- NFSv4 Working Group - 目前還很活躍
- NFS 官方網站
- A portable lightweight approach to nfs replication(PDF)
- NFSv4 與 NFSv3 的差異
- Setting Up A Highly Available NFS Server - NFS + DRBD + Heartbeat
- 關於 Peter Honeyman 的發表
- 2003-08: CITI, NFSv4, and ASCI
- 2006: NFSv4 Replication for Grid Storage Middleware (Paper) (4th international workshop on middleware for grid computing (MGC'06)) - Slides (PDF)
- 2007 - CCGrid 07: NFSv4 Replication for Grid Computing
- 2008-05: Performance and Availability Tradeoffs in Replicated File Systems
- Presented at Resilience 2008 : Workshop on Resiliency in High Performance Computing (Lyon, May 22, 2008)
AoE vs. iSCSI
Last modified 12 years ago
Last modified on Jan 23, 2013, 12:17:29 AM
Attachments (3)
- drbd8.linux-conf.eu.2007.pdf (252.8 KB) - added by jazz 16 years ago.
-
a8-zhang.pdf
(395.7 KB) -
added by jazz 16 years ago.
NFSv4 Replication for Grid Storage Middleware
-
MGC-zhang+honeyman.pdf
(1.7 MB) -
added by jazz 16 years ago.
NFSv4 Replication for Grid Storage Middleware ( Slides )