clubmate.fi

A good[ish] website

Web development blog, loads of UI and JavaScript topics

Super simple static site deployment bash script, that keeps Git in sync

An uncomplicated deploy script that doesn’t use Git, but still keeps your upstream Git repo up-to-date with the live server. I’ve been using…

Block bad bots in your robots.txt

This post shows how to block bad bots in your robots.txt file. And it tries to figure out if it does anything? Spoiler alert, probably not…

What does the preload attribute actually do in the HTML video element?

The html video element’s preload attribute can have three values: metadata , auto , or none . This post explains what they do and why…

Copying text into the system’s clipboard with JavaScript

Here’s a post that looks into how to programmatically copy text from the DOM using JavaScript. I’m going to use React as a library, but this…

Find out what takes space on the hard drive, in a Linux/Unix machine

I was just struggling with a machine that was totally out of space. Here’s some ways to figure out what is hogging the storage real estate…

New blog. Test post, ignore

I just did an update on this website (finally), and churned out some new posts. This post will act as a primitive style guide and as a…

Master tmux in just... like 20 minutes or so

I’m going to teach myself to use tmux and will document it here. Tmux stands for Terminal Multiplexer, it’s basically the same as screen…

Converting heavy gifs to lighter gif-like videos

Here’s a little guide on how to convert large animated gifs into lighter videos. We’re going to do that with ffmpeg command line tool, or…

Easily digestible introduction to Regex in JavaScript

An easily approachable but complete look into Regex for beginners and intermediates (probably). Intro "Let’s learn Regex," I said…

How to write a good RFC

A guide for the modern office dweller on how to write a compelling RFC. So you want to introduce a change in the codebase, maybe it’s a…

  • © 2021 Antti Hiljá
  • About
  • Follow me in Twatter → @hiljaa
  • All rights reserved yadda yadda.
  • I can put just about anything here, no one reads the footer anyways.
  • I love u!