#参考资料
###下载单个文件,默认将输出打印到标准输出中(STDOUT)中
curl http://www.centos.org
#参考资料
###下载单个文件,默认将输出打印到标准输出中(STDOUT)中
curl http://www.centos.org
Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications
like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.
open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl
You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html
# 去掉了curl的-sk参数,-s为静默状态(不提示错误),-k为允许不适用ssl | |
curl https://cloud.github.com/downloads/square/PonyDebugger/bootstrap-ponyd.py | \ | |
python - --ponyd-symlink=/usr/local/bin/ponyd ~/Library/PonyDebugger | |
# 报错 Could not find any downloads that satisfy the requirement pybonjour (from ponydebugger),运行下面的命令 | |
# activate your virtualenv | |
source ~/Library/PonyDebugger/bin/activate | |
# update the ponyd source | |
sudo pip install -U -e git+https://github.com/square/PonyDebugger.git#egg=ponydebugger --allow-external pybonjour --allow-unverified pybonjour | |
# updates chrome dev tools source |