查看 PHP extensions(*.so) 的 Function/Object 列表

平常我們使用的 PHP extensions 很多, 像 GD, cURL 等都是 extensions. 更多的 PHP Extension 可見 PECL :: The PHP Extension Community Library.

這些都是有文件的, 但是若遇到是別人寫, 沒有文件的該怎麼辦.. Q_Qa.. 要如何查看此 Extension 裡面有哪些 function/object 可以用呢?

閱讀全文〈查看 PHP extensions(*.so) 的 Function/Object 列表〉

Debian Linux ifconfig / route 網路設定

Debian 正常網路設定是於 /etc/network/interfaces, 可見 /etc/network/interfaces 內容大致如下:

auto lo
iface lo inet loopback

auto eth0
# iface eth0 inet manual
iface eth0 inet static
    address 10.1.1.2
    netmask 255.255.0.0
    network 10.1.0.0
    broadcast 10.1.255.255
    gateway 10.1.1.1
# dns-nameservers 168.95.1.1 168.95.192.1
# dns-search longwin.com.tw
#up "/sbin/route add -net 172.16.120.0 netmask 255.255.255.0 gw 10.1.3.3 metric 1"
#up "/sbin/route add -net 172.16.0.0 netmask 255.255.255.0 gw 10.1.10.20 metric 1"
#up "/sbin/route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.1.10.20 metric 1"
#down "/sbin/route del -net 172.16.120.0 netmask 255.255.255.0 gw 10.1.10.20metric 1"
#down "/sbin/route del -net 172.16.0.0 netmask 255.255.255.0 gw 10.1.10.20 metric 1"
#down "/sbin/route del -net 1.0.0.0 netmask 255.0.0.0 gw10.1.10.20 metric 1"

auto eth1
iface eth1 inet static
    address 10.10.11.2
    netmask 255.255.255.128
    network 10.10.0.0

## for adsl pppoe
#auto dsl-provider
#iface dsl-provider inet ppp
#provider dsl-provider

閱讀全文〈Debian Linux ifconfig / route 網路設定〉

Linux / Windows 統一調整 Mp3 音量大小的軟體

在聽音樂的時後, 會發現有大小聲的狀況, 主要是製作 Mp3 時, 用的軟體的問題(製作 Mp3 的軟體都不一樣).

那遇到這種情況, 要做統一的調整, 要怎麼快速讓他將音量調整到一致的狀況.

閱讀全文〈Linux / Windows 統一調整 Mp3 音量大小的軟體〉