09 2019 档案
laravel order by
摘要:orderBy(\DB::Raw('case when avatar_id = 0 then 0 else 1 end')) Doctor::join('users', 'doctors.user_id', '=', 'users.id') ->with('user') ->withCount('services', 'notebooks') ->orderByDesc('notebooks_co 阅读全文
posted @ 2019-09-30 18:49 jzfan
git 开发功能分支标准流程
摘要:git clone xxxxxxx.git git checkout -b feature-A develop git add feature-A git commit -m "add feature A" git checkout develop git pull origin develop git checkout feature-A git rebas... 阅读全文
posted @ 2019-09-25 12:01 jzfan
mysql 5.7 安装后添加root用户
摘要:# 回车并输入在/etc/mysql/debian.cnf中的密码 $ mysql -u debian-sys-maint -p # 登录以后执行以下SQL语句 mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456'; mysql> quit; 阅读全文
posted @ 2019-09-20 14:28 jzfan
kill 端口进程
摘要:kill 80 端口进程 阅读全文
posted @ 2019-09-18 11:55 jzfan
regex example
摘要:统计连续字母 阅读全文
posted @ 2019-09-07 15:39 jzfan