[阿凱導讀] 程式開發者的時光機 – 軟體版本管理系統

文章發佈於 : 2004-09-13 01:49:38 | 文章分類 : 程式相關
標籤 :

我叫阿凱一聲師傅,他可是當之無愧.
他今天又介紹了我一個很好的觀念,叫做版本管理.
看完他的導讀之後,我下定決心,要把我現在所有的程式全都放到svn上面進行管理.

你還在為了常常和同事之間發生程式互相覆蓋或者是忘記程式做了哪些異動而苦惱嗎?
建議你一定要去看看 阿凱的導讀
相信我,一定對你有很大的幫助的:cool:
 Love is waiting so you don't have to. Join Date.com for free!
 Join Asia FriendFinder the Largest Asian Dating Site on the Web for FREE!
 Kaspersky Security for Internet Gateway 7.0
 Know when to sell on eBay using research

閱讀全文 | 回 應(0) |

 讓 GD 顯示中文

文章發佈於 : 2004-09-13 00:32:53 | 文章分類 : 程式相關
標籤 :

這篇文章是由阿凱在Linuxfab所發表的,我一樣將他移轉過來.


請先到 http://board.justok.net/files/big5-uni.zip 下載這個檔案
<?php 
function big52uni($text){ 
    
$rtext=""
    
$table=file("big5-uni.txt"); 
    
$max=strlen($text); 

    for(
$i=0;$i<$max;$i++){ 
        
$h=ord($text[$i]); 
        
$l=ord($text[$i+1]); 
        if(
$h>=160 && $i$max-1){ 
            
$uni=ereg_replace(".{5}([0-9]*)[xd|xa]","",$table[191*($h-129)+($l-64)]); 
            
$rtext.= substr($uni,0,strlen($uni) - 1); // 此處原來有小bug...沒有去掉 unicode碼最後的換行.此處以修正 
        
$i++; 
        }else{ 
            
$rtext.= $text[$i]; 
        } 
    } 
return 
$rtext


// 以上使用含式庫中的 big5 轉 unicode 程式碼... 
$id ImageCreate (300300
or die (
"Cannot Initialize new GD image stream"); 

$blackImageColorAllocate($id000); 
$whiteImageColorAllocate($id250250250); 
imagefill($id,0,0,$black); 

// 將big5字串轉換為 unicode 
$text "這是測試"
$text big52uni($text); 

// imagettftext 含式的字串輸入必須是unicode 才能正確顯示自竄... 
// 且要記得指定系統的字型路徑.. 
imagettftext($id,20,0,10,100,$white,"/usr/share/fonts/ttf/big5/bsmi00lp.ttf",$text); 

Header("Content-type: image/gif"); 
ImagePNG($id); 
imagedestroy($id
?>


 Love is waiting so you don't have to. Join Date.com for free!
 Join Asia FriendFinder the Largest Asian Dating Site on the Web for FREE!
 Kaspersky Security for Internet Gateway 7.0
 Know when to sell on eBay using research

閱讀全文 | 回 應(0) |

 該來去學smarty了

文章發佈於 : 2004-09-12 14:08:56 | 文章分類 : 程式相關
標籤 :

今天阿凱傳了一個 Using smarty with PEAR HTML_QuickForm 給我.
看了一下覺得自己真的該去學一下Smarty了,之前有想過要去學.
可是一直偷懶,現在發現 Smarty + PEAR 真的是提供太多的好功能.
可以節省掉一些無謂的coding時間,例如像這篇文章所寫的 html form 就是一個好例子.
可是我又想要把C#學好...
啊......我時間不夠啦.
 Love is waiting so you don't have to. Join Date.com for free!
 Join Asia FriendFinder the Largest Asian Dating Site on the Web for FREE!
 Kaspersky Security for Internet Gateway 7.0
 Know when to sell on eBay using research

閱讀全文 | 回 應(1) |

 BlogShares Links Exchange

1. Step into the Nexus 2. Scary Personals 3. Scared Bunny
4. This Is A Cult 5. Its all about me 6. Webby's World
7. Flower Delivery 8. Mindblogging Stuff 9. Random Thoughts by R. U. Serious
10. Palmistry and Hand Analysis 11. Forward-and-Share 12. The Site With the Lamp
13. Free Sample Forager 14. Kosir 15. CRM Reports

 阿維推薦

1. ㄚ凱隨手記 2. ↖「懿」*瘋*堂↗ 3. A.D. Notepad 西元記事本
4. Liang's Blog 5. 硬是要學! 6. 北國風情
7. 綠色工廠 8. 淡淡的天空藍 9. 班大貓廢紙塗鴉部落格
10. 大豆剝落殼 11. SEO网站优化推广 12. lazy Guy
13. PHP 黑店 14. Meson手扎