上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 75 下一页
摘要: int i1[] = {1,2,3,4,5,6}; int i2[] = {6,5,4,3,2,1}; //排序 Arrays.sort(i2); System.out.println(i1.equals( i2 )); System.out.println( Arrays.equals(i1, i2) ); //将数组2的内容填充3 Arrays.fill(i2... 阅读全文
posted @ 2017-05-31 08:20 午火39 阅读(369) 评论(0) 推荐(0)
摘要: linux下yum命令出现Loaded plugins: fastestmirror yum install的时候提示:Loaded plugins: fastestmirror fastestmirror是yum的一个加速插件,这里是插件提示信息是插件不能用了。 不能用就先别用呗,禁用掉,先yum 阅读全文
posted @ 2017-05-29 10:49 午火39 阅读(960) 评论(0) 推荐(0)
摘要: 方法一: if ($("#checkbox-id").get(0).checked) { // do something } 方法二: if($('#checkbox-id').is(':checked')) { // do something } 方法三: if ($('#checkbox-id').attr('checked')) { // do somethin... 阅读全文
posted @ 2017-05-24 13:06 午火39 阅读(289) 评论(0) 推荐(0)
摘要: php RabbitMQ使用 参考网址: http://www.rabbitmq.com/tutorials/tutorial-three-php.html 最近研究rabbitmq队列,linux安装这样的软件一向都是很方便的,但是windows可能会比较麻烦,所以对windows的安装做个记录。 阅读全文
posted @ 2017-05-23 18:40 午火39 阅读(557) 评论(0) 推荐(0)
摘要: /** * 设置view */ $di->set('view', function () use ($config) { $view = new \Phalcon\Mvc\View(); $view->setViewsDir(BASE_PATH . $config->home_applicati... 阅读全文
posted @ 2017-05-23 14:47 午火39 阅读(1202) 评论(0) 推荐(0)
摘要: phalcon:整合官方多模块功能,方便多表查询 项目分为: 目录结构如下: public/index.php的大致写法: 多模块功能: 来看下多模块下Module.php的写法, backend/Module.php models/下的model文件,不需要命名空间,直接写: controller 阅读全文
posted @ 2017-05-22 19:09 午火39 阅读(2306) 评论(0) 推荐(0)
摘要: mysql: 模糊查询 feild like '%keyword%' or feild like'% keyword%' , 或者 concat(feild1,feild2,feild3) like '%keyword%' 阅读全文
posted @ 2017-05-19 13:08 午火39 阅读(246) 评论(0) 推荐(0)
摘要: php的http数据传输get/post... 一般有:file_get_contents,curl,fsockopen.... 下面介绍fsockopen: 还有他人封装好的:Requests类。 阅读全文
posted @ 2017-05-18 10:52 午火39 阅读(328) 评论(0) 推荐(0)
摘要: java大数字操作: BigInteger:大数字整型的 BigDecimal(浮点型):大数字小数的,也适用大的整数 BigInteger: BigDecimal: 阅读全文
posted @ 2017-05-17 22:56 午火39 阅读(377) 评论(0) 推荐(0)
摘要: DecimalFormat数据格式函数 阅读全文
posted @ 2017-05-16 22:49 午火39 阅读(444) 评论(0) 推荐(0)
上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 75 下一页