homebrew - nginx

安装

1
2
3
4
5
6
7
8
9
10
11
12
13
14
brew install nginx

## 安装后提示
Docroot is: /usr/local/var/www

The default port has been set in /usr/local/etc/nginx/nginx.conf to 8080 so that
nginx can run without sudo.

nginx will load all files in /usr/local/etc/nginx/servers/.

To have launchd start nginx now and restart at login:
brew services start nginx
Or, if you don't want/need a background service you can just run:
nginx

homebrew - documentation

参考链接

CocoaPods without lint

参考链接

About HTTP API

参考链接

tar 命令参数

参考链接

CocoaPods - 直接使用 library

参考链接

GNU Make

参考链接

Nginx - location 匹配规则

参考链接

php 命名空间

参考链接

Git 忽略目录下所有文件

工程中,有时候需要让某个目录受版本控制,同时该目录下所有文件均不受版本控制,只需在该目录下 .gitignore 文件编辑如下内容即可

1
2
*
!.gitignore