PHP / MySQL 一些容易被忽略的 Optimization

URL : http://www.dublish.com/articles/10.html Use NOT NULL as default value as much as you can, it speeds up execution and saves one bit. 一個 <? … ?> 比多個 <? .. ?><? .. ?><? .. ?> 還快 少用 . 去串接字串, 改用這樣的較快 “select…

ADSL / DDWRT 動態 IP 用 DynDNS 設定 DNS 及 Google Apps

DYNDNS URL : DynDNS Update Clients : https://www.dyndns.com/support/clients/ command liek this : /bin/inadyn -u userid -p userpassword -a xxx.blogdns.net –update_period_sec 30 –log_file /tmp/dyn.log –background & 先到 https://www.dyndns.com/ 申請 “Custom DNS Service” (每年USD$29元) The domain is registered elsewhere: You will need…

install oracle 11g steps

記錄一下, 方便查詢 ORACLE URL : Installing Oracle Database 11g Release 1 on Enterprise Linux 5 (32- and 64-bit) – http://www.oracle.com/technology/pub/articles/smiley-11gr1-install.html?rssid=rss_otn_articles ORACLE wiki : http://wiki.oracle.com/ step-by-step screenshots : http://www.thegeekstuff.com/2008/10/oracle-11g-step-by-step-installation-guide-with-screenshots/ Install Oracle 11g on CentOS with VMware ( Mac ) – http://wiki.oracle.com/page/Installing+Oracle+11g+on+CentOS+under+VMWare+on+a+Macbook…

[Great idea!] 10 Minute Mail / 十分鐘電郵

URL : http://www.10minutemail.com/10MinuteMail/ 很多網站要申請加入會員都需要一個 email address , 這個十分鐘電郵就是可以用來作這件事, 收到會員的啟用連結後, 就可以跟這個 email 說再見了!

Get MAC address using C

不過 , 這邊有指定 eth0 , 若 server 有很多 interface 的話就要注意一下了. #include <stdio.h> #include <sys/ioctl.h> #include <sys/types.h> #include <sys/socket.h> #include <net/if.h> int main( int argc, char *argv[] ) { int s; struct ifreq buffer; s = socket(PF_INET, SOCK_DGRAM, 0); memset(&buffer, 0x00,…

Protected: msg

There is no excerpt because this is a protected post.

有趣的 ASCII ART

有趣的 ASCII ART : http://www.network-science.de/ascii/ Font: larry3d   Reflection: no   Adjustment: left   Stretch: no      Width: 80     Text: monster __ /\ \__ ___ ___ ___ ___ ____\ \ ,_\ __ _ __ /’ __` __`\ / __`\ /’ _ `\ /’,__\\ \…