排序
mac安装git
homebrew安装gitbrew install git设置信息//设置个自己的用户名和邮箱 git config --global user.name 'NAME' git config --global user.email '********@qq.com'SSH配置//修改为自己的邮箱地址...
宝塔面板的安装及常用命令
Linux面板7.9.2安装脚本Centos安装脚本yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh ed8484becUbuntu/Deepin安...
element Icon图标
直接通过设置类名为 el-icon-iconName 来使用即可。<i class='el-icon-edit'></i> <i class='el-icon-share'></i> <i class='el-icon-delete'></i> <...
element按钮基础用法
使用type、plain、round和circle属性来定义 Button 的样式<el-row> <el-button>默认按钮</el-button> <el-button type='primary'>主要按钮</el-button> <el...
thinkphp5分组查询统计
//获取今天开始、结束时间 $where_day['createtime'] = [ ['egt',strtotime(date('Y-m-d',time()))], ['lt',strtotime(date('Y-m-d',time())).'+1 day'] ]; //获取本周开始、结束时间 $where_we...
安装PostgreSQL (Mac安装)
下载dmg文件https://www.enterprisedb.com/downloads/postgres-postgresql-downloads安装,基本一路next打开终端# 14是刚才安装的对应的版本号 /Library/PostgreSQL/14/scripts/runpsql.sh ;exi...
PHP常用助手函数
隐藏手机号中间4位替换成*if (!function_exists('hide_mobile')) { function hide_mobile(string $mobile) { return substr_replace($mobile, '****', 3, 4); } }判断是否是手机号if (!function...
laravel发送邮件 PHP登录注册发送邮件
安装composer包composer require guzzlehttp/guzzle配置env文件MAIL_DRIVER=smtp MAIL_HOST=smtp.qq.com MAIL_PORT=465 MAIL_USERNAME=XXXXXXXXX@qq.com MAIL_PASSWORD=XXXXXXXXXX //非邮箱密码...
安装composer
下载composer.pharcurl -sS https://getcomposer.org/installer | php终端执行mv composer.phar /usr/local/bin/composer若出现以下错误: mv: rename composer.phar to /usr/local/bin/compos...