= 2008-10-21 = * [S2H] PCHome 簡訊服務測試 * [http://sms.pchome.com.tw/ PCHome 簡訊服務] * [http://search.cpan.org/~SNOWFLY/Net-SMS-PChome-0.11/lib/Net/SMS/PChome.pm Net::SMS::PChome 使用說明] * [http://people.debian.org.tw/~chihchun/2008/10/13/net-sms-pchome-013-updated/ 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/ }}} * 範例程式: {{{ #!perl 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 * [作法] 使用 [http://search.cpan.org/~autrijus/PAR-0.90/lib/PAR.pm Perl Archive Toolkit] ([http://packages.debian.org/etch/libpar-perl libpar-perl deb]) {{{ $ sudo apt-get install libpar-perl $ pp -o packed.exe source.pl # generate packed.exe }}} * 其他商業的跨平台 Perl 編譯成執行檔的方法(compiler, binary) * http://www.indigostar.com/perl2exe.php * http://docs.activestate.com/pdk/6.0/PerlApp.html == NAS == * [詞彙] AFP = [http://en.wikipedia.org/wiki/Apple_Filing_Protocol Apple Filing Protocol] * [詞彙] CIFS = [http://tools.ietf.org/html/draft-heizer-cifs-v1-spec-00 Common Internet File System] * [http://zh.wikipedia.org/wiki/SMB SMB(Server Message Block,又稱Common Internet File System(CIFS))] * NAS 自由軟體 * [http://en.wikipedia.org/wiki/FreeNAS FreeNAS] - 果蠅腦團隊有用, FreeBSD 核心, 有中文介面。 * [http://en.wikipedia.org/wiki/Openfiler Openfiler] == !JavaScript == * [http://code.google.com/p/jslibs/ jslibs] - 在命令列環境下執行 javascript 的函式庫 == Mobile Firefox == * [http://www.mozilla.org/projects/fennec/1.0a1/releasenotes/ Fennc 1.0 alpha release] == DRBD == * http://www.drbd.org/ * [http://www.linuxconf.eu/2007/programme/abstract-LEllenberg-1.shtml DRBD 8: shared disk semantics on a shared nothing cluster] * [http://www.linux-mag.com/id/1502 Data Redundancy by DRBD] == NFSv4 Replication == * [http://tools.ietf.org/wg/nfsv4/ NFSv4 Working Group] - 目前還很活躍 * [http://wiki.linux-nfs.org/ NFS 官方網站] * [http://gsd.di.uminho.pt/publications/gsd-1994-06/file/at_download A portable lightweight approach to nfs replication](PDF) * [http://doc.ece.uci.edu/~mlai/notes/nfs.html NFSv4 與 NFSv3 的差異] * [http://www.howtoforge.com/high_availability_nfs_drbd_heartbeat Setting Up A Highly Available NFS Server] - NFS + DRBD + Heartbeat * 關於 Peter Honeyman 的發表 * 2003-08: [http://www.slideshare.net/peterhoneyman/citi-nfsv4-and-asci CITI, NFSv4, and ASCI] * 2006: [http://portal.acm.org/citation.cfm?id=1186684 NFSv4 Replication for Grid Storage Middleware (Paper)] (4th international workshop on middleware for grid computing (MGC'06)) - [http://mgc2006.lncc.br/mgc-slides/MGC-zhang+honeyman.pdf Slides] (PDF) * 2007 - CCGrid 07: [http://www.slideshare.net/peterhoneyman/nfsv4-replication-for-grid-computing/ NFSv4 Replication for Grid Computing] * 2008-05: [http://www.slideshare.net/peterhoneyman/performance-and-availability-tradeoffs-in-replicated-file-systems/ 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 == * [http://www.massey.ac.nz/~chmessom/APAC2007.pdf Performance Analysis of Virtualised Head Nodes Utilising Cost-Effective Network Attached Storage] (Paper PDF) * [http://www.apac.edu.au/apac07/pages/program/presentations/Tuesday%20Harbour%20C/Antony%20Gerdelan.pdf Slides]