Slumdog Millionaire 貧民百萬富翁

Dreams On Fire Lyrics Hindi Song Title: Dreams On Fire : SLUMDOG MILLIONAIRE
Singer(s): SUZZZANE

Hindi Lyrics:

You Are My Waking Dream, You’ re All Thats Real To Me
You Are The Magic In The World I See
You Are In The Prayer I Saying, You Are In My Two My Names
You Are The Faith That Make Me Belive
Dreams On Fire, Higher N Higher
Pasion Burning, Ride On The Path, Once For Forever Yours
In Me, All Your Heart, Dreams On Fire, Higher N Higher

You Are My Ocean Rage, You Are My Thought Each Day
You Are The Laughter From Childhood Games
You Are Things Further Down, You Are Where I Belong
You Are Make Me Feel In Every Songs
Dreams On Fire, Higher N Higher, Pasion Burning
Ride On The Path, Once For Forever Yours, In Me
All Your Heart, Dreams On Fire, Higher N Higher

interview with Dev Patel & Freida Pinto


北橫獨騎 , 板橋 –> 三民 –> 羅浮 –> 巴陵 –> 明池 –> 員山 –> 宜蘭

臨時決定騎個北橫來看看. . . . 今天北橫這段獨騎完全是沒有任何準備下的結果, 備胎, 修車工具, 甚至水都沒在巴陵補好, 一路渴得半死, 回來後看了別人的 blog 才知大家都有在台7的77公里 “Lucky 777” 照張相 , 看來下次有機會再來補這張了.

這是今天的軌跡圖 :

P002P003P008 P017 P018 P025 P035P040P044

巴陵 ( 80 ) 到 四陵 ( 40 ) 之間的路是整段北橫中最有挑戰的一段

P049 P050 P051 P054


網站贊助廣告版位出租 – Pagerank 5 / 10 , SEO

廣告特色 : 本站 目前在 Google pagerank 是 5/10, 本位置廣告可以增加您的網站 SEO.

廣告版位 : 固定每頁都有(參考附圖), 不輪播, 大小為 720px × 90px , 可放一則 banner 或 flash 加上網頁聯結.

廣告價格 : 請看我的賣場!

請參考本站在 Google 排名 2009.0331

關鍵字 oracle :
繁體中文網頁 – 排名第 12
台灣的網頁 – 排名第 7

關鍵字 vmware :
繁體中文網頁 – 排名第 7
台灣的網頁 – 排名第 5

關鍵字 javascript  :
繁體中文網頁 – 排名第 33
台灣的網頁 – 排名第 20

關鍵字 codeigniter  :
繁體中文網頁 – 排名第 3
台灣的網頁 – 排名第 3


解決 mysql innodb 效能問題方法之一

Using Per-Table Tablespaces :

Store each InnoDB table and its indexes in its own file. This feature is called “multiple tablespaces” because in effect each table has its own tablespace.

Using multiple tablespaces can be beneficial to users who want to move specific tables to separate physical disks or who wish to restore backups of single tables quickly without interrupting the use of other InnoDB tables.


那在把不同的 innodb file 放到不同 disk partition 去, 達到分散實體 IO 的目標, 不過, mysql 對於 path 部份要特別處理, 避免 drop table 或 alter table 時, 它會發生無法預期的結果, 翻了 web , 看到有人這麼作:

改 mysys/mf_format.c

if (!lstat(to,&stat_buff))  /* Check if it's a symbolic link */
    if (S_ISLNK(stat_buff.st_mode) && realpath(to,buff))

if (realpath(to,buff))

試看看吧, 我沒改過!

Monster LAMP Pack Lite – ver.317

Basic install emerge
lilo dhcpcd openssh syslog-ng vixie-cron screen ntp cronolog net-mail/mpack app-arch/sharutils unzip bind-tools trafshow traceroute

Linux  : 2.6.24-gentoo-r7
Apache : 2.2.10
Mysql  : 5.0.70-r1
PHP    : 5.2.8-pl2

PHP 的編法是

USE="apache2 berkdb bzip2 calendar cjk cli crypt curl gd gdbm hash iconv json mysql mysqli ncurses nls oci8-instant-client pcre readline reflection session simplexml spell spl ssl truetype unicode xml zlib" emerge -av php

package 有

samba :
postfix :
oracle instant client :
open-vm-tools : vmware 的 tools

emerge 這些 package:

mysql php apache postfix

screen ntp samba

