Sam Mckenzie SM
  • Home
  • Work
  • Contact
  • Blog

Categories ShowHide

  • all
  • development
  • finance
  • guide
  • investing

Tags ShowHide

  • web
  • cloudflare
  • serverless
  • svelte
  • finance
  • tax
  • brokers
  • newsletter
  • mailing list
  • guide
  • cloudflare pages
  • deno
  • deno deploy
  • FSMA
  • banks
  • saas
  • netlify
  • hugo
  • caddy
  • March 8, 2023

    Using Cloudflare Workers to bypass CORS

    CORS is required for security reasons, but sometimes it can cause performance issues. Using a reverse proxy, I was able to circumvent CORS altogether and improve performance.

  • September 27, 2022

    Thinking stateless and serverless: designing a shareable to-do app

    I decided to build a stateless to-do app and shared my thought process on how I designed the app's architecture and code.

  • August 6, 2022

    Automatically calculate the TOB or Belgian transaction tax for Interactive Brokers or Trading212

    The Belgian stock-exchange transaction tax, also known as the TOB, is difficult to calculate. Luckily, I made a tool that calculates it for you. This post shows you when and how to declare and pay the tax.

  • July 30, 2022

    Designing a functional and secure finance web app

    I made a single-page application to calculate the Belgian stock market transaction tax. As the app deals with sensitive personal and financial information, one of the top priorites while designing the app was security. Bugs and security breaches are always bad but they are especially bad if the program is dealing with such sensitive information.

  • July 21, 2022

    Creating a free mail newsletter for Hugo and other static site generators

    I have created a very simple open-source script that allows you to create a free newsletter up to 1000 subscribers with MailerLite and Cloudflare Workers with minimal overhead. The necessary client-side scripts and templates are also provided along with an easy to integrate Hugo template.

  • July 14, 2022

    Comparing Cloudflare Workers with Deno Deploy

    Cloudflare Workers and Deno Deploy are both cutting edge serverless computing platforms. In some ways, they are very similar. For example, both platforms implement web APIs such as fetch which are also used in browsers. In other ways, such as package management, they are quite different. This blog post compares the two platforms.

  • March 27, 2022

    Why the Belgian transaction tax is so confusing

    It boils down to one thing: financial authorities not using the correct identifiers for securities

  • July 16, 2021

    What I learned from my failed SaaS business

    I worked a year on a SaaS project. Even though it failed, there are some very valuable lessons that I learned.

  • December 30, 2020

    Configuring Netlify for a multilingual Hugo site

    Hugo has pretty great support for multilingual content, but there are a few things you should do to actually serve the correct content to your visitors.

  • July 10, 2020

    How to use Caddy with Cloudflare's SSL settings

    Cloudflare is one of the most used reverse proxies on the internet. There are a number of different ways to configure your SSL and TLS settings on Cloudflare as well as Caddy. In this post, I will explain how you can configure your Caddy server to work properly with Cloudflare.

  • About
  • Work
  • Contact
  • Blog