$ cd /path/to/Dockerfile
$ sudo docker build .
View running processes
| <?php | |
| namespace App\Http\Middleware; | |
| use Closure; | |
| use Illuminate\Http\Response; | |
| use Illuminate\Cache\RateLimiter; | |
| class ThrottleRequests | |
| { |
| /** | |
| * descructive | |
| * https://github.com/lodash/lodash/issues/1677 | |
| */ | |
| function toggle(collection, item) { | |
| var idx = _.indexOf(collection, item); | |
| if(idx !== -1) { | |
| collection.splice(idx, 1); | |
| } else { | |
| collection.push(item); |
| <?php | |
| /************************************************************************* | |
| * Get File Information | |
| */ | |
| // Assuming these come from some data source in your app | |
| $s3FileKey = 's3/key/path/to/file.ext'; | |
| $fileName = 'file.ext'; |
| <?php | |
| use Illuminate\Support\Facades\Schema; | |
| use Illuminate\Database\Schema\Blueprint; | |
| use Illuminate\Database\Migrations\Migration; | |
| class LaravelConditionalIndexMigration extends Migration | |
| { | |
| /** | |
| * Run the migrations. |
This is side-document providing details for some highlighted changes in 2.5.0. For a full list of changes, see the full release note.
Tip: Use sass-plus to compile Sass and add vendor prefixes automatically: https://www.npmjs.com/package/sass-plus
When setting these options consider the following:
sudo grep max_children /var/log/php?.?-fpm.log.1 /var/log/php?.?-fpm.log