Handling FontFaceSet.entries() result not being iterable in Firefox
By Sidney Liebrand on Nov 29, 2022•3 min readThis post describes how to deal with a bug in Firefox where it fails to properly identify the result of FontFaceSet.entries()
as an actual iterable object.
Building a Next.js page load progress bar
By Sidney Liebrand on Apr 18, 2021•7 min readI've seen a fair few tutorials on building a page load progress bar for Next.js applications but most of them use the external library NProgress. While NProgress is a very nice general purpose library we can also build our own 'cheap' progress bar without using any library!
How I became a web developer
By Sidney Liebrand on Mar 29, 2021•20 min readEven though I always knew I wanted to do something with computers, I was certain I could never become a web developer. This post will be my attempt at explaining how I got there anyway :)
Converting .gif to web-safe video formats using ffmpeg
By Sidney Liebrand on Feb 14, 2021•3 min readThis post shows how to convert .gif images to web-safe video formats using ffmpeg cli. These formats produce smaller files which means less data to load!
Creating my own vim statusline
By Sidney Liebrand on May 21, 2020•10 min readRecently I decided to clean up my vim plugins once again, I do not think I use too many but I prefer to keep my setup simple. One of the things which bothered me was the configuration for lightline.vim in my vim config. It seemed needlessly complex and I wondered if I could recreate it without any plugins at all!
Fixing audio configuration after upgrading Ubuntu
By Sidney Liebrand on May 20, 2020•1 min readIt is never fun when stuff breaks! This post is about me fixing some audio deficiencies after upgrading Ubuntu.
And your metered paywall isn't part of my story, Medium
By Sidney Liebrand on Jun 10, 2019•3 min readI've been greeted by the same "Your story isn't part of the metered paywall" message for a while now, and figured it was time to make a change in the right direction.
Recruiters who call during working hours
By Sidney Liebrand on Sept 1, 2018•6 min readAny kind of cold-call from some random recruiter or sales rep is annoying enough as is. Imagine my frustration when I got a call from a recruiter who called on the company phone in the middle of a working day!
Codi.vim + fullscreen buffer
By Sidney Liebrand on Aug 27, 2018•4 min readLearn how to set up Codi.vim to create a fullscreen scratch buffer that also works with Vim splits. We will take a look at wrapping the Codi
command and improving the buffer name(s) as seen in :ls
.
Vim tip: persistent undo
By Sidney Liebrand on Aug 4, 2018•4 min readUsually, when you open a file in your editor, make some changes, save and close, you lose the ability to ctrl+Z. Vim has a built in mechanism to persist changes made to files on disk. This may not sound that exciting, but what if your editor crashes while you have a set of changes you may want to revert stored?
How FZF and ripgrep improved my workflow
By Sidney Liebrand on Jun 24, 2018•11 min readIn my never ending quest for simplicity I recently discovered FZF and ripgrep. Two command-line tools that have the potential to make every dag programming tasks easier. In this post I will explain how I use these tools to do things in a matter of keystrokes rather than having to re-google that command you keep forgetting every. single. time..
The greatnesses and gotchas of YAML
By Sidney Liebrand on Dec 23, 2017•13 min readYAML is a great language for configuration files, it is a lot more flexible than JSON with comments and inheritance for example. While I was doing some research about YAML I found bits of information scattered all over the place so I attempted to piece the great things and the quirks together in a post!
A collection of Vim key binds
By Sidney Liebrand on Sept 16, 2017•7 min readIn my never ending quest for an optimal Vim setup I am always looking for ways to improve. I've used Vim for about two months now and I'm still learning a lot. In this post I'm going to take you through a part of my .vimrc that describes my non-plugin key binds.
Combining Caniuse with FZF
By Sidney Liebrand on Sept 3, 2017•6 min readThere is caniuse.com which you can use to search online, but what if you're a lazy dev like me that likes to keep his stuff in the terminal? Well, for this reason I wrote a small wrapper using some of my all time favorite tools: Ruby and FZF!
Switching to ASDF version manager
By Sidney Liebrand on Aug 15, 2017•5 min readDepending on how many languages you program in, getting all their version managers installed, added to $PATH
, configured etc... becomes quite a pain when setting up a new system, or even figuring out how this one works because you've used something else for a while.