clubmate.fi

A good[ish] website

Web development blog, loads of UI and JavaScript topics

How to use secure copy to copy files from local machine to a remote, and tab complete the remote server directories

The classic method is to use Cyberduck (or other sftp client) for moving a files to a server. But the scp bash command let’s you do all…

Bower and Gulp: match made in heaven (also)

This is kind of a sequel post to "Bower and Grunt: match made in heaven". With Gulp things are even better. If you’re unsure what’s Bower…

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…

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