经验需要记下来
大熊w
Read the fucking source code!
展开
-
修改Github项目显示语言
1、在github项目根目录下添加文件名为 .gitattributes 的文件;2、 .gitattributes文件内容*.md linguist-language=java //你项目内有什么文件 就使用 *.xx(xx代表文件后缀) 我的项目里markdown文件多...原创 2018-04-10 11:46:53 · 1352 阅读 · 0 评论 -
Android提高Gradle更新速度的有效方法
手动更新Gradle 官网下载地址,下载文件名为 gradle-version-all.zip ;打开命令行终端:输入:cd ~/.gradle/wrapper/dists/打开:open .如图:在复制压缩包到指定文件目录之前,最好确保你已经执行过一次 Android Studio 软件进行gradle的下载,这里你不用下载成功,只需要他执行一下就可以了,因为gradle文件目录的结构有一...原创 2018-05-27 21:49:50 · 318 阅读 · 0 评论 -
安装机器学习库时遇到的numpy问题
执行:pip install tensorflow出现问题:Cannot uninstall 'numpy'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstal...原创 2018-07-10 16:15:54 · 727 阅读 · 0 评论 -
RecycleView使用reverse,MIUI截长屏无法截全屏的问题
layoutManager=newLinearLayoutManager(getActivity(), LinearLayoutManager.VERTICAL,true);RecycleView中item从下到上依次添加,并且第一个添加的item始终在最下面,新添加的item需要滑上去才能看到。 新增加的item需要上滑才能显示是导致miui截取长屏的时候出现截不全列表的情况的原因改为:layo...原创 2018-07-13 11:46:15 · 659 阅读 · 0 评论