上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 23 下一页
摘要: 想必你已经受够了单调的alert弹窗吧? 为了更好的用户体验性,现在介绍一款漂亮的弹窗口插件——sweetAlert,现在就来介绍它的使用 1、首先在官网下载它的CSS和JavaScript文件:http://mishengqiang.com/sweetalert/ 2、在页面的头部初始化插件 3、 阅读全文
posted @ 2017-07-20 23:44 郁冬 阅读(22520) 评论(1) 推荐(0) 编辑
摘要: 1、fetchSql用于直接返回SQL而不是执行查询,适用于任何的CURD操作方法。 例如:$result = Db::table('think_user')->fetchSql(true)->find(1);输出result结果为: SELECT * FROM think_user where i 阅读全文
posted @ 2017-07-20 16:47 郁冬 阅读(238) 评论(0) 推荐(0) 编辑
摘要: sudo apt-get install php5-curl sudo service apache2 restart 阅读全文
posted @ 2017-07-17 23:39 郁冬 阅读(948) 评论(0) 推荐(0) 编辑
摘要: certbot地址 apache服务器(ubuntu环境): 1、获取软件包: 2、自动安装与部署证书: 它会自动安装插件,然后你需要输入邮箱来用于证书的找回。同时还会要求你选择是否同时开启Http和https和是否开启强制https。 nginx服务器(centos7): 1、安装certbot工 阅读全文
posted @ 2017-07-15 22:36 郁冬 阅读(554) 评论(0) 推荐(0) 编辑
摘要: sudo apt-get install python-software-properties sudo apt-get updatesudo apt-get install vimsudo apt-get install apache2sudo apt-get install -y php5 // 阅读全文
posted @ 2017-07-15 18:54 郁冬 阅读(1393) 评论(0) 推荐(0) 编辑
摘要: 使用问题 failed to update pac file,操作过程中出现异常,结果无效,有关异常的详细信息,请查看innerexception。这是从GFWlist更新本地pac出现的问题,同样的系统有的机器会出现有的不会,具体原因应该是跟系统的某些环境有关,或者是缺少相应的组件。pac.txt 阅读全文
posted @ 2017-07-10 09:27 郁冬 阅读(7) 评论(0) 推荐(0) 编辑
摘要: $a = array(0 => Array(id => 66,class_name => math),1 => Array(id => 67,class_name => linux )); $b = array(0 => Array(class_count=> 8),1 => Array(class_count => 2)); $arr = array(); foreach($a as $k=>... 阅读全文
posted @ 2017-07-03 18:05 郁冬 阅读(15129) 评论(0) 推荐(0) 编辑
摘要: vagrant无法访问的提示:Please open VirtualBox and clear out your inaccessible virtual machines or find a way to fix them.看到这句话,于是打开virtualbox界面,virtualbox也提示该 阅读全文
posted @ 2017-07-01 13:00 郁冬 阅读(711) 评论(0) 推荐(0) 编辑
摘要: 1、查询数据表中重复记录 阅读全文
posted @ 2017-06-29 17:43 郁冬 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 我们在用unset($arr($k))来删除数组元素时,会发现被删除的值的索引空了,因为业务的需要,我们有时候需要保留索引 有以下两种方法: 方法一:array_values函数 方法二:array_splice函数 阅读全文
posted @ 2017-06-25 15:50 郁冬 阅读(1786) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 23 下一页