摘要: 基本配置 Configure Connection Tab 数据库连接 Connection timeout:尝试连接数据库所等待的最大时间(毫秒),空为无限,建议5000 Socket timeout:sql在执行成功之前等待读写操作的时间(毫秒),空为无限,建议5000 Output Optio 阅读全文
posted @ 2020-08-19 11:30 lfm601508022 阅读(1394) 评论(0) 推荐(0) 编辑
摘要: Error occurred while trying to connect to the databaseDriver class ‘org.gjt.mm.mysql.Driver‘ could not be found, make sure the ‘MySQL‘ driver (jar fil 阅读全文
posted @ 2020-08-19 10:15 lfm601508022 阅读(3325) 评论(0) 推荐(0) 编辑
摘要: 在Vue中,当data对象更新渲染时,如果批量更新的属性层级在二层以上,那么Vue渲染时会出现绑定错乱,导致radio无法点击等现象。 例如下面的data代码: data(){ data: { good:{ isPublic:false, isNew:false } } } 如果直接这样更新: th 阅读全文
posted @ 2020-06-10 09:57 lfm601508022 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 假如查找comment字段字符串长度大于10的数据,mongodb命令行写法如下: $where写法: find({"comment":{"$exists":true},"$where":"this.comment.length>10"}) 正则表达式写法: find({"comment":{"$r 阅读全文
posted @ 2020-01-03 11:59 lfm601508022 阅读(4077) 评论(0) 推荐(0) 编辑
摘要: .mongo export导出 /mongoexport /h [ip地址] /port [端口] /u [用户名] /p [密码] /d [数据库] -c [表名] /q [查询语句] /o [保存文件路径] 查询语句:可能不同的编辑器不同的电脑系统会不一样,我这里的格式是这样的 "{'type' 阅读全文
posted @ 2019-09-24 17:51 lfm601508022 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 参照自:https://www.cnblogs.com/xuanhun/p/3678943.html Tray包含title、tooltip、icon、menu、alticon五个属性。 title属性只在mac系统下有效,会和icon图标一起显示在状态栏。 tooltip是当鼠标移动到tray上方 阅读全文
posted @ 2019-04-16 20:03 lfm601508022 阅读(1624) 评论(2) 推荐(1) 编辑
摘要: 要开发一个桌面程序,可选择的有nwjs和electron,但是electron不支持xp,客户还是有一部分系统是用xp的,只能用nwjs。 由于程序需要安装很多npm的模块,node_module文件夹里的文件达到了1w+的文件,大小去到30m,加上nwjs本身,整个软件去到90m,nnd,打包起来 阅读全文
posted @ 2019-04-16 17:21 lfm601508022 阅读(1510) 评论(0) 推荐(0) 编辑
摘要: 微信双开脚本 链接: https://pan.baidu.com/s/1SPCwx9NucOaui8lO5d1m6Q 提取码: d3g3 原理就是启动两次微信程序 阅读全文
posted @ 2019-03-13 09:34 lfm601508022 阅读(1286) 评论(0) 推荐(0) 编辑
摘要: hive java.lang.ClassNotFoundException: Class org.apache.hive.hcatalog.data.JsonSerDe not found 解决办法: 方法一:添加add hive-hcatalog-core包 ADD JAR /usr/local/ 阅读全文
posted @ 2018-06-15 19:58 lfm601508022 阅读(5573) 评论(0) 推荐(0) 编辑
摘要: 以某个字符开头 例子:以0开头 不以某个字符开头 例子:不以0开头 阅读全文
posted @ 2018-05-28 11:19 lfm601508022 阅读(143) 评论(0) 推荐(0) 编辑