大飞_dafei

导航

上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 50 下一页

2019年7月24日 #

PHP 输入输出流 php://input 获取表单中2个重名name的值 _fei

摘要: PHP 输入输出流 php://input 获取表单中2个重名name的值 1 <?php 2 3 // PHP有一种"所有IO都是流"的说法. 4 // 压缩流参考 https://www.php.net/manual/zh/wrappers.compression.php 5 // 压缩流参考 阅读全文

posted @ 2019-07-24 20:06 大飞_dafei 阅读(486) 评论(0) 推荐(0)

laravel 自定义验证 Validator::extend _fei

摘要: laravel 自定义验证 Validator::extend 1 $messages = [ 2 'name.integer' => '名字不能为整型', 3 'name.max' => '长度不能超过5', 4 ]; 5 6 public static $rules=[ 7 'name' => 阅读全文

posted @ 2019-07-24 15:25 大飞_dafei 阅读(1435) 评论(0) 推荐(0)

2019年7月22日 #

php mysqli 预处理操作数据库 _fei

摘要: php mysqli 预处理 阅读全文

posted @ 2019-07-22 18:45 大飞_dafei 阅读(364) 评论(0) 推荐(0)

2019年7月11日 #

前端调试代码 chrome 和 火狐禁用缓存 Disabled cache _fei

摘要: 前端调试代码 chrome 和 火狐禁用缓存 Disabled cache 前端调试的时候经常遇到缓存问题, chrome : f12 > 找到 Disabled caceh 勾上 火狐: f12 找到 禁用缓存 阅读全文

posted @ 2019-07-11 11:48 大飞_dafei 阅读(847) 评论(0) 推荐(0)

2019年7月9日 #

Yii2 发送邮件 yii\swiftmailer\Mailer

摘要: Yii2 中发送邮件 yii\swiftmailer\Mailer 'mailer' => [ 'class' => 'yii\swiftmailer\Mailer', 'viewPath' => '@common/mail', 'useFileTransport' => false, 'trans 阅读全文

posted @ 2019-07-09 09:12 大飞_dafei 阅读(623) 评论(0) 推荐(0)

2019年7月8日 #

centos7 设置静态ip , 并开机联网 _fei

摘要: centos7 设置静态ip , 并开机联网 修改 /etc/sysconfig/network-scripts 下的文件 我的是ens32 (不同系统这个文件名字不一样) 内容如下 TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO= 阅读全文

posted @ 2019-07-08 15:42 大飞_dafei 阅读(332) 评论(0) 推荐(0)

2019年7月7日 #

linux 判断一个用户是否存在 _fei

摘要: linux 判断一个用户是否存在 #!/bin/bash read -p "please input a username:" username if id -u $username >/dev/null 2>&1; then echo "user exists" else echo "user d 阅读全文

posted @ 2019-07-07 13:49 大飞_dafei 阅读(13462) 评论(0) 推荐(3)

2019年7月1日 #

linux 系统扩容 VMware Centos---VMware ESXi

摘要: linux 系统扩容 VMware Centos VMware ESXi 用到的命令 df fdisk pvcreate pvdisplay vgdisplay vgextend lvdisplay lvextend resize2fs 01) 使用了一段时间虚拟机后发现磁盘不够用了,需要扩容。在客 阅读全文

posted @ 2019-07-01 19:39 大飞_dafei 阅读(1015) 评论(0) 推荐(0)

2019年6月26日 #

ESX 基本使用 _fei

摘要: 简单说明: esxi 中安装了多个vm,其中的某一台死机并且esxi控制台开始不能使用,这个时候就可以使用esxi的命令操作,重启其中某一台死机的机器,不影响其他机器。利用ssh登录esxi 使用 esxcli命令操作 esxcli vm process list #获取`正在`运行vm的信息 es 阅读全文

posted @ 2019-06-26 09:00 大飞_dafei 阅读(461) 评论(0) 推荐(0)

2019年6月20日 #

centos jira wiki 开机自启

摘要: centos jira wiki 开机自启 启动jira 和 wiki 需要java环境变量 操作步骤: 在 /etc/rc.d/rc.local 文件中[ 注意要有可执行权限 ] export JAVA_HOME=xxxxxxxx export CLASSPATH=xxxxxxxxx /data/ 阅读全文

posted @ 2019-06-20 15:25 大飞_dafei 阅读(419) 评论(0) 推荐(0)

上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 50 下一页