subversion vim open-vm-tools cronolog net-mail/mpack app-arch/sharutils unzip


  • /etc/udev/rules.d/70-persistent-net.rule 砍掉
  • 改 net_DHCP
  • 砍 /tmp/*
  • check /etc/conf.d/clock , /etc/hosts , /etc/resolv.conf

vmware esx server – compile linux kernel / scsi controller/driver problem

直接在 vmware esx server 上重裝一台 gentoo linux 的 steps

在這個地方要勾 BusLogic , 在 make menuconfig 要選 BusLogic (簡直是廢話…)


開機後 dmesg | grep scsi 的結果是

scsi: ***** BusLogic SCSI Driver Version 2.1.16 of 18 July 2002 *****
scsi: Copyright 1995-1998 by Leonard N. Zubkoff <[email protected]>
scsi0: Configuring BusLogic Model BT-958 PCI Wide Ultra SCSI Host Adapter
scsi0:   Firmware Version: 5.07B, I/O Address: 0x1060, IRQ Channel: 17/Level
scsi0:   PCI Bus: 0, Device: 16, Address: 0xF4800000, Host Adapter SCSI ID: 7
scsi0:   Parity Checking: Enabled, Extended Translation: Enabled
scsi0:   Synchronous Negotiation: Ultra, Wide Negotiation: Enabled
scsi0:   Disconnect/Reconnect: Enabled, Tagged Queuing: Enabled
scsi0:   Scatter/Gather Limit: 128 of 128 segments, Mailboxes: 211
scsi0:   Driver Queue Depth: 211, Host Adapter Queue Depth: 192
scsi0:   Tagged Queue Depth: Automatic, Untagged Queue Depth: 3
scsi0: *** BusLogic BT-958 Initialized Successfully ***
scsi0 : BusLogic BT-958
scsi 0:0:0:0: Direct-Access     VMware   Virtual disk     1.0  PQ: 0 ANSI: 2
sd 0:0:0:0: Attached scsi generic sg0 type 0


天氣不錯, 陰天, 18度, 21K成績:1小時50分
今天被很多認識的朋友說 “ㄟ..怎跑半程? 越跑越回去囉?”
走下交流道, 轉身看看還在跑全程的人, 想到如果這次不是報半程, 現在應該還是在上面繼續跑著.

安裝 apache / mod_memcache

準備好這幾個 tarball, 並且解開:

drwxr-xr-x  6 rimmon rimmon  576 Mar 14 17:36 mod_memcached_cache-0.1.0
drwxr-xr-x  7 rimmon rimmon  584 Mar 14 17:09 apr_memcache-0.7.0
drwxr-xr-x 12 rimmon rimmon 1416 Mar 14 16:55 httpd-2.2.11

Hypertext Transfer Protocol — HTTP/1.1 – 這可是現今最偉大的 protocol 呀!

The Hypertext Transfer Protocol (HTTP) is an application-level
protocol for distributed, collaborative, hypermedia information
systems. It is a generic, stateless, protocol which can be used for
many tasks beyond its use for hypertext, such as name servers and
distributed object management systems, through extension of its
request methods, error codes and headers

Status Code Definitions

204 No Content

The server has fulfilled the request but does not need to return an
entity-body, and might want to return updated metainformation. The
response MAY include new or updated metainformation in the form of
entity-headers, which if present SHOULD be associated with the
requested variant.

If the client is a user agent, it SHOULD NOT change its document view
from that which caused the request to be sent. This response is
primarily intended to allow input for actions to take place without
causing a change to the user agent’s active document view, although
any new or updated metainformation SHOULD be applied to the document
currently in the user agent’s active view.

The 204 response MUST NOT include a message-body, and thus is always
terminated by the first empty line after the header fields.

可以利用這點作一些事, 譬如記錄 user 的訪問, log 等等

apache 有用的 mod

*  www-apache/mod_chroot
      Latest version available: 0.5
      Latest version installed: [ Not Installed ]
      Size of files: 14 kB
      Description:   mod_chroot allows you to run Apache in a chroot jail with no additional files.
      License:       GPL-2

*  www-apache/mod_extract_forwarded
      Latest version available: 2.0.2
      Latest version installed: [ Not Installed ]
      Size of files: 13 kB
      Description:   Apache module that rewrites X-Forwarded-For to REMOTE_ADDR for reverse proxy configurations.
      License:       Apache-2.0 Apache-1.1

*  www-apache/mod_log_rotate
      Latest version available: 1.00
      Latest version installed: [ Not Installed ]
      Size of files: 4 kB
      Description:   mod_log_rotate adds log rotation support to mod_log_config based on strftime(3)
      License:       Apache-2.0