Archive for February, 2006

Free Skypeout Credits today

Thursday, February 23rd, 2006

Skypeout is the call to landline service for the well know VOIP software Skype. They’re giving out free credits today (again). How much do they give out?

skypeoutcredit

Here is the link: SkypeOut Gift Days

PageRank Update

Sunday, February 19th, 2006

Google 的 PageRank 更新了, 而且隨著我打這篇正在一面進行. 這次似乎變動不小, 尤其是有在連的幾個網站, 似乎都影響到了, 由於很長, 所以有興趣的才請點進來. 目前有 PageRank 的有以下的網站:

  • blog.cookys.org
  • blog.tarotoast.com
  • blog.twkang.net
  • blog.twku.net
  • gallery.cookys.org
  • tarotoast.com
  • ucsdprofessor.com
  • wretch - cwlin0416
  • wretch - lak4cyut
  • www.cookys.org
  • www.revivalworld.org
  • www.revivalworld.org - taiwanmudlist
  • www.rwiz.net
  • www.twkang.net
  • www.twku.net

由於目前是更新中, 目前的狀況是還沒成定型, 不過到底會是由哪個 server 為基準然後 update 其他的 server, 阿災. 明天醒來後再 check 一次大概就知道了. 以下所有的 query 都是由[這個網站]查詢而來的.
(more…)

Joomla Template 更新 & innerHTML

Wednesday, February 15th, 2006

四處找了找, Joomlashack 裡面有幾個還可以看的免費 template , 於是順手將診所原本使用的那個預設 template 換掉. 診所文章內容順便也重新分類了一次, 並直接由 HTML 修改了一些編輯不完善的文章, 看來 Joomla 本身的 WYSIWYG Editor 還有待加強阿. 雖然說多了 table 與 class 和其他的支援, 但是問題還是一大堆. 相對比起來 Wordpress 的強太多了.

在著手開始弄診所網站之前, 剛好在 Digg 上面看到了這篇 Image Cross Fader, 於是呢, 就整合進診所首頁了… XD

crossfaderlmj.png

比較好奇的是 javascript 裡面 .innerHTML 的用法. 雖然這應該不是什麼新的東西, 但是對不常接觸這些東西的我來說很神奇了.

考完 (不知道多久以後的事情) 之後再來弄個比較像樣的 Logo.

Awstats on 1&1 Linux Root Server

Saturday, February 11th, 2006

Plesk 7.5 for Windows comes with Awstats, why not Linux version? Who knows, ask the developers. It is said on one of the forum page that Plesk 8.0 for Linux will come with Awstats supported. Again, who knows when it will be out.

So instead of waiting for Plesk to integrate Awstats, I just want it working. Several things to notice while installing Awstats on the FC2 Root Servers that 1&1 is shipping:

  1. Extract the source and place them at /usr/local/awstats as the installer will expect itself to be there.
  2. When asked to locate httpd.conf, feed it /etc/httpd/conf/httpd.include instead. If you give httpd.conf, changes made will be erased next time you made any change to your domain structures through Plesk.
  3. Edit httpd.include and add this block to the awstats’s Directory block:
    	<IfModule mod_perl.c>
    	<Files ~ (\\.pl$)>
    		SetHandler perl-script
    		PerlHandler ModPerl::Registry
    		Options ExecCGI
    		allow from all
    		PerlSendHeader On
    	</Files>
    	</IfModule>
    

    As this will make sure perl scipts runs under 1&1’s and Plesk’s configuration.

  4. Logs are located under /home/httpd/vhosts/[domain]/statistics/log/access_log, notice if you’re not running the update script (awstats_updateall.pl whichcalls awstats.pl) as root, you’ll have to chmod o+x on these directories.
  5. Awstats expect (by default) to write into /var/lib/awstats so make sure it’s there and writable for update script owner.
  6. If you want to import old data, specify the target log file access_log.processed, and update. Then change the target log file back to access_log to keep it current.
  7. Because the data get processed by Plesk’s default stats engine, we want to regularily check access_log to keep the data updated (so it won’t be moved into .processed before we access them). Use crontab -e to automate this process every hour.

It’s working on mine now.

Peerguardian 1.5 beta on Fedora Core 2

Saturday, February 11th, 2006

Taken directly from Phoenix Labs’ website:

PeerGuardian 2 is Phoenix Labs’ premier IP blocker for Windows. PeerGuardian 2 integrates support for multiple lists, list editing, automatic updates, and blocking all of IPv4 (TCP, UDP, ICMP, etc), making it the safest and easiest way to protect your privacy on P2P.

In this case, however, the platform dealing with is Linux. So here are the steps.

1) PeerGuardian Linux 1.5 beta Source
Grab it from the links on [this thread]
Extract it to a folder and run:
./configure

2) Automake-1.4
As it is required to compile properly, the easiest workaround is to make a symlink to point automake-1.4 to automake-[version] with the command:
ln -s /usr/share/automake-[version]/ /usr/share/automake-1.4

3) libipq.h:
This library is not included in my preconfigured system. Grab the rpm [here]
rpm -iv iptables-devel-1.2.9-1.0.i386.rpm works just fine.

4) curses.h:
This is also missing according to the error message while compiling, so I found it [here]. rpm -iv all the way.

5) Install & Update
Easiest way to get it working is to copy/link the binary into your path, and put the PG.conf under /etc. Here is a [thread] dedicated to this topic.

It should work, and do what you wanted to do with it.

All Rights Reserved Copyright © 2008 Design by StyleShout and Clazh