今天开发android中使用了 android-suport-v4 19.1 记录 SwipeRefreshLayout 的坑: http://stackoverflow.com/questions/24742031/swiperefreshlayout-with-emptyview-nullpoi ...
分类:
其他好文 时间:
2017-04-02 17:37:44
阅读次数:
158
参考:http://stackoverflow.com/questions/16159370/ruby-hash-default-value-behavior 使用ruby hash 默认值为空数组,向key 对应的value 追加值然后去get一个不存在的key 时候发现value为 一个非空的a ...
分类:
其他好文 时间:
2017-04-01 17:02:19
阅读次数:
282
#pip install uwsgi error: need a c compiler so: #yum install -y gcc gcc-c++ error: no python.h so: #sudo yum install python-devel http://stackoverflow ...
分类:
编程语言 时间:
2017-03-31 01:14:53
阅读次数:
222
最近正在学习React,便谈一点自己的浅见。 Angular.js首先Angular的背后是Google,所以社区基础是不用担心的,整个生态也已经是非常的完整了,从最基本的Tutorial到StackOverflow的问题数到框架本身的剖析都有非常非常多,所以从这个角度看起来Angular应该算是上 ...
分类:
其他好文 时间:
2017-03-28 16:53:23
阅读次数:
209
原文 http://stackoverflow.com/questions/9145667/how-to-post-json-to-the-server ...
之前用rvest帮人写了一个定期抓取amazon价格库存,并与之前价格比较的小程序,算是近期写过的第一个完整的程序了。里面涉及了一些报错的处理。 这里主要参考了stackoverflow上的以下问答: tryCatch部分,后续查找资料,发现以下博文: 1. R语言使用tryCatch进行简单的错误 ...
分类:
编程语言 时间:
2017-03-24 15:35:30
阅读次数:
450
场景:vmvare虚拟机、centos7、mysql5.7 解决: mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bak 参考: http://stackoverflow.com/questions/20407292/centos-an ...
分类:
数据库 时间:
2017-03-23 16:36:28
阅读次数:
296
/*代码来自StackOverflow: http://stackoverflow.com/questions/212528/linux-c-get-the-ip-address-of-local-computer */ #include <stdio.h> #include <sys/types. ...
分类:
编程语言 时间:
2017-03-23 14:29:05
阅读次数:
155
stackoverflow 上,問題的解決方式: http://stackoverflow.com/questions/4713890/how-to-disable-programmatically-eclipse-password-required-dialog 1. 公司有設定 firewall ...
分类:
系统相关 时间:
2017-03-23 12:28:44
阅读次数:
172
git config --global http.proxy $http_proxy git config --global https.proxy $https_proxyref: http://stackoverflow.com/questions/20370294/could-not-reso ...
分类:
其他好文 时间:
2017-03-22 12:36:12
阅读次数:
366