Mac - 安裝 phpunit
--
* 安裝 phpunit
官網:
wbkuo 發表在 痞客邦 留言(0) 人氣(325)
參考文章: http://coder.aqualuna.me/2012/03/bashrc-in-mac-ter...
以 ll 為例
方法1: (暫時設定,每次重開機都要再設定一次)
# alias alias ll='ls -l'
方法2: (永久設定)
1. # vim ~/.bashrc
alias ll='ls -l'
2. # vim ~/.bash_profile
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
wbkuo 發表在 痞客邦 留言(0) 人氣(748)

步驟如下
1. 編輯 .bash_profile
# vim ~/.bash_profile
貼上底下這兩行
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
2. 重開終端機
wbkuo 發表在 痞客邦 留言(0) 人氣(317)
Mac 開機自動啟動 mariadb
--
1. 查看 mariadb 的安裝目錄
# brew --prefix mariadb
/usr/local/opt/mariadb
wbkuo 發表在 痞客邦 留言(0) 人氣(186)
==== 安裝 homebrew ====
OS X 的套件管理工具: http://brew.sh/index_zh-tw.html
wbkuo 發表在 痞客邦 留言(0) 人氣(714)
網址: http://brew.sh/index_zh-tw.html
安裝
請打開終端機,貼上下面這行
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
wbkuo 發表在 痞客邦 留言(0) 人氣(89)