Just a dump of handy live templates I use with IntelliJ. They should also work with WebStorm.
- Go to
settings
. - Search for
live templates
. - Under the javascript section you should be able to manage your templates.
cd MY_PROJECT_ROOT_DIR | |
git reset --hard HEAD | |
git checkout master | |
git pull | |
composer install | |
composer update | |
php artisan migrate | |
php artisan db:seed |
[2017-01-30 23:52:46] local.ERROR: League\OAuth2\Server\Exception\OAuthServerException: The user credentials were incorrect. in D:\www\laravel54-passport-demo-external-user\vendor\league\oauth2-server\src\Exception\OAuthServerException.php:120 | |
Stack trace: | |
#0 D:\www\laravel54-passport-demo-external-user\vendor\league\oauth2-server\src\Grant\PasswordGrant.php(98): League\OAuth2\Server\Exception\OAuthServerException::invalidCredentials() | |
#1 D:\www\laravel54-passport-demo-external-user\vendor\league\oauth2-server\src\Grant\PasswordGrant.php(53): League\OAuth2\Server\Grant\PasswordGrant->validateUser(Object(Zend\Diactoros\ServerRequest), Object(Laravel\Passport\Bridge\Client)) | |
#2 D:\www\laravel54-passport-demo-external-user\vendor\league\oauth2-server\src\AuthorizationServer.php(179): League\OAuth2\Server\Grant\PasswordGrant->respondToAccessTokenRequest(Object(Zend\Diactoros\ServerRequest), Object(League\OAuth2\Server\ResponseTypes\BearerTokenResponse), Object(DateInterval)) | |
#3 D:\www\laravel54-passport-demo-exte |
[2017-01-30 23:32:26] local.ERROR: League\OAuth2\Server\Exception\OAuthServerException: Client authentication failed in D:\www\laravel54-passport-demo-external-user\vendor\league\oauth2-server\src\Exception\OAuthServerException.php:94 | |
Stack trace: | |
#0 D:\www\laravel54-passport-demo-external-user\vendor\league\oauth2-server\src\Grant\AbstractGrant.php(164): League\OAuth2\Server\Exception\OAuthServerException::invalidClient() | |
#1 D:\www\laravel54-passport-demo-external-user\vendor\league\oauth2-server\src\Grant\PasswordGrant.php(51): League\OAuth2\Server\Grant\AbstractGrant->validateClient(Object(Zend\Diactoros\ServerRequest)) | |
#2 D:\www\laravel54-passport-demo-external-user\vendor\league\oauth2-server\src\AuthorizationServer.php(179): League\OAuth2\Server\Grant\PasswordGrant->respondToAccessTokenRequest(Object(Zend\Diactoros\ServerRequest), Object(League\OAuth2\Server\ResponseTypes\BearerTokenResponse), Object(DateInterval)) | |
#3 D:\www\laravel54-passport-demo-external-user\vendor\laravel\passport\src\Http\Controll |
0 info it worked if it ends with ok | |
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe', | |
1 verbose cli 'C:\\Users\\gandra\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js', | |
1 verbose cli 'install', | |
1 verbose cli '-g', | |
1 verbose cli 'angular-cli' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 verbose stack Error: Cannot find module 'internal/fs' | |
4 verbose stack at Function.Module._resolveFilename (module.js:470:15) |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |