Developers are increasingly working across multiple projects, and we need a sane method of changing contexts within our local development environment very quickly – or running them all at once – to remain efficient. Keep reading to learn how to run an Nginx proxy on your local machine to shepherd requests to port 80 to other apps running on various ports, using the path of the request to determine which app to forward to.Read more ⇨
The linter-phpmd plugin for Atom is popular with PHP and WordPress developers, but it relies on having phpmd installed and available on your PATH. Without it, you might see an error: “[Linter] Error running PHPMD Error: Failed to spawn command `phpmd`. Make sure `phpmd` is installed and on your PATH”
If you’ve seen this error in your Atom Developer Tools, the fix is quite simple …Read more ⇨
Have you seen your WebDriver tests fail with vague errors or timeouts when trying to locate and interact with elements on your page?
Following the best practices in this post will help you minimize random failures while running automated browser tests via WebDriver.io and Selenium.Read more ⇨
I never mind reviewing PRs from my coworkers, but I do want to minimize interruptions knowing I typically have other tasks in-flight. To help make the overhead of switching contexts (and branches) more efficient, try using the git pr command found in https://github.com/tj/git-extras …Read more ⇨
I was spinning up a new website using one of my favorite WordPress stacks built on Trellis and Vagrant, when I encountered the following error: “The box ‘bento/ubuntu-16.04’ could not be found or could not be accessed in the remote catalog.”
I had recently updated Vagrant from 1.8.5 to 1.8.7, and had also recently started using Ubuntu 16.04 for my new projects, updating from the previous LTS version 14.04 I had relied on for years.
Here is how I fixed it …Read more ⇨
[error] FastCGI sent in stderr: “PHP message: PHP Fatal error: Class ‘gkn\App’ not found.
Here’s how to solve one of the more frustrating auto-loader errors I’ve encountered in Composer.Read more ⇨
Developers love to launch. It’s the culmination of weeks or months of work (if it’s years, you better be building an operating system) and the public is about to see what you’ve created. But it’s far from the end of your big release.
And if you’re juggling multiple projects, it’s tempting to wipe your hands clean after a site or app launches, and change your full focus to a new project.Read more ⇨