摘要:
Throw new CustomerException('Customer message'); // App\Exceptions\Handler.php public function render($request, Exception $e) { // 没有权限访问 if ($e instanceof ForbiddenExcep...
阅读全文
posted @ 2016-12-14 13:34
jzfan
阅读(259)
推荐(0)
摘要:
Tools -> Developer -> New Snippet install package -> php companion Preferences -> key bindings [ { "keys": ["f5"], "command": "refresh_folder_list" },
阅读全文
posted @ 2016-12-03 22:13
jzfan
阅读(156)
推荐(0)
摘要:
apt-get install python-pip python-dev pip install -U docker-composechmod +x /usr/local/bin/docker-compose
阅读全文
posted @ 2016-12-03 14:02
jzfan
阅读(847)
推荐(0)
摘要:
Incr zIncrBy 有序集合 Sorted sets Cache 缓存
阅读全文
posted @ 2016-11-26 10:37
jzfan
阅读(155)
推荐(0)
摘要:
git将单个文件恢复到历史版本的正确方法如下: git reset commit_id 文件路径 git checkout -- 文件路径
阅读全文
posted @ 2016-11-25 16:33
jzfan
阅读(220)
推荐(0)
摘要:
public function store(Request $request, $id) { $externalAccount = ExternalAccounts::find($id); DB::beginTransaction(); try { $externalAccount->fund_nu
阅读全文
posted @ 2016-11-16 11:41
jzfan
阅读(738)
推荐(0)
摘要:
In order to fix the php5-fpm.sock failed error follow these instructions 1) Make sure your virtual hosts nginx (.conf) files are using fastcgi_pass un
阅读全文
posted @ 2016-10-29 13:20
jzfan
阅读(1176)
推荐(0)
posted @ 2016-10-27 17:46
jzfan
阅读(198)
推荐(0)
摘要:
You could update your index: and make sure it never shows as "updated" in your current repo.That means it won't ever been pushed, but it is still pres
阅读全文
posted @ 2016-10-13 16:51
jzfan
阅读(231)
推荐(0)
摘要:
http://blog.csdn.net/caib1109/article/details/51804687 我的系统环境: Ubuntu 16.04 64位 本文内容亲测可用, 请放心食用 使用淘宝镜像 淘宝镜像官网是https://npm.taobao.org/ 使用淘宝镜像前请自行安装好 np
阅读全文
posted @ 2016-10-12 10:08
jzfan
阅读(1275)
推荐(0)