adb 命令

参考链接

NSMutableArray arrayWithCapacity

NSMutableArray -init vs. +arrayWithCapacity:

参考链接:
http://stackoverflow.com/questions/22395963/understanding-arraywithcapacity-method-on-nsmutablearray
http://stackoverflow.com/questions/1730706/nsmutablearray-init-vs-arraywithcapacity

JavaScript alert not working in Android WebView

参考链接

Call to undefined function curl_init()

参考链接: http://stackoverflow.com/questions/6382539/call-to-undefined-function-curl-init

Root view controller

参考链接: http://stackoverflow.com/questions/30884896/application-windows-are-expected-to-have-a-root-view-controller-at-the-end-of-a

PHP获取时间错误

参考链接: http://stackoverflow.com/questions/16765158/date-it-is-not-safe-to-rely-on-the-systems-timezone-settings

Yosemite+ 启用apache、php

参考链接: https://discussions.apple.com/docs/DOC-3083

PHP is not enabled in recent versions of OS X. To enable it, do:

Linux 下 android 开发环境

Java 环境

1
2
3
4
## Ubuntu 下
sudo apt-get update
sudo apt-get install default-jre
sudo apt-get install default-jdk

SVN 修改已提交的 log

在服务端支持修改的情况下,使用命令行修改已提交的log方法如下:

1
svn propset -r N --revprop svn:log "new log message" URL

Linux 下 shadowsocks 客户端全局代理

shadowsocks

1
2
3
4
5
6
7
## Ubuntu 下的安装
sudo apt-get install python-pip
sudo pip install shadowsocks

## CentOS 下的安装
yum install python-setuptools && easy_install pip
pip install shadowsocks