git
Create a Branch and Switch to it in Git
You probably already figured this one out if you use git. But if you’re new to all of those awesome git tricks, well, here you go. I always forget to checkout the branch I just created, so having it wrapped up in a single command is absolutely perfect. git checkout -b [name of new branch] [...]
Warning (512): Cache not configured properly. Please check Cache::config(); in APP/config/core.php [CORE\cake\libs\configure.php, line 663]
I was working with cake php recently and I came across these three errors: Warning (512): Cache not configured properly. Please check Cache::config(); in APP/config/core.php [CORE\cake\libs\configure.php, line 663] Warning (2): array_merge() [function.array-merge]: Argument #1 is not an array [CORE\cake\libs\configure.php, line 684] Warning (2): array_merge() [function.array-merge]: Argument #1 is not an array [CORE\cake\libs\configure.php, line 691] What could’ve [...]
Git Cheat Sheets
If you’re new to Git or need a refresher every now and then, you should get a cheatsheet. These handy things are great to help you remember that you need to type git add . before you type git commit or that you could do those both with just git commit -a. I found two [...]