• Embedding MSYS2 terminal in CLion (Windows)

    Using CLion for C++ development is pretty great for numerous reasons and on Windows, I prefer using Mingw-w64 for compilation. The easiest way to install it and manage libraries in my opinion is to use MSYS2. MSYS2 provides a terminal interface via mintty which works well but it gets annoying having to jump between CLion and a separate terminal window. CLion however provides a method of embedding a terminal within the CLion UI.

    Read more
  • Getting started with Jekyll blogging on Windows

    Jekyll is awesome. It is a framework built with Ruby that allows you to simply generate static websites using templates and simple formatting using markdown. GitHub Pages uses Jekyll. This blog is hosted on GitHub Pages actually (which I am really grateful for). It is coded in Ruby so the first thing to do when starting to use Jekyll from a Windows machine is to install Ruby.

    Read more
  • Getting started with C++ development on Windows

    Go to the MSYS2 website and download the installer appropriate for your system. You’ll need the msys2-i686-* installer for a 32bit version of Windows and the msys2-x86_64-* installer for 64bit Windows.

    Read more
  • How to reset a git repository

    So, you have a repo on git which you’re absolutely certain you won’t need to look through earlier commits? You want a simple reset of the repo with the current state of the code used as the initial commit? Sure, that’s easily doable. In just two lines actually.

    Read more