"Normally", these instructions should be also valid (in similar way) for other Linux distros.
1.- Install Xdebug using pacman:
sudo pacman -Sy xdebug| I'll start with the basics and proceed to addressing the common problems | |
| faced while setting up private channels with laravel-echo & laravel-echo-server. | |
| If you are getting these errors while setup; 401, 403, 419 etc, as I did in my experience. | |
| this gist will help you fix these errors. | |
| Although this gist addresses common problems of laravel-echo-server setup, some problems are similar with Pusher setup. | |
| So it might also be useful if you're having problems with setting up Pusher with Echo. | |
| I'll try to cover eveything and try to use appropriate highlighting to single out each common problem. |
| #!/bin/bash | |
| # | |
| # A script to update your /etc/hosts file from minikube ingest records | |
| # | |
| # Installation | |
| # ------------ | |
| # curl -L https://gist.github.com/jacobtomlinson/4b835d807ebcea73c6c8f602613803d4/raw/minikube-update-hosts.sh > /usr/local/bin/minikube-update-hosts | |
| # chmod +x /usr/local/bin/minikube-update-hosts | |
| set -e |
| <?php | |
| namespace App\Providers; | |
| use Illuminate\Support\Collection; | |
| use Illuminate\Pagination\LengthAwarePaginator; | |
| class AppServiceProvider extends ServiceProvider | |
| { | |
| public function boot() |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <ruleset name="Laravel and similar phpmd ruleset" | |
| xmlns="http://pmd.sf.net/ruleset/1.0.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd" | |
| xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd"> | |
| <description> | |
| Inspired by https://github.com/phpmd/phpmd/issues/137 | |
| using http://phpmd.org/documentation/creating-a-ruleset.html | |
| </description> |
| <div class="row" id="box-search"> | |
| <div class="thumbnail text-center"> | |
| <img src="img/cafe.jpg" alt="" class="img-responsive"> | |
| <div class="caption"> | |
| <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab, quisquam?</p> | |
| </div> | |
| </div> | |
| </div> |
| UseCanonicalName Off | |
| <VirtualHost *:80> | |
| ServerAdmin nobody@example.com | |
| ServerAlias *.example.com | |
| VirtualDocumentRoot /var/www/%1/public | |
| DirectoryIndex index.php index.htm index.html | |
| <Directory /var/www/*/public/> | |
| AllowOverride All | |
| </Directory> |