• Articles
  • Inspiration
  • About us
  • Open Source
  • Jobs
Avatar of Harmen Janssen

Harmen Janssen

  • View on GitHub
  • Follow on Twitter

Harmen

It’s me, Harmen!

Gets turned on by

#functional-programming #vim #git #jazz

Website

https://www.whatstyle.net

Posts by Harmen:

  • October 29, 2024

    How to use Laravel Sanctum for SPA authentication

    Learn how to set up and use Laravel Sanctum for secure SPA authentication in your projects.

    8 min read
  • February 26, 2024

    How to use map, filter, and reduce in JavaScript

    A tutorial about the three most important functions in JavaScript.

    13 min read
  • December 18, 2023

    Blurring the lines between front-end and back-end development

    An end-of-year reflection on our development team.

    8 min read
  • May 23, 2023

    How to use Proxy objects in TypeScript

    What are Proxy objects and how can you use them with TypeScript?

    9 min read
  • October 20, 2022

    How to manage staging and production environments in Netlify

    Organise your environments like a pro.

    7 min read
  • August 24, 2022

    The smallest PHP version switcher

    A really quick PHP version switcher built with Homebrew

    4 min read
  • August 9, 2022

    Deploying your PHP application to an Amazon Auto Scaling Group with Deployer

    This article tells you how to deploy your PHP application to an Amazon ASG, using Deployer.

    9 min read
  • May 2, 2022

    Statically analyze your Laravel 9 application with PHPStan

    This article shows how to enrich your Laravel application with type hints so you can reap the benefits of static analysis.

    12 min read
  • April 25, 2022

    How to set CORS headers on your S3 bucket

    CORS rules can be finicky. This post is a quick reminder of how to open up your bucket using CORS.

    5 min read
  • February 27, 2022

    How to rename your "master" branch to "main"

    In the spirit of inclusive language, we happily follow the trend of moving towards the name "main" instead of "master" for our default Git branches.

    6 min read
  • November 29, 2021

    Making TypeScript's Partial type work for nested objects

    The Partial type is a great idea, but doesn't work for nested objects. This article will show you how to fix that.

    8 min read
  • October 6, 2021

    Performing A/B tests on static websites using Cloudfront and Lambda@Edge

    How do you perform A/B experiments when your site is static?

    9 min read
  • July 30, 2021

    How to ensure only a single model has a certain value in Laravel?

    What if only a single record in your database is allowed to have a certain value for a given property?

    6 min read
  • February 2, 2021

    Validating a multi-column unique key in Laravel Nova

    How do you incorporate the rules for a unique key consisting of multiple columns in Laravel Nova?

    6 min read
  • May 20, 2020

    We're hiring!

    GRRR is looking for a front-end developer.

    3 min read
  • March 17, 2020

    Programmatically switch dark mode in MacOS

    An epic weapon in the epic battle between light and dark!

    6 min read
  • December 3, 2019

    Case Study: Serverless architecture for The Ocean Cleanup

    Migrating from a dynamic monolithic CMS approach to a statically hosted WordPress site with microservices.

    10 min read
  • June 17, 2019

    Redirect www to non-www using CloudFront and Lambda@Edge

    Redirect your static site to a canonical hostname using Lambda@Edge.

    8 min read
  • May 25, 2019

    How to use JavaScript getters and setters

    A quick primer on JavaScript getters and setters.

    6 min read
  • March 13, 2019

    Introducing Hansel, runner of handlers and enhancers

    Hansel packages the way we bind behavior to a page.

    6 min read
  • November 11, 2018

    Npx is cool... but why not use a relative $PATH?

    Use a flexible $PATH to resolve executables in any language.

    5 min read
  • July 29, 2018

    Challenges with doing recursion in PHP

    Struggles and successes.

    9 min read
  • May 31, 2018

    Auto-deploy with Travis CI

    An auto-deploy strategy using Travis CI and Git tags.

    6 min read
  • July 14, 2017

    Git feature branches

    The way we work with git feature branches.

    10 min read

Interested in our work? Visit our regular website or check us out on GitHub and X.