by Lee Sherwood | Jan 18, 2022 | Programming
Have you ever needed to return a Promise that you can then resolve from a completely different part of your code? A lot of solutions online seem to suggest moving large amounts of code into your promise which is not ideal. Or you’re told you are “doing it...
by Lee Sherwood | Jun 7, 2018 | Programming
If you’ve ever tried to start up multiple Virtual Machines using Laravel Homestead, you may have encountered the following error: 1 Vagrant cannot forward the specified ports on this VM, since they would collide with some other application that is already...
by Lee Sherwood | Jun 28, 2016 | Programming
Update: The below also fixes this issue ERROR: OTP release 19 does not match required regex R15|R16|17|18 1 ERROR: OTP release 19 does not match required regex R15|R16|17|18 This happens because the latest release of ejabberd at the time of writing this update, has...
by Lee Sherwood | Jun 11, 2016 | Programming
I recently found myself needing to pull in configuration information from a Laravel installation into Laravel Elixir (or more specifically the Gulpfile). The reason for this was so that i could configure the source paths of the sass and javascript...
by Lee Sherwood | May 8, 2016 | Programming
Recently i was required to extract a count of registered users by some predefined age brackets for a simple statistics dashboard. Sounds like a simple task right? You’ve already got a good idea of the query you’d write in SQL? So did I, until i realised...