How to grant full privileges to a user in MySQL

Published

After setting up a lamp stack development environement with phpmyadmin locally on Linux you may notice that your phpmyadmin user (or other user name) doesn’t have the correct privileges to create new databases. To use the phpmyadmin user to create new databases and users for those databases you need to grant full privileges to the […]

Laravel php artisan make:auth command not defined

Published

Laravel

Laravel 6.0 LTS came with a lot of changes to the framework, apart from moving the the new Semantic Versioning, Laravels famous php artisan make:auth command was dropped. php artisan make:auth Before the Laravel make:auth command would create all the Migrations, Models, Controllers and Routes needed to easily setup an authenticatable application in seconds. However, […]

Apache2 startup failed: Permission denied in WSL

Published

Windows Subsystem for Linux

After updating to the latest version of Windows, build 1903, are you experiencing issues when starting up Apache2 through Windows SubSystem for Linux? Apache2 startup failed: Permission denied in WSL. (13)Permission denied: AH00072: make_sock: could not bind to address [::]:80 (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80 Follow the steps below to […]

Why you shouldn’t use a JavaScript Framework

Published

We’ve all been there. A new project has come in, and its time to plan how we are going to build it. Whether the project is client work, or R&D, most developer jump straight in with suggestions for their favourite framework. Sometimes the company will tell the development team which framework they’re going to use […]

WordPress wp-admin redirects to HTTPS

Published

Does your WordPress wp-admin redirect to https rather than http? Below is a simple tutorial to stop this from happening. First, check the siteurl in the wp_options table within your database. Make sure the option_value is your site address with http:// not https://. If your siteurl is set as http:// the try the following. Open […]

Angular Material Dialog

Published

Angular is an awesome framework, yet it does have a steep learning curve for many developers. This post is aimed at those with experience using Angular 2/4/5 who want to use the Angular Material Dialog. This post will assume you have already installed the @angular/material library. If you have I would refer you to take […]

5 Useful web development tools

Published

Whether your build a simple static website or a large ERP platform using many libraries or frameworks, we all love those simple web development tools that make life a little easier. Below I have gathered a few tools I use when developing, hopefully you can find them useful too: Browserling This site is super useful when […]

Bootstrap 4 Grid System broken in Safari

Published

Bootstrap JS and CSS framework

Are you having troubles with Bootstrap 4 Grid System in Safari? What used to work doesn’t seem to anymore within Safari. As the example below shows, this is how we usually create 3 columns within a row. <div class=”row”> <div class=”col-4″>Column 4</div> <div class=”col-4″>Column 4</div> <div class=”col-4″>Column 4</div> </div> However, in Safari, instead of these […]

Laravel – Specified key was too long Error

Published

With Laravel 5.4, some users may be hit with the Laravel Specified key was too long Error when migrating the database. This is because in the latest Laravel update, the developers made changes to the default database charset, making it utf8mb4. If your using MySQL 5.7.7 or higher, you won’t encounter this issue, however older versions of MySQL […]