http://philip.pixnet.net/blog/post/14835813
Add 'syntax on' to the end of '/usr/share/vim/vimrc'
wenching520 發表在 痞客邦 留言(0) 人氣()
http://linux.vbird.org/linux_basic/0230filesystem.php#link
ln [-sf] 來源檔 目標檔
選項與參數:
-s :如果不加任何參數就進行連結,那就是hard link,至於 -s 就是symbolic link
-f :如果 目標檔 存在時,就主動的將目標檔直接移除後再建立!
# ln -sf Source Target
# rm Target/
rm: Target/: is a directory
# rm -rf Target (N.B., Now you are DELETING Source, not the symbolic link of Target) <<< WRONG
# rm Target <<< CORRECT
wenching520 發表在 痞客邦 留言(0) 人氣()
YOUR_MAC # sw_vers
Example:
ProductName: Mac OS X Server
ProductVersion: 10.4.11
BuildVersion: 8S169
wenching520 發表在 痞客邦 留言(0) 人氣()
sudo /usr/sbin/apachectl restart
wenching520 發表在 痞客邦 留言(0) 人氣()
http://www.quicomm.com/apm_dbddbi.htm
[2008.Jul.22] DBI : http://www.cpan.org/modules/by-category/07_Database_Interfaces/DBD/DBI-1.607.tar.gz
[2008.Oct.24] DBD : http://www.cpan.org/modules/by-category/07_Database_Interfaces/DBD/DBD-mysql-4.010.tar.gz
tar -zxvf DBI-1.607.tar.gz
cd DBI-1.607
perl Makefile.PL
make
make install
cd ..
tar -zxvf DBD-mysql-4.010.tar.gz
cd DBD-mysql-4.010
perl Makefile.PL
make
make install
wenching520 發表在 痞客邦 留言(0) 人氣()
MacPorts: http://www.macports.org/
Fink: http://www.finkproject.org/index.php?phpLang=en
wenching520 發表在 痞客邦 留言(0) 人氣()
locate: `/var/db/locate.database': No such file or directory
http://neilang.com/entries/updating-the-locate-database-in-mac-os-x/
sudo /usr/libexec/locate.updatedb
wenching520 發表在 痞客邦 留言(0) 人氣()
command line executable file
/usr/local/mysql-5.1.25-rc-osx10.4-powerpc/bin/mysql -u USER -p
/usr/local/mysql/bin/mysql -u USER -p
Enter password:
Set root's password
http://lists.mysql.com/mysql/156770
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('new_password');
Add /usr/local/mysql/bin into /etc/profile
wenching520 發表在 痞客邦 留言(0) 人氣()
http://www.softwaregarden.com/products/listgarden/macperlsetup.html
http://forums.osxfaq.com/viewtopic.php?t=13875
wenching520 發表在 痞客邦 留言(0) 人氣()