原创 beego model
o = orm.NewOrm()//理解爲php connect把 categorys := [] *models.Category{} //定義數組指針 struct o.QueryTable( new(models.Category
原创 某慕視頻收費教程 php java web android 小程序 百度網盤免費視頻教程
有需要的先查看下面連接是否有效,無效的請下方留言。有效的請打賞小弟10rmb,返回給各位密碼 . 鏈接: https://pan.baidu.com/s/1qZcykm4 密碼: c5va 2. 鏈接: https://pan.ba
原创 laravel orderByRaw 指定字段值排序
項目中需要對 項目狀態進行排序 在數據表中 設置 status字段 0:未開始 1:進行中 2:已結束 3:已結算 現需要對結果 按照 1 進行中》未開始》已結束》已結算 進行排序 1 $list = DB::table(
原创 Peer certificate CN=`*.phphub.or g' did not match expected CN=`packagist.laravel-china.org'
linux 可以通過一下方法試試 sudo sh -c "echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf" windows 禁用ipv6 博主自己的
原创 ERROR 1292 (22007): Incorrect datetime value: '0000-00-00 00:00:00'
原文鏈接:https://blog.csdn.net/zhengwei125/article/details/79003563/ ERROR 1292 (22007): Incorrect da
原创 sublime stylus expected "indent", got "eos"
sublime Text3中vue+stylus樣式縮進問題 http://www.itdaan.com/blog/2018/06/04/7a6f634b0dea89a710ccc9772630d10c.html
原创 解決 Command "python setup.py egg_info" failed with error code 1 問題
在執行 pip install -r requirements.txt 時遇到錯誤: Command "python setup.py egg_info" failed with error code 1 解決方法是更新 setup
原创 laravel 報錯SQLSTATE[HY000] [2002] No such file or directory
在mac中執行php artisan migrate時報錯 SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from information_schema.t
原创 mac 上php開發需要的工具 免費的都在這
鏈接:https://pan.baidu.com/s/1hINh3Hu0rLM5CKYG7vW_yQ 密碼:g81m
原创 yii2 慕課電商
鏈接:https://pan.baidu.com/s/1xbzs6vQv1V03pBkMxYb8aA 密碼:m0ns
原创 PHP獲取今天、昨天、明天的日期
[php] view plain copy <?php echo "今天:".date("Y-m-d")."<br>"; echo "昨天:".date("Y-m-d",strtotime("-1 day")), "<b
原创 -bash: ls: command not found 或者 -bash: ll: command not found
原因:在設置環境變量時,編輯profile文件沒有寫正確,導致在命令行下 ls等命令不能夠識別。 解決方案: export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin
原创 mac 安裝 brew
安裝方法:命令行輸入 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 回車(這裏有提
原创 mac php開發工具集合,finalshell
mac工具:百度雲盤地址: finalshell ssh連接工具 類似於xshell curl -o finalshell_install.sh http://www.hostbuf.com/downloads/finalshe
原创 nginx: [alert] kill(21725, 1) failed (1: Operation not permitted)
nginx 缺少啓動權限 sudo nginx -s reload