How to activate your Mac screensaver from the dock

A colleague of mine just approached me and asked How do I trigger the screensaver easier than moving my mouse to the corner of the screen? And I already had the answer, by clicking on a dock icon! I do…

How to use Array reduce() with objects

In my javascript code occasionally I have to loop through an array of objects, and keep a running total of one of their properties. Imagine having an array of objects such as: And you want to have a total sum…

Updating Node JS from NPM

Normally, you would have to visit the Node JS website to download an updated version of Node. This can be a bit slow and a pain. Why can’t Node JS update itself if you want it to? Well here’s a…

What’s the unary + operator?

During development recently I’ve been seeing statements like this in Javascript: What’s that plus (‘+’) symbol doing there, before the ‘new’¬†operator? Strangely, it wasn’t trivial to find out on google, as I only knew the symbol not the name, but…

More games I made in the past

Wow, this old game I started working on during final year of university. I was making it in actionscript and flash, but somehow never completed it, and now it lives in dead technology. A game I should adapt to a…

I now sell on Etsy

I’ve started my own shop on Etsy now. With my huge collection of vintage and retro comic books, I though I would sell the books, or sell upcycles of them. If you would like to visit my store, please follow…

New Theme

Hey all, I know I barely post but I chose a new and basic theme for my blog. Sometimes I think I have to spend time designing a whole theme or keep it quite snazzy but simple is best and…