registerAndActivate(array)
findById(int) update(Obj user, array) getUser() findByCredentials(array)
| data:text/html, <html contenteditable> |
| {"page":1,"pageSize":20,"pageCount":25,"totalCount":489,"upCount":182,"downCount":212,"steadyCount":95,"itemCount":20,"items":[{"symbol":"1al.asx","tz":"AEST","desc":{"name":"Oneall International Ltd"},"units":"PRICE","tickTable":"0.001<0.1,0.005<2,0.010","fundamentals":{"sharesIssued":129000000},"quote":{"change":-0.01,"price":0.97,"high":0.97,"low":0.97,"volume":1000,"pctChange":-1.02},"currency":"AUD","averages":{"year":{"open":0.99}}}, | |
| {"desc":{"name":"3P Learning Ltd"},"symbol":"3pl.asx","fundamentals":{"sharesIssued":139134170},"averages":{"year":{"open":0.935}},"quote":{"change":0.04,"price":1.06,"high":1.08,"low":1.03,"volume":109761,"pctChange":3.922}}, | |
| {"desc":{"name":"88 Energy Ltd"},"symbol":"88e.asx","fundamentals":{"sharesIssued":4649363932},"averages":{"year":{"open":0.039}},"quote":{"change":0,"price":0.032,"high":0.033,"low":0.032,"volume":4766189,"pctChange":0}}, | |
| {"desc":{"name":"The a2 Milk Company"},"symbol":"a2m.asx","fundamentals":{"sharesIssued":723089067},"averages":{"year":{"open":1.8 |
| ```php | |
| $this->assertTrue(true) | |
| ``` | |
| ```php | |
| $this->assertFalse(false) | |
| ``` | |
| <?php | |
| // https://github.com/rappasoft/laravel-helpers | |
| $arr = [ | |
| 'a' => [ | |
| 'b' => 'b1', | |
| 'c' => 'c1', | |
| ], | |
| 'd' => [ | |
| 'd1', | |
| 'd2', |
| # custom PhpStorm VM options | |
| ## Comm Setting | |
| -Xms512m | |
| -Xmx2048m | |
| -XX:ReservedCodeCacheSize=240m | |
| ## Mac OS Setting | |
| -XX:+UseCompressedOops |
| \DB::enableQueryLog(); | |
| // query | |
| print_r(DB::getQueryLog()); | |
| // log | |
| \Log::info(\DB::getQueryLog()); |
Initial git repo
git init
Config user name
git config user.name "Name"
Config user email
git config user.email "[email protected]"
| Storage::disk('s3')->getDriver()->put('filename', 'randomdata', ['ServerSideEncryption' => 'AES256']); |
open ~/.bashrc in text editor and uncomment line:
#force_color_prompt=yes
to be:
force_color_prompt=yes