LETS ENCRYPT ON AWS LIGHTSAIL THE RIGHT WAY

Make use of free SSL certificates provided by Let’s Encrypt the right way. So you may wonder, the right way? What’s wrong with the original instructions from AWS? Well, they are outdated and since Let’s Encrypt certificates expire every 90 days, you’ll need to go through the AWS instructions at least once every 3 months, yes that’s what AWS recommends at the end of the article! Trust me, you will quickly forget about this routine, and it’s 2021, we can automate pretty much anything.

Read more

SHRINK GIT REPOSITORIES WITH REPO CLEANER

Within the landscape of all those wonderful CI/CD tools like Jenkins, GitLab, Azure DevOps, and many more, git became most likely a crucial building block for your DevOps strategy. When migrating to git from any other version control system you may -accidentally- migrate “as-is” without going through the learning curve beforehand. I understand, going through the steep learning curve of git, branching strategies, and merging strategies may not have your priority.

Read more

PTY ALLOCATION REQUEST FAILED ON CHANNEL 0

I’ve been running a VPS since 2013 and it recently got migrated to a new provider since the company I rented the VPS from got acquired by another company. Since this migration, I was unable to SSH into my server because of the PTY allocation request failed error. The server did not get a TTY or Interactive shell as most of you call it. The first step to login by forcing a TTY is fairly simple:

Read more

WORKING WITH MULTIPLE NPM REGISTRIES IN ONE PROJECT

Recently I was working on a project that depended on multiple npm registries. I quickly ended up with a broken build since all packages are fetched from the public npm registry by default (http://registry.npmjs.org/) and thus a 404 error was thrown for the private and other packages. Scopes to the rescue First, we have to tell npm where to find our private registry. Since every project can have it’s own private registry it’s a good practice to create a .

Read more

A TRUE (LIVING) STYLE GUIDE IN PRACTICE

A few days ago Exact hosted a UX meetup in their headquarter at Delft (The Netherlands). Since I was researching new methods and technologies in order to create a new (Living) Style Guide for Exact, UX’er Koert-Jan Kooijman asked me if I would like to present our current progress and, of course, I’d agreed. After my presentation about a ‘Living Style Guide in practice’ a few attendees asked if I would like to share my slides with them so, they could share it with their colleagues and friends as well.

Read more

HOW TO IMPLEMENT EMAIL VERIFICATION ON LARAVEL 5 1

So I struggle with this for a day or two. First I build the authentication system from scratch and created a new method to generate and verify the email token, worked pretty well. But why not using the authentication system which comes out of the box with Laravel 5? If you are using 5.1 you get the login throttling for free as well! So reason enough to rewrite the code and implement the email verification with the build in authentication system.

Read more