clubmate.fi

A good[ish] website

Web development blog, loads of UI and JavaScript topics

Self referencing object literal in JavaScript

In other words: how to access objects values within the object itself. Would be cool if this worked: But it won’t, a getter is needed…

Working with JavaScript arrays

Here’s a reference type of post on modify arrays with native JavaScript methods. Adding nodes and concatenating Arrays I’m shamelessly…

The intuitive and powerful forEach loop in JavaScript

The forEach loop for beginners, and how to use it with a nodeLists, and HTMLCollections. Array.prototype.forEach() So the forEach loop…

Common JavaScript array methods and Object.keys()

A lightweight introduction into some of array methods in JavaScript, and how work with objects in an iterative manner. Object.keys() Object…

Git: rebasing workflow and resolving merge conflicts

Simple rebase/merge workflow and how to deal with possible merge conflicts. So you're building a feature on a feature branch called some…

Git: move commits between branches with cherry-pick

Cherry-picking commits in Git is easy and straightforward, here’s how to do that. Basic usage of cherry-pick Take two branches: new-feature…

Git: checkout files or folders from another branch

You probably knew that a branch can be "checked out" with the command git checkout <branch-name> , but interestingly enough, a single file…

Git: handy branching commands

Here’s a little cheat sheet to help deal with branches. Listing branches List branches: List remote branches: List remote branches that are…

Git: stashing

Stashing is a great tool to make life with branches a bit more fluent. Rationale Scenario: you're building a new feature in a dedicated…

Tab complete Git commands and branches

Here’s a quick post on the awesomeness of tab completion, and how it can be applied to Git commands and branch names. 👉 See also: my…

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