clubmate.fi

A good[ish] website

Web development blog, loads of UI and JavaScript topics

How to use maps in Sass, syntax, examples, and other good things

Maps are so essential data type of Sass that it’s hard to imagine the time without them. LibSass also supports maps nowadays, so there’s no…

Easily understandable introduction to shell scripting with bash

This post outlines some basic Bash programming concepts, such as: passing in params to a script, what is the shebang, how to define…

Lists in Sass: syntax and use cases with examples

Sass has lists, which is a similar data structure to an Array or an Object. Lists in Sass are kind of like arrays, with slight differences…

Date archives for WordPress custom post types

This is one of the things that are really easy to do with built in post types, but requires extra work when custom post type is in use. If…

For, while, and each loops in Sass

Sass looping syntax guide. I got news for you, loops is Sass are not that different from other languages. for loops are pretty much the…

Symbolic links and hard links: creating, updating, deleting

This is a post about understanding linking. Terminology Symlink, symbolic link, or soft link: In computing, a symbolic link (also symlink or…

Enable plugin and theme updates over SFTP on WordPress

Here’s a quick post on making WordPress SFTP friendly. If using FTP, plugin and theme updates work and all is nice and dandy, but please god…

Replace strings in files with bash string manipulation and sed

With bash string manipulation it’s easy to replace strings in your scripts. And sed comes handy when replacing strings in multiple files…

Upgrade to bash 4 in Mac OS X

Bash 4 has some nice new features, and here’s how to update to Bash 4 on Mac. Install bash Bash version can be queried with the --version…

Remove and add class names from elements using pure JavaScript

CSS class names can be removed or added using the classList method, or they can modified straight with the className property. Using the…

  • © 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.
  • console.log('Smash the patriarchy!')
  • I love u!