這是一篇從網路上轉載的別人寫好了MAMP(Mac, Apache, MySQL, PHP)使用MacPorts來完成
因為Mac本身就有預載Apache, PHP,不過版本可能不是最新的
前半步驟都在先更新軟體
接下來在做設定
大家可以參考下面的連結:
https://gist.github.com/TeamOneJ/4210358
http://2tbsp.com/content/install_apache_2_and_php_5_macports
2013年4月16日 星期二
在Mac上使用PageUp/Down, Home, End
在Mac上的terminal使用vim的時候
使用PageUp/Down, Home, End 不是針對vim, 而是整個terminal都跳
可以設定下面去讓他不會亂跳
打開 terminal -> Preferences -> Settings -> Keyboard
增加以下四個 Key / Action
home \033[1~
end \033[4~
page up \033[5~
page down \033[6~
接著只要搭配 fn + 上下左右鍵 就可以了
參考連結:
http://trully622.blogspot.tw/2012/01/mac-vim-pagedown-pageup-home-end.htmlterminal
2013年4月15日 星期一
dotfiles
經過學長提點
他推薦我一個dotfiles
至於dotfiles我還不清楚是什麼(如果有人知道跟我說一下)
似乎是一個基礎設定,像是.vimrc, .vim, .bashrc, etc.
最明顯的狀況就是MacVim, command line 都有顏色的改變!!
在安裝之前需要先安裝 git
https://github.com/mathiasbynens/dotfiles在安裝之前需要先安裝 git
git clone https://github.com/mathiasbynens/dotfiles.git && cd dotfiles && source bootstrap.sh
訂閱:
文章 (Atom)