mac system

Homebrew directory:


Ctags on mac:

# you have ctags but it does not work…
$ ctags -R –exclude=.git –exclude=log *
ctags: illegal option — R
usage: ctags [-BFadtuwvx] [-f tagsfile] file …

#you need to get new ctags, i recommend homebrew but anything will work
$ brew install ctags
#alias ctags if you used homebrew
$ alias ctags="`brew –prefix`/bin/ctags"
#try again! ctags -R –exclude=.git –exclude=log *
#puts tags file into you .gitignore (probably global) and you’re all set!
#PS. i was inspired to install ctags by video by @r00k, thanks man!

Apache on Mac:
Mac OS X includes an Apache web server that can be controlled using apachectl as root. It’s usually started via launchd, the corresponding configuration file is /System/Library/LaunchAgents/org.apache.httpd.plist. If it’s not this Apache running on port 80, it is probably launchd, Apple’s implementation of a daemon manager.

Resize tmux screen:
Ctrl-B then option/alt-up/down

本篇發表於 Uncategorized。將永久鏈結加入書籤。


在下方填入你的資料或按右方圖示以社群網站登入: Logo

您的留言將使用 帳號。 登出 / 變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 / 變更 )


您的留言將使用 Facebook 帳號。 登出 / 變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 / 變更 )

連結到 %s