Skip to content
crocodillon.

A developer’s field notes

Notes from
the web.

Little discoveries. Useful rabbit holes. Things learned by building.

By Dillon de Voor · The Netherlands

More field notes

All writing
  1. Giving Markdown a lead paragraph with remark

    A tiny remark plugin that adds Tailwind Typography’s lead class to the first paragraph of Markdown rendered with react-markdown.

    3 min read

  2. Reading query string values in JavaScript

    To get anything useful from window.location.search you need to parse it in JavaScript to get individual values.

    2 min read

  3. Asynchronous callbacks in Koa

    Trying to send an asynchronous response in Koa but all you get is “Error: Can't set headers after they are sent.”?

    3 min read

  4. Non-blocking web fonts using LocalStorage

    You want custom web fonts, but without the performance drawback? Read how to use a simple script to load base64 encoded web fonts in a non-blocking way and cache them in LocalStorage.

    5 min read

  5. Always catch LocalStorage security and quota exceeded errors

    Why you should always catch LocalStorage errors, and a cross-browser solution to catch the quota exceeded error.

    4 min read

  6. How to install SassC and LibSass on Ubuntu

    Install guide of SassC and LibSass, from cloning their repositories to a working setup.

    3 min read

  7. Parsing emoji Unicode in JavaScript

    JavaScript is limited in supporting emoji Unicode. This post describes the problem and a workaround.

    7 min read

  8. MongoDB for DBAs: CRUD

    Summary of the “MongoDB for DBAs” course at MongoDB University. Week 2 is about basic CRUD operations and administrative commands.

    10 min read

  9. MongoDB for DBAs: Introduction

    Summary of the “MongoDB for DBAs” course at MongoDB University. Week 1 is an introduction to MongoDB, not just how but also why.

    11 min read

  10. In JavaScript, almost anything is an expression

    Article about JavaScript expressions, operators and operator precedence.

    5 min read

  11. Welcome to my blog!

    First article to kickstart this blog and introduce myself.

    2 min read