摘要: 卸载重装都试过,还是不行。 最根本的原因,是需要根据node版本安装不同的node-sass. 参照:https://github.com/sass/node-sass NodeJSMinimum node-sass versionNode Module Node 13 4.13+ 79 Node 阅读全文
posted @ 2020-02-26 14:55 万里沙来手一挥 阅读(1673) 评论(0) 推荐(0) 编辑
摘要: 对整个app增加errorhandler,只需如下: @app.errorhandler(404) def page_not_found(error): cats = Category.get_all_data_cats() return render_template('portal/404.ht 阅读全文
posted @ 2019-12-13 08:41 万里沙来手一挥 阅读(584) 评论(2) 推荐(0) 编辑
摘要: Solr 使用 MoreLikeThisComponent(MLT)和 MoreLikeThisHandler 实现了"相关数据"的功能 阅读全文
posted @ 2019-12-11 10:52 万里沙来手一挥 阅读(449) 评论(0) 推荐(0) 编辑
摘要: 如下: 关键点:oracle中有内部id为rowid, 在postgresql中有ctid. 参照:oracle rowid and postgresql ctid 参照:SQL 删除重复记录,并保留其中一条 阅读全文
posted @ 2019-11-03 12:11 万里沙来手一挥 阅读(1428) 评论(0) 推荐(0) 编辑
摘要: 方法一:collation 参照:https://segmentfault.com/q/1010000010203547 方法是在 db.String 中添加 collation='NOCASE' 描述,即修改为以下模型即可 之后在查询时的 username 字段就不会区分大小写了 注:对于 col 阅读全文
posted @ 2019-10-31 14:57 万里沙来手一挥 阅读(1795) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-05-13 18:04 万里沙来手一挥 阅读(3) 评论(0) 推荐(0) 编辑
摘要: Edit in /etc/crontab the line that says so that the 25 6 reads 0 0. This will make it so that all scripts in /etc/cron.daily runs at midnight. If you 阅读全文
posted @ 2019-04-03 11:34 万里沙来手一挥 阅读(2600) 评论(0) 推荐(0) 编辑
摘要: 一般是可以用的,但有时就是不起作用,造成很大不便。 解决方法: 1、打开任务管理器-〉结束此进程(rdpclip.exe 2、点击任务管理器菜单“文件-〉新建任务”,在输入框中输入“rdpclip”,启动进程。 阅读全文
posted @ 2019-01-09 09:58 万里沙来手一挥 阅读(658) 评论(0) 推荐(0) 编辑
摘要: 数据自动采集: https://github.com/USGS-OWI/deployer-campbell program that reads loggernet files and reformats for hydromet https://github.com/ktarbet/import_ 阅读全文
posted @ 2018-09-28 12:03 万里沙来手一挥 阅读(420) 评论(0) 推荐(0) 编辑
摘要: 前两条出自: https://link.zhihu.com/?target=http%3A//www.orzzone.com/vuejs-project-debug.html https://www.zhihu.com/question/41127712 一、Vue.js devtools开发工具的 阅读全文
posted @ 2018-05-15 17:04 万里沙来手一挥 阅读(17322) 评论(0) 推荐(0) 编辑