Avoid Re-Running NPM/YARN in CMake targets

Introduction Despite all the webpacks and gulp and whatever build/package system you have in your npm/yarn project, chances are you have cmake that orchestrates your build. In my case, our organization requires project to be built/package by cmake, mainly to simplify our build system. Effectively reducing it to run: git clone <project url> cmake …… Continue reading Avoid Re-Running NPM/YARN in CMake targets

Published
Categorized as DevOps

Packaging Huge NodeJS file in RPM

My work involves managing and developing a NodeJS project. Recently, the whole project, including the npm dependencies have reached 1GB. This caused us to keep getting: Unable to create immutable headers After searching around, I found that Software Development at BBC has encountered the same problem and they made a Medium article about it.  But… Continue reading Packaging Huge NodeJS file in RPM

Chef on Rasperry Pi

I hope you are familiar with bash or C++‘s stream operator >>. If not, this post’s banner is not saying Chef is greater than Raspberry Pi, but rather, adding Chef to Raspberry Pi. In this post, I’ll do just that. I’m currently in a couple of job interviews in which some technical tasks are running on my 2… Continue reading Chef on Rasperry Pi

Solving ‘Permission denied’ when writing to Docker volume

Docker is one of those development projects that lived up to the hype. It allows you to package and ship your application, without having to worry as much about the deployment environment. Key phrase: “as much” Unfortunately, it is no silver bullet. Take for instance the Jenkins’ docker repository. When you decided to use this… Continue reading Solving ‘Permission denied’ when writing to Docker volume