I struggled a but getting this running so I have decided to add my notes here to remind me as well as share with others who might go through the same isses.
$ npm run build
git push <your-remote> <your branch>I struggled a but getting this running so I have decided to add my notes here to remind me as well as share with others who might go through the same isses.
$ npm run build
git push <your-remote> <your branch>| <?php | |
| namespace App\Providers; | |
| use Illuminate\Database\Query\Builder; | |
| use Illuminate\Support\ServiceProvider; | |
| class DumpSqlServiceProvider extends ServiceProvider | |
| { | |
| public function boot() |
| <?php namespace App\Traits; | |
| use App\ActivityLog; | |
| use ReflectionClass; | |
| use Illuminate\Support\Facades\Auth; | |
| trait ModelActivity | |
| { | |
| /** Method automatically called by Eloquent **/ | |
| protected static function bootModelActivity() | |
| { | |
| foreach (static::getModelEvents() as $event) { |
| #!/bin/bash | |
| # Configuration for the script | |
| POSTFIX_CONFIG=/etc/postfix/main.cf | |
| POSTFIX_SASL=/etc/postfix/sasl_passwd | |
| function confirm () { | |
| read -r -p "${1:-Are you sure? [Y/n]} " response | |
| if [[ $response == "" || $response == "y" || $response == "Y" ]]; then | |
| echo 0; |
| <? | |
| ///////////////////// | |
| // slack2html | |
| // by @levelsio | |
| ///////////////////// | |
| // | |
| ///////////////////// | |
| // WHAT DOES THIS DO? | |
| ///////////////////// | |
| // |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| GET /products/_mapping?pretty=true | |
| GET /products_multi_tagged/_mapping?pretty=true | |
| POST products_multi_tagged/_search?pretty=true | |
| { | |
| "query": { | |
| "bool": { | |
| "should": [ | |
| { |
#Introduction If you're a php developer on ubuntu, there comes the time where you have to install/reinstall your system. I did it already a few times and i decided to write down the steps for a typical web developer stack with php. This is for a developer machine and not for a live environment!
I hope it helps you too!
fyi @mheiniger and me started with an installer here: https://github.com/mheiniger/webdev-setup
| <div class="modal hide fade" id="confirm-dialog"> | |
| <div class="modal-header"> | |
| <a class="close" data-dismiss="modal">×</a> | |
| <h3>Confirm</h3> | |
| </div> | |
| <div class="modal-body"> | |
| | |
| </div> | |
| <div class="modal-footer"> | |
| <a href="#" class="btn btn-danger">Ok</a> |