首先声明:其实JRebel和Spring-Loaded就是一个开发环境下的利器,skip build and redeploy process,大大提升了工作效率!而非生产环境的利器。。。 不要在生产及测试环境使用此种方式。 本人不承担任何责任。 参考:使用Spring Loader或者Jrebel ...
分类:
编程语言 时间:
2017-07-13 13:32:29
阅读次数:
167
解决: (1)修改my.cnf中[mysqld]中增加skip-grant-tables (2)重启mysql数据库:service mysqld restart (3)无密码登录mysql中 (4)>use mysql; (5)>update mysql.user set password=pas ...
分类:
数据库 时间:
2017-07-12 13:42:37
阅读次数:
174
安装grafana时修改默认数据库为mariadb,重启grafana-server服务失败,查看日志显示如下报错:Error1130:Host‘192.168.204.131‘isnotallowedtoconnecttothisMariaDBserver解决:编辑mariadb配置文件:vim/etc/my.cnf在[mysqld]的段中加上一句:skip-grant-tables目的是为了:跳..
分类:
数据库 时间:
2017-07-11 22:58:16
阅读次数:
183
老外提问: Hi, I have an sql query which takes 8 seconds in the first run. The next run there after takes 0.5 seconds and all consecutive runs take 0.5 sec ...
分类:
数据库 时间:
2017-07-10 20:16:34
阅读次数:
587
Decompiling compiled AutoIT scripts (64-bit), take two ...
分类:
其他好文 时间:
2017-07-10 19:08:40
阅读次数:
206
You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 ston ...
分类:
其他好文 时间:
2017-07-10 13:15:16
阅读次数:
146
我们先实现拍照button的圆形效果哈。Android开发中,当然能够找美工人员设计图片,然后直接拿进来。只是我们能够自己写代码实现这个效果哈。最经常使用的的是用layout-list实现图片的叠加,我们这个layout命名为btn_take_photo.xml,这是一个自己定义的drawable文 ...
分类:
移动开发 时间:
2017-07-08 12:15:41
阅读次数:
214
Stack arrays in sequence horizontally (column wise). Take a sequence of arrays and stack them horizontally to make a single array. Rebuild arrays divi ...
分类:
其他好文 时间:
2017-07-07 23:37:22
阅读次数:
324
## String comparison is too slow in R language ## it will take 3 minutes, it is too slow date() strArray1<-rep("1234567890",10000) strArray2<-rep("123... ...
分类:
其他好文 时间:
2017-07-05 19:55:30
阅读次数:
139
在mongodb的bin目录下, 有一个mongoexport, 可用于数据的导出 导出文件到json中: 导出文件到csv中 可能会出现乱码, 用记事本另存utf-8 就可以了 在使用-q 查询条件过滤数据的时候,注意两边的 ’ (单引号) 当数据量很大时候,可以使用--skip 配合 --lim ...
分类:
数据库 时间:
2017-07-05 13:38:02
阅读次数:
206