Mengdi Gao

Beijing

gao.md

T

Mar
25
comment Filters in Laravel 5
@Lloople Laravel 5 combined before / after filters into single Middleware, read the Laravel 5 documentation on Middleware.
Mar
23
comment PHPStorm Squawks on @return void for __construct()
Related links from JetBrains YouTrack and GitHub Issues.
Mar
22
awarded Supporter
Mar
22
awarded Autobiographer
Feb
21
revised Extract from DMG
added 286 characters in body
Feb
21
answered Extract from DMG
Feb
6
answered Where can I find the VMware vSphere client?
Feb
1
revised Laravel - Add trailing slash with Redirect::route()
Add notice.
Feb
1
answered Laravel - Add trailing slash with Redirect::route()
Jan
5
asked Commit to develop branch directly in Git Flow?
Dec
7
comment Lock Screen Command One-Liner
I collected an OS X App: **Lock Screen.app** based on this answer and somebody's work as detailed in the link, it simply wraps this code and add an beautiful icon, so we can run it directly, thank you.
Oct
29
awarded Yearling
Oct
29
awarded Autobiographer
Oct
29
comment Laravel Eloquent / fluent
As @iavery said, use ->toArray() since Laravel 4.
Oct
29
awarded Supporter
Oct
29
awarded Autobiographer
Oct
29
awarded Commentator
Oct
29
comment Managing relationships in Laravel, adhering to the repository pattern
Great, but shouldn't Repository returns eloquent model dependent results (i.e.: array)? Then why in the MovieService, there is some code operates the eloquent models directly ($director->movies()->associate($movie);).
Oct
23
comment double click and select the path(including '/') in Terminal.app
One more, Double-click and drag will do word by word selection instead of click and drag's letter by letter.
Oct
1
awarded Yearling
1 2 3 4 5