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: GitHub Link: 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.

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

Setting Up Virtual Hosts on a Mac

I ran into some trouble running through different tutorials to setup virtual hosts while setting up a local Laravel site. There doesn’t seem to be much consensus on the developers’ preferred local environment. So here’s how to setup virtual hosts on a mac with MAMP. From what I understand this let’s you use a “virtual” … Read more