摘要: --导出数据集 C:\MongoDB\db\bin>mongoexport -d ttx-xwms-test -c things -o d:\mongo_data\things.txt C:\MongoDB\db\bin>mongoexport -d ttx-xwms -c interface_lo 阅读全文
posted @ 2018-11-27 17:43 darling331 阅读(529) 评论(0) 推荐(0)
摘要: SELECT * FROM 数据库A..表A a, 数据库B..表B b WHERE a.field=b.field 阅读全文
posted @ 2018-11-27 17:22 darling331 阅读(405) 评论(0) 推荐(0)
摘要: String str="Java string split test"; String[] strarray=str.split(" ");//得到一个List数组 for (int i = 0; i < strarray.length; i++)//循环输出数组内容 System.out.prin 阅读全文
posted @ 2018-11-26 15:47 darling331 阅读(2786) 评论(0) 推荐(0)
摘要: 1、关闭ubuntu的防火墙 ufw disable 开启防火墙 ufw enable 2、卸载了iptables apt-get remove iptables 3、关闭ubuntu中的防火墙的其余命令 iptables -P INPUT ACCEPT iptables -P FORWARD AC 阅读全文
posted @ 2018-11-26 15:42 darling331 阅读(217) 评论(0) 推荐(0)
摘要: https://jingyan.baidu.com/article/454316ab715218f7a7c03a9d.html 阅读全文
posted @ 2018-11-26 15:40 darling331 阅读(110) 评论(0) 推荐(0)
摘要: coffee -c . 编译coffee 编译 css stylus -c [CSS目录] 如果提示找不到stylus 安装stylus npm install -g stylus Ctrl+Shift + Enter,语句完成“!”,否定完成,输入表达式时按 “!”键Ctrl+E,最近的文件Ctr 阅读全文
posted @ 2018-11-26 15:40 darling331 阅读(158) 评论(0) 推荐(0)
摘要: List sn=[123,1231,1231,231] sn.toString();//[123,1231,1231,231] sn.join(',').toString();//123,1231,1231,231 阅读全文
posted @ 2018-11-26 15:39 darling331 阅读(856) 评论(0) 推荐(0)
摘要: //定义一个MAP对象,将对象传给后端接口接收 Map a = ["api": '11', ZGUID: "1231",BESKZ: "1231",MATNR: "1231",TXTMI: "1231",ZZYSJ: "1231", format: 'xml'] print WebServiceUt 阅读全文
posted @ 2018-11-26 15:38 darling331 阅读(310) 评论(0) 推荐(0)
摘要: 创建只读数据库账号,并指定数据库即密码 grant select on xoms_prod.* to 'kzcf'@'%' identified by '123456'; 赋权 多权限就 grant select,update,delete on xoms..... 刷新权限表 flush priv 阅读全文
posted @ 2018-11-26 15:37 darling331 阅读(333) 评论(0) 推荐(0)
摘要: 发现redis在电脑死机蓝屏的情况下,就是非正常退出redis会导致redis的缓存文件不会回收,占用系统空间, 下次在启动的时候,会再次创建一个10G多的缓存文件,极度占用磁盘空间。 现说明解决办法: 1,手动清除缓存在本地的文件,文件目录:C:\Users\Administrator\AppDa 阅读全文
posted @ 2018-11-26 15:37 darling331 阅读(583) 评论(0) 推荐(0)