摘要: 启动:systemctl start firewalld 查看状态:systemctl status firewalld 停止: systemctl stop firewalld 禁用: systemctl disable firewalld 重启防火墙,安装命令两种方式 #sudo systemc 阅读全文
posted @ 2021-12-10 18:08 经验源于积累 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 后端文件上传使用了SWFUpload这个组件,效果虽然不错,然随着时代发展,Flash已被各大浏览器厂商逐渐抛弃,先是默认关闭插件支持,后更是直接移除了shockwave插件。 是在jquery上挂载了事件处理的流程,然后创建了SWFUpload实例再处理文件上传的。若要不大改后台的情况下兼容h5, 阅读全文
posted @ 2021-11-05 15:30 经验源于积累 阅读(365) 评论(0) 推荐(0) 编辑
摘要: git clone -b ants git@github.com:Ants-double/CareerJava.git git clone -b 远程分支名 仓库地址 //查看远程分支 git branch -r git branch -a //创建本地分支并关联 git checkout -b 本 阅读全文
posted @ 2021-10-14 11:40 经验源于积累 阅读(28) 评论(0) 推荐(0) 编辑
摘要: create user 'news'@'localhost' identified by '123456'; flush privileges; 刷新权限 alter user 'yinlh'@'%' identified with mysql_native_password by '!Qq1234 阅读全文
posted @ 2021-10-12 11:15 经验源于积累 阅读(61) 评论(0) 推荐(0) 编辑
摘要: /弹框/ .mTips{max-width:20rem;width:auto;line-height:1.3;font-size:0.4rem;color:#fff;background-color:#ff4f4f;border:1px solid #fff;border-radius:0.1333 阅读全文
posted @ 2021-08-16 11:48 经验源于积累 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 剪图设置 X (宽X高) 若不设置图片宽高裁剪后默认尺寸为: 预览图片 以下是php public function save_stream_to_image_fine(){ $result = $data = array(); $data = $_POST['img']; if($data){ $ 阅读全文
posted @ 2021-04-08 17:01 经验源于积累 阅读(59) 评论(0) 推荐(0) 编辑
摘要: $("body").undelegate(); $("body").delegate(".edit_html_one,.edit_html_two,.edit_del,.edit_html_remarks", "click hover", function () { $('.edit_html_on 阅读全文
posted @ 2020-04-16 17:49 经验源于积累 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 1、查看php fpm是否开启 命令:ps ef|grep php 2、查看php fpm的位置 命令:whereis php fpm 阅读全文
posted @ 2020-04-16 17:46 经验源于积累 阅读(96) 评论(0) 推荐(0) 编辑
摘要: / PHP精确计算 主要用于货币的计算用 @param $n1 第一个数 @param $symbol 计算符号 + / % @param $n2 第二个数 @param string $scale 精度 默认为小数点后两位 @return string / public static functi 阅读全文
posted @ 2019-08-27 18:15 经验源于积累 阅读(455) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-08-04 13:46 经验源于积累 阅读(0) 评论(0) 推荐(0) 编辑