clubmate.fi

A good[ish] website

Web development blog, loads of UI and JavaScript topics

Git: all about adding files to the staging area

Tricks and tips on adding files to staging area in Git. Using globs and limiting the scope of add, etc. Adding files in git. The following…

Lazyload inserted images in WordPress posts (without regex)

Look into a simple DOM parsing task with PHP, something that is more common to JavaScript. Here’s the basic mechanics behind a JavaScript…

Git: amending commits

How to amend commits. Tip: don’t amend remote commits. Amending commits If you forgot a small change from a commit, you probably don’t want…

Git: submodules

What’s a Git submodule? How to add, use and remove them? Plus some third party scripts to help deal with them in general. 2015-01-17 Added…

Install Node and npm to an Ubuntu box

This post looks how it’s best to install Node with nvm . Ideally, Node could be installed with $ apt-get install nodejs , but the node in…

How to build a custom lightweight jQuery

Size of jQuery can be reduced a bit by using the slim build. Slim build for jQuery 3.x version I think it was on the version 3.1.1 when…

Bower and Grunt: match made in heaven

Bower is great! But it only does one thing, that is to manage packages. We’ll need a bit help from Grunt to reach perfection. Here’s how to…

Update rsync on OSX with Homebrew

Quick guide on Homebrew and installing the latest version of rsync. I had to fiddle around and Google a bit to get the rsync installed via…

Mastering text selection with keyboard in VSCode, Atom, or Sublime Text

Here’s a list of handy keyboard shortcuts for selecting, copying, cutting, and pasting text in VSCode, Atom, or Sublime Text (they’re all…

How to build a custom zepto

Here's a quick guide on building a custom zepto from comfort of your command line. Either install Zepto to your project with Bower: Or clone…

  • © 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!