clubmate.fi

A good[ish] website

Web development blog, loads of UI and JavaScript topics

RequireJS part 2: optimizing scripts with r.js

This sequel post peeks under the hood of RequireJS optimization with r.js and gulp. ℹ️ You might want to read the first part of the…

JavaScript: check if function parameter is a string or an object

If a function takes a DOM element as a parameter, it can be a string, or a jQuery object , for example. Or why not both? With a small…

Git: dealing with branches, merging and rebasing

Here's how to make, delete, list, and use branches. Plus solutions to some hairy branching scenarios you might find yourself in. Branching…

Print a bash command output into a file

This post shows how to redirect an output of a command, or static text, into a file. The redirection operator > or >> Print string into a…

A lesson in Sass Maps: make Sass media queries talk to JavaScript

Get media queries to JavaScript from a Sass file. Here’s a little experiment of mine. Remember the technique , from few years back, where…

@import and globbing in Sass

Here’s a short post on how to use the @import directive in Sass, also how to beef it up with Gulp. There’s not too much meat around @import…

Opening the matryoshka: pointless package management hell

This is a post about package managers, what are they and how to get started using them. Totally not pointless, nor hell , I was just click…

Using pseudographics in blog posts: drawing ASCII diagrams and boxes

You don’t always have to go for the Illustrator or Photoshop to draw a diagram for a blog post. Unicode provides some box drawing characters…

Easier GitHub interactions with Hub

Have you ever wished it would be possible to initiate a remote repository right from the prompt? With Hub it’s possible. Hub is really nice…

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…

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