This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"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"}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); |