Reaching the Memory Limit Running Laravel Valet

php memory limit ini file

If you ever get this error “PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted ” while running Laravel Valet, check out the path below for Mac users. It seems that this is the specific memory-limit ini file that Valet uses, and you can edit the memory limits there. /usr/local/etc/php/7.0/conf.d/php-memory-limits.ini Note that 7.0 is the … Read more

Npm How to Reinstall Node Modules Packages (package.json)

Sometimes you need to reset node modules package, a common method to clear out any potential errors. Use the following command in the terminal to remove the folder and contents and reinstall packages. You can also do npm update instead of the above, but this will not work if there are no new packages.

How to add composer vendor bin directory in your path

Go to  ~/.bash_profile Add composer’s bin directory to the system path by placing export PATH=”$HOME/.composer/vendor/bin:$PATH” into your ~/.bash_profile (Mac OS users) or into your ~/.bashrc (Linux users). You can use any text editor to add this line to the file or create a new “.bash_profile” file if you do not already have one.

Laravel CRUD API and Vue Front End

Demo Link: http://phpstack-238576-836634.cloudwaysapps.com/ GitHub Link: https://github.com/BlackDeer/laravel-crud-api I made a Laravel CRUD API using Laravel Resources. It does basic blog CRUD functions with a Vue front end. Cool.

Laravel Nginx and MySQL with Docker

Handy guide from Digital Ocean on how to set up the three containers. The only discrepancy I found was that nano wasn’t included in the containers, so you’ll have to use vim instead. https://www.digitalocean.com/community/tutorials/how-to-set-up-laravel-nginx-and-mysql-with-docker-compose

Book List App

Just a short codepen I made for adding and deleting a list of books in js. Utilizes local storage. See the Pen Book List App by Yohan (@yo) on CodePen.

Learning How to Learn: A Review

About the course Learning How to Learn is a Coursera course taught by Dr. Barbara Oakley from McMaster University and Dr. Terrence Sejnowski of UC San Diego. The course teaches proven learning techniques backed by modern science and can be used to master a variety of subject. This course gives you easy access to the … Read more