Setting Up Xdebug On Laravel Homestead With PHP 7

At the time of writing this, the latest version of Laravel Homestead (4.0) comes packaged with PHP 7 and Xdebug 2.4.0RC3. However, it’s not configured for remote debugging. Follow the steps below to properly setup Xdebug. First, ssh into the vagrant box and append the content below to the /etc/php/mods-available/xdebug.ini file. xdebug.idekey = “phpstorm” xdebug.remote_enable…

READ MORE

Get That Laptop Off Your Lap!

emf-health-risks

Most people are scared to stand in front of a microwave because of the radiation it emits, but they won’t think twice about resting a laptop on their lap for hours on end. It’s scary, but most of us have turned our homes into something more harmful than a microwave….

READ MORE

WordPress Infinite 301 Redirect Loop

Depending on your current environment setup, there’s a chance you’ll come across an infinite 301 redirect loop when installing WordPress.  If you do, there’s a simple temporary solution to fix the problem. Place this line of code in your theme’s functions.php file. remove_filter( ‘template_redirect’, ‘redirect_canonical’ ); This will prevent the redirection…

READ MORE

Bulletproof® Upgraded™ MCT Oil

images

MCT (Medium-Chain Triglycerides) oil is extracted from palm and coconut oil. It has barely any flavor, so it can be added to your coffee, protein shake, or pretty much anything else you can think of. MCT oil has a ton of health benefits including short-term memory gain, enhanced focus, increased…

READ MORE