npm update will not work if there are no new packages.
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).
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
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
How to set up a child theme There are a number of tutorials that go over how to set up a child theme. I should know by this point, but there are a few frequent mistakes that are both crucial to the setup process and that other tutorials fail to make explicit. Short-hand list for … Read more
I finally finished the Object Oriented PHP Track! That finished everything I wanted to learn about PHP within Team Treehouse. It’s a huge milestone for me and I’m excited to move on to the next phase of my learning. But what did I think about the OOP track? In, short I felt that the track … Read more
Class Abstract Class Interface Instantiated ✔ X X Extend/Implement Multiple X X ✔ Contract X ✔ ✔ Implementation ✔ ✔ X Single Place Versioning ✔ ✔ X All Methods Public (Access Modifiers) X X ✔ Properties ✔ ✔ X Constants ✔ ✔ ✔ Overridable Constant ✔ ✔ X Type Checked ✔ ✔ ✔ Abstract Class … Read more
Introduction I started with almost zero PHP knowledge beyond copying and pasting snippets of code into WordPress. Team Treehouse’s Beginner’s PHP course gave me the fundamental background on how PHP, and programming in general, works. The Intermediate PHP course gave me the nitty gritty deep dive into the intricacies and quirks of PHP. Before I … Read more
This is a handy cheat sheet for simple SQL reporting. Ordering Columns Ordering by a single column criteria: SELECT * FROM <table name> ORDER BY <column> [ASC|DESC]; ASC is used to order results in ascending order. DESC is used to order results in descending order. Examples: SELECT * FROM books ORDER BY title ASC;SELECT * … Read more