摘要: Bad Request (#400) 阅读全文
posted @ 2016-03-18 02:34 龟窝 阅读(440) 评论(0) 推荐(0) 编辑
摘要: brew link --overwrite python 阅读全文
posted @ 2016-03-14 11:03 龟窝 阅读(144) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/xiongqiangcs/p/4914049.html 阅读全文
posted @ 2016-03-14 10:06 龟窝 阅读(375) 评论(0) 推荐(0) 编辑
摘要: https://jjyap.wordpress.com/2014/05/24/installing-opencv-2-4-9-on-mac-osx-with-python-support/ 参照以上blog brew install opencv cd /usr/local/Cellar/openc 阅读全文
posted @ 2016-03-14 09:25 龟窝 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Uninstall any existing gnuplot on your OSX brew uninstall gnuplot Install gnuplot with either X or X11 brew-install gnuplot --with-x11 Finally, set th 阅读全文
posted @ 2016-02-18 12:11 龟窝 阅读(371) 评论(0) 推荐(0) 编辑
摘要: print time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(time.time())) 2016-01-27 21:40:25 阅读全文
posted @ 2016-01-27 21:42 龟窝 阅读(128) 评论(0) 推荐(0) 编辑
摘要: ImageRequest imageRequest = new ImageRequest(Config.USER_ASSETS_URL + md5(userid) + "/images/avatar.jpg", new Response.Listener... 阅读全文
posted @ 2015-11-26 18:34 龟窝 阅读(139) 评论(0) 推荐(0) 编辑
摘要: private static final String md5(final String s) { final String MD5 = "MD5"; try { // Create MD5 Hash MessageDi... 阅读全文
posted @ 2015-11-26 17:42 龟窝 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 第一种Person person = gson.fromJson(str, Person.class);第二种List ps = gson.fromJson(str, new TypeToken>(){}.getType());for(int i = 0; i < ps.size() ; i++){... 阅读全文
posted @ 2015-11-22 13:18 龟窝 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 首先在menu文件夹中创建post.xml showAsAction=never会永远折叠在三个点里面,=ifRoom有空间会出来orderInCategory 表示不折叠优先级每个标签就添加一个item然后在activity中加入 @Override protected void... 阅读全文
posted @ 2015-11-19 01:50 龟窝 阅读(332) 评论(0) 推荐(0) 编辑