Month: February 2020
New Laravel Project From Existing Files for Laravel on Existing Homestead
I already set up one project on Homestead using Laravel and have been working on it. Now I want to set up a second project also on Homestead and using Laravel, but want a separate setup. I already updated my Homestead.Yaml and did vagrant provision –reload:
Now just set up with local server on local root (default option when setting up project from existing files).… read more “New Laravel Project From Existing Files for Laravel on Existing Homestead”
Slot machines
Mark Sanford – a Good Boomer on Our Debt
Finally, our growing debt makes the American dream more elusive, and in doing so weakens us all. A trillion-dollar deficit is nothing more than a deferred tax bill for $1 trillion. For a country that was in part founded on the notion of no taxation without representation, how does this pilfering of future generations’ wealth possibly make sense?… read more “Mark Sanford – a Good Boomer on Our Debt”
WebCEO Add Competitors
I looked around for a way to add competitors manually in WebCEO and didn’t see it.
I found it as they leave a blank space to type in competitor names:
Good tweet series
https://mobile.twitter.com/G_S_Bhogal/status/1225561131122597896
Spinner Bike Chrono with Zwift
I have been getting some of the best workouts of my life with the spinner bike Chrono combined with Zwift. I think Zwift is intended to be used with a smart trainer or an actual bike on rollers… The community seems to be a lot of genuine bike racers. I think there are fair amount of people using stationary bikes though as well.… read more “Spinner Bike Chrono with Zwift”
Programmer Terror
is that feeling you get when you realize you fired off a process that doesn’t stop when you close the browser, doesn’t stop when you restart the IDE, and you have to shut down the machine itself.
PHPStorm Laravel Not Finding Alias Class for Laravel Goutte
I installed this package https://github.com/dweidner/laravel-goutte and followed the readme instructions. However, when I put this in my HomeController:
$crawler = Goutte::request('GET', 'https://duckduckgo.com/html/?q=Laravel'); $crawler->filter('.result__title .result__a')->each(function ($node) { dump($node->text()); }); return view('welcome');
I got an error “Undefined class Goutte”. When I mouseover Goutte in phpstorm, it only gives me the option to create a new class, not import a facade.… read more “PHPStorm Laravel Not Finding Alias Class for Laravel Goutte”
Xdebug Setup for PHPStorm for Laravel 6.x on Windows 10
This is my log of trying to get Xdebug to work on FPM (I gave up on CLI after a couple of hours). I want it to work on the PHPStorm version of terminal so I can do everything inside of PHPStorm without going to Git Bash. This is for Windows 10 and Laravel 6.x.
These settings work for me now:
sudo vim /etc/php/7.4/fpm/conf.d/20-xdebug.ini… read more “Xdebug Setup for PHPStorm for Laravel 6.x on Windows 10”