2017年6月21日

摘要: ***取回已经提交的代码 git reset HEAD^git can't merge 的处理1.git status 确保status 为空,可以先提交2.git reset HEAD^ 取回已经提交的代码 3.git status 查看 此时提交代码已经都已经拿回4.git stash -u 缓 阅读全文

posted @ 2017-06-21 10:17 金-Fish 阅读(5209) 评论(0) 推荐(0) 编辑

2017年6月3日

摘要: 这段时间一直在使用react,由于这react是单向数据绑定,总感觉有点不适用,毕竟之前一直都在使用angular,但学习还是要继续,做了一个迭代的项目,都差点忘记要总结一下这个react了,现在可以写点东西了。(react 新手,仅仅参考) 1.react一开始我更理解为是一个各种代码片段,由于之 阅读全文

posted @ 2017-06-03 12:46 金-Fish 阅读(7258) 评论(0) 推荐(0) 编辑

2017年4月14日

摘要: 删除文件如下: 过程:先判断文件路径是否存在、读取该文件下所有文件、循环该文件,判断是否是文件夹还是文件、 移除文件夹使用fs.rmdirSync("路径") 移除文件使用fs.unlinkSync("路径",function(){err}) 阅读全文

posted @ 2017-04-14 17:48 金-Fish 阅读(6924) 评论(0) 推荐(0) 编辑

摘要: 参考:http://javascript.ruanyifeng.com/nodejs/child-process.html https://nodejs.org/api/child_process.html#child_process_options_stdio 阅读全文

posted @ 2017-04-14 17:39 金-Fish 阅读(445) 评论(0) 推荐(0) 编辑

2017年4月1日

摘要: 【转】Quartz中时间表达式的设置 corn表达式 时间格式: <!-- s m h d m w(?) y(?) -->, 分别对应: 秒>分>小时>日>月>周>年, 举例: 1.每天什么时候执行: <value>0 59 23 * * ?</value>: 如下为每天23:59:00开始执行 < 阅读全文

posted @ 2017-04-01 14:10 金-Fish 阅读(1101) 评论(0) 推荐(0) 编辑

2017年3月24日

摘要: 1.安装python 下载安装即可:最好是C盘 路径:https://www.python.org/ 将Python的安装路径加到path环境变量中,Python/Scripts加到path环境变量 命令行输入Python -V查看python版本 启动python : 命令行输入 python 2 阅读全文

posted @ 2017-03-24 11:32 金-Fish 阅读(162) 评论(0) 推荐(0) 编辑

摘要: 常见pip用法 * pip install numpy --安装包numpy * pip uninstall numpy --卸载包numpy * pip show --files PackageName --查看已安装包 * pip list outdated --查看待更新包信息 * pip i 阅读全文

posted @ 2017-03-24 11:30 金-Fish 阅读(589) 评论(0) 推荐(0) 编辑

摘要: 1.安装python 下载安装即可:最好是C盘 路径:https://www.python.org/ 将Python的安装路径加到path环境变量中,Python/Scripts加到path环境变量 命令行输入Python -V查看python版本 启动python : 命令行输入 python 2 阅读全文

posted @ 2017-03-24 11:25 金-Fish 阅读(481) 评论(0) 推荐(0) 编辑

摘要: a) https://github.com/bakwc/PornDetector 封装了两个库,opencv与scikit-learn 另外一种法师封装了opencv与tensorflow 阅读全文

posted @ 2017-03-24 11:21 金-Fish 阅读(324) 评论(0) 推荐(0) 编辑

摘要: 1.Opencv a) http://docs.opencv.org/master/d1/dfb/intro.html 2.scikit-learn(使用最多的) a) http://scikit-learn.org/stable/modules/linear_model.html#ridge-re 阅读全文

posted @ 2017-03-24 11:17 金-Fish 阅读(158) 评论(0) 推荐(0) 编辑