Laravel: How to Use Migrations to Update a Table That Has An Enum Field
** Disclaimer: The only version of Laravel that this has actually been used/tested is 5.2. Seems the issue still exists in the new 5.3 release – but it’s likely due more to the doctrine/dbal package than the Laravel core. For update migrations, Laravel relies on the doctrine/dbal package to examine the columns and create the [...]
Manually Add SSL to ServerPilot on Digital Ocean & Force Redirect – Nginx
The solution for this was harder to find than it should be – probably because ServerPilot wants to preserve the need to upgrade to their paid plans, which is fair enough, but $10/month seems a bit steep just to handle SSL certificate installation (which is quite simple once you understand what you’re doing).
WebAppers: Best Free Open Source Web Resources
I’ve always been a big proponent of paying people for their work – the idea of giving away your time for free has always confused me; however, there is still a time and a place for Open Source resources. Let’s face it, without Open Source many of us wouldn’t have a job. With that said, a site that I use [...]
Stop Using Alerts To Troubleshoot JavaScript
I didn’t think this was common practice to use alerts for debugging anymore until I talked to another web dev friend of mine – he was still using alerts to test and debug heavy JavaScript applications. For simple debugging this method might be useful, but the headache of trying to debug issues with complex objects would be [...]
My Two Favourite Firefox Extensions
Usually these posts have a the generic, “10 best…”, “20 most useful…” – that’s not really my style. I wanted to write this because I genuinely love these extensions and as a web developer I use them on a daily basis. Although I don’t love Firefox, I’m just so used to it that [...]
Custom Styled Google Maps
It’s a powerful tool that almost every web developer uses at some point. The API makes it even more useful when you need to plot, for example, office locations. It has some pretty cool features, and it even lets you overlay images which is useful in its own ways.
Clear All Intervals & Timeouts
There isn’t a JavaScript built-in method for clearing all timeouts and intervals – which can be frustrating when you’re building a complex system that relies heavily on Ajax and interval/timeout calls.
“I’m an Impostor” By David Walsh
I read this blog post recently by a guy named David Walsh – no matter what anyone says, we’ve all been there. Constantly doubting ourselves, or assuming everyone around us must know more than we do. It’s hard to receive praise or accept that you’re doing good work when you’re in a constant feeling [...]
Create Beautiful URLs With mod_rewrite
You’ve got your website up, custom-built and it looks amazing. Except, of course, for that URL. You’ve heard of mod_rewrite, but the idea seems confusing and scary – I mean, regular expressions; hell.
Parsing Multidimensional Associative Arrays
It can be frustrating when you’re learning something new – you get stuck on what seems like an arguably simple task, such as parsing through an array. Multidimensional associative arrays are certainly different than your regular array, but parsing through them is just as simple (if not more-so).