elsnet |
Expert profile: Yiu Ming Cheung |
| [ ID = 0965 ] | Yiu Ming Cheung |
|---|---|
| Name | Cheung, Yiu Ming |
| Job Title | Assistant Professor |
| Organisation | Hong Kong Baptist University |
| Address | 7/F, Department of Computer Science, Sir Run Run Shaw |
| Postal Code | |
| City | Kowloon Tong |
| Country | Hong Kong |
| Phone | + |
| Fax | + |
| Mobile | + |
| ymc_(on)_comp.hkbu.edu.hk [@ replaced for spam protection] | |
| Organisation URL | |
| Personal URL | |
| Membership | |
| Languages | English Mandarin, Cantonese |
| Specialism | Speechtechnology:
Machine Learning and Speech Recognition |
| Photograph | Description or CV |
| http://www.comp.hkbu.edu.hk | |
|
|
Last update: 2003-08-07 07:42:49 #!/usr/bin/ksh # cntr.cgi -- # version 0 DOC=$DOCUMENT_ROOT$DOCUMENT_URI VSTART=28-08-2008 WRONGLOG=${DOCUMENT_ROOT}/cntr.txt echo Content-type:text/html echo case $DOC in *experts*) CDIR=${DOCUMENT_ROOT}/cntex ;; *orgs*) CDIR=${DOCUMENT_ROOT}/cntor ;; *) WRONG=yes ;; esac CFILE=${DOC##*/} case ${CFILE} in [0-9][0-9][0-9][0-9].html) WRONG=no ;; *) WRONG=yes ;; esac [ $WRONG = yes ] && { echo "$(date) $REMOTE_ADDR ${DOC}" >> $WRONGLOG exit } CCNT=${CDIR}/${CFILE%.html}.txt CLCK=${CDIR}/${CFILE%.html}.lck [ -s $CCNT ] && COUNT=$(head -1 $CCNT) COUNT=$(( ${COUNT:-0} + 1 )) [ -f $CLCK ] || { touch $CLCK echo $COUNT > $CCNT rm -f $CLCK } echo " Visits since $VSTART: $COUNT" |