想換換風格,所以在網路上找~~
找到了這個:http://www.nephee.net/
感覺還不錯~~
於是….就借來用了~~
借用了….總不能都不講吧~~
在此幫他推廣一下~~
世界末日
尋找自動產生 MT css 時逛到的 blog, 還不錯,蠻多關於文學的東西~
頗對我的脾胃~~
http://blog.elixus.org/italosa/
MV561終於要MP了
搞了很久,撐了很久,終於要MP了….
而且先出的是我負責的中文版~~有種鬆了一口氣的感覺~~
接下來,拿到股票之後,J 同學大概就會離職了吧~~
這陣子辛苦他了,心情起起落落,到後來完全沒心情作事~~
小小抱怨一下…..結果累的都是我 >_<
呼~~~希望是沒問題了~~
Numerical Recipes in C
網址:http://www.library.cornell.edu/nr/bookcpdf.html
免費電子書,用 C 搞數值分析~
Sun 的 blog
Windows API
Programmer 深度論壇
http://www.winprog.org/tutorial/
http://www.hal-pc.org/~johnnie2/windows.html
Charles Petzold 的 Programming Windows
無卵頭家
在討論區跟人聊天的時候想起來的~~
記得以前台灣有部電影叫做無卵頭家
故事內容是講有個漁村裡的男人因為某種傳染病的緣故
睪丸都變的很大~~大到沒辦法去捕魚~~
所以漁村陷入困境,不捕魚,哪有飯吃呢?!
這時候有一個人下定決心去把睪丸割除
然後出海捕魚賺錢,並且買藥給其他人,幫他們治病~~
後來唯一的缺憾就是沒有兒子
就跑去收養了一個,村裡的人都很有默契,不告訴他兒子是被認養的,只有私下流傳~~
後來有天,他兒子知道就很難過,回家質問媽媽
媽媽就告訴了他這個故事……
蠻好看的喔~~
簡單介紹 GPL
http://www.it-analysis.com/article.php?articleid=11819
General Public License
簡單介紹 GPL , 讓你可以正確的使用 GPL ….
好玩的搜尋引擎-Toogle
http://c6.org/toogle/
搜尋圖片
然後他會以文字的方式表現出來~~
http://c6.org/toogle/index.php?phrase=1887833-754286.jpg
有點類似我之前發表的那個 TextBanner
但是有點不太一樣,此外他加上了顏色…
蠻好玩的~~
或許我的 TextBanner 該改版了~~
Apache::Gallery
官方網站:http://apachegallery.dk
這裡用的環境: WhiteBox Enterprise Linux 3.0
安裝:
以管理者權限登入 Linux, 確定有安裝 perl-CPAN, 一般預設都會裝進去.
接著,確定 mod_perl, imlib2, xfree86-devel 都有裝進去.
執行 cpan, 依序輸入
install URI::Escape
install Image::Info
install Image::Size
install Text::Template
install CGI
install Image::Imlib2
install Apache::Gallery
都安裝完以後,其實已經快要大功告成.
接著:
1. 到 /etc/httpd/conf.d/ 下新增一個 gallery.conf, 似乎只能以 virtual host 的方式存在,我試了其他方式,試不出來~~ =_=
<VirtualHost *>
ServerName gallery.yourdomain.org
DocumentRoot /data/pictures/
ErrorLog logs/gallery-error_log
TransferLog logs/gallery-access_log
PerlSetVar GalleryTemplateDir ‘/usr/local/apache/gallery/templates’
PerlSetVar GalleryInfo ‘Picture Taken => DateTimeOriginal, Flash => Flash’
PerlSetVar GallerySizes ‘640 1024 1600 2272’
PerlSetVar GalleryThumbnailSize ‘100×75’
PerlSetVar GalleryCopyrightImage ‘htdocs/c.png’
PerlOptions +GlobalRequest
<Location />
SetHandler modperl
PerlResponseHandler Apache::Gallery
</Location>
</VirtualHost>
2. 切換到 ~/.cpan/build/Apache-Gallery-0.8
把 templates/default 下的東西複製到 /usr/local/apache/gallery/templates
把 templates/default/gallery.css 複製到 /data/pictures/
把 htdoc 複製到 /var/www/icons 下,並更名為 gallery
3.更新 /etc/httpd/conf/httpd.conf, 把有關 autoindex 模組的部分都註解掉
LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
….這裡蠻多的….慢慢試~~
4.把你的照片複製到 /data/pictures/
5.重新啟動 httpd, 然後在你的瀏覽器上輸入 http://gallery.yourdomain.org, 應該就可以看到相簿了~~
不過很可惜….我沒有成功….我一直遇到
Image::Imlib2 load error: No loader for file format
這個錯誤~~
~_~, 可能是 imlib2 有問題吧~~
決定還是另覓相簿軟體~~