dovecot.conf auth default { socket listen { master { # Master socket provides access to userdb information. It’s typically # used to give Dovecot’s local delivery agent access to userdb so it # can find mailbox locations. path = /var/run/dovecot/auth-master mode = 0600 # Default user/group is the one who [...]
posted in FreeBSD by johnpupu
前一陣子FreeNAS 說0.7 是最後一版了 以後會轉成Linux 平台上 叫coreNAS 後來 剛剛看到消息說iXsystem 的工程師會大幅度的改寫 而FreeNAS Project 也會繼續下去了 目前會先昇上FreeBSD 8 看起來 可以繼續下去~~
posted in FreeBSD by johnpupu
http://www.viplugin.com/viplugin/ 挺好用的….. UPDATE: 2009/11/23 http://vrapper.sourceforge.net/home/ 這個不用錢 !!!! 讚
posted in 有的沒的 by johnpupu
man winbindd SIGHUP Reload the smb.conf(5) file and apply any parameter changes to the running version of winbindd. This signal also clears any cached user and group information. The list of other domains trusted by winbindd is also reloaded. 所以只要 [sourcecode language='sh'] /usr/local/etc/rc.d/samba reload [/sourcecode] 就好了….
posted in FreeBSD by johnpupu
ldd -a /usr/local/bin/mysql ldconfig -r /sbin/ldconfig -m /usr/local/lib ldconfig -m Instead of replacing the contents of the hints file with those found in the directories specified, “merge” in new entries. Directories recorded in the hints file by previous runs of ldconfig are also rescanned for new shared libraries. 筆記一下…
posted in FreeBSD by johnpupu
controller 部份 [sourcecode language='php'] $sort->attributes= array( ‘product.id’=>’productId’, ‘product.name’=>’productName’, ‘category.name’=>’categoryName’, ‘brand.name’ => ‘brandName’, ); /* $sort->attributes= array( ‘model中的alias.欄位’=>’網址顯示的Alias’, ); */ [/sourcecode] view 部份 [sourcecode language='php'] < ?php echo $sort->link(‘product.id’,’編號’); ?> //< ?php echo $sort->link(‘table.name’,’網頁顯示的名稱’); ?> [/sourcecode] model 部份 記得把 relations中的 alias 設好 如下 [sourcecode language='php'] /** * @return array relational rules. */ public function relations() { [...]
posted in program by johnpupu
這樣就看得到了………….. 一直覺得自已不會遇到BOM 不過最近遇到了 …. ~/.vimrc [sourcecode language='text'] set ls=2 set statusline=%
posted in 有的沒的 by johnpupu
ok.. 這是因為xpdf 在找對應的檔案 對應錯誤 裝完 /usr/ports/chinese/xpdf 後 會多了 /usr/local/share/xpdf/chinese-traditional 這個目錄 裡面的dot.xpdfrc設定不對… 請把 cMapDir Adobe-CNS1 /usr/local/share/fonts/adobe-cmaps toUnicodeDir /usr/local/share/fonts/adobe-cmaps 換成 cMapDir Adobe-CNS1 /usr/local/share/fonts/adobe-cmaps/ac15/CMap toUnicodeDir /usr/local/share/fonts/adobe-cmaps/ac15/CMap 這樣就對了……
posted in 有的沒的 by johnpupu