Skip to content

Instantly share code, notes, and snippets.

git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy
npm config delete proxy
@zhangliuliu
zhangliuliu / countrycode.json
Created December 15, 2019 13:27
国际区号JSON
[{"cn":"阿富汗","en":"Afghanistan","phone_code":"+93"},
{"cn":"阿尔巴尼亚","en":"Albania","phone_code":"+355"},
{"cn":"阿尔及利亚","en":"Algeria","phone_code":"+213"},
{"cn":"美属萨摩亚","en":"American Samoa","phone_code":"+684"},
{"cn":"安道尔","en":"Andorra","phone_code":"+376"},
{"cn":"安哥拉","en":"Angola","phone_code":"+244"},
{"cn":"安圭拉","en":"Anguilla","phone_code":"+1264"},
{"cn":"南极洲","en":"Antarctica","phone_code":"+672"},
{"cn":"安提瓜和巴布达","en":"Antigua and Barbuda","phone_code":"+1268"},
{"cn":"阿根廷","en":"Argentina","phone_code":"+54"},
@zhangliuliu
zhangliuliu / Uploadlist.java
Last active August 29, 2015 14:06 — forked from keepcleargas/Uploadlist.java
上传列表 参数
public void cPostLocation(Context context, int mtype,
List<DBLocationVO> location,
AsyncHttpResponseHandler responseHandler) {
Util.authCilent(context, client);
int userId = UserInfo.getInstance().getUserId(context);
StringEntity entity = null;
try {
entity = new StringEntity(JSON.toJSONString(location), "UTF8");
} catch (UnsupportedEncodingException e) {
e.printStackTrace();