摘要: 类似SQL中的 SELECT state, COUNT(*) FROM bank GROUP BY state ORDER BY COUNT(*) DESC 参考:https://www.elastic.co/guide/en/elasticsearch/reference/1.7/_executi 阅读全文
posted @ 2018-04-24 01:51 jason_bo 阅读(4261) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/pigzhu/p/4705870.html 阅读全文
posted @ 2018-04-24 00:15 jason_bo 阅读(110) 评论(0) 推荐(0)
摘要: 1.如何导入: 2.导入的时候会让你创建gradle,一直下一步,不用修改 3.编译, a.会报编码格式错误,如果有中文会报这个错,修改成utf-8 b.找不到类,解决办法 右键工程 引入外部的包,重新build一下 c。jdk版本不符合,解决办法 重新编译,如果还不行,就重启一下android s 阅读全文
posted @ 2018-04-20 04:08 jason_bo 阅读(669) 评论(0) 推荐(0)
摘要: http://www.th7.cn/db/mysql/201406/59838.shtml 下载地址:Openfire 3.8.2 Release 阅读全文
posted @ 2018-04-20 03:40 jason_bo 阅读(106) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/noob_f/article/details/51099040 ifconfig -a 网卡名称 阅读全文
posted @ 2018-04-18 03:30 jason_bo 阅读(145) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/mingzznet/article/details/9428679 阅读全文
posted @ 2018-02-08 03:18 jason_bo 阅读(86) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/smyhvae/p/4390905.html 阅读全文
posted @ 2018-01-07 20:07 jason_bo 阅读(94) 评论(0) 推荐(0)
摘要: 参考:https://ruby-china.github.io/rails-guides/getting_started.html 表单提交后,其字段以参数形式传递给 Rails,然后就可以在控制器动作中引用这些参数,以执行特定任务。要想查看这些参数的内容,可以把 create 动作的代码修改成下面 阅读全文
posted @ 2017-09-23 11:14 jason_bo 阅读(836) 评论(0) 推荐(0)
摘要: 可以参考rubymain帮助文档:https://www.jetbrains.com/help/ruby/deployment-in-rubymine.html 在rubymain工具的Tools>Deployment>Configuration打开如下界面 我的rails工程代码放在192.168 阅读全文
posted @ 2017-09-18 00:02 jason_bo 阅读(219) 评论(0) 推荐(0)
摘要: [root@redhat7 demo]# rails server/usr/local/rvm/gems/ruby-2.4.1/gems/bundler-1.16.0.pre.2/lib/bundler/runtime.rb:86:in `rescue in block (2 levels) in 阅读全文
posted @ 2017-09-17 12:47 jason_bo 阅读(368) 评论(0) 推荐(0)