Java’s functional interface is available since v1.8. It allows you to leverage lambda function’s possibilities. We already talked about parametrized java function where we were also utilizing the lambdas. So to add a twist, we’re going to add som...
Since Jekyll has so many possibilities, and I have been blogging with it for years now, I wanted to get some stats 📊 out of this blog. Inspired by Raymond Camden, I decided to give it a try and build my own stat page. Implementation This stat...
One of the most frustrating source of errors with Python is a result of environment mismanagement. So let’s review some pain points, and how to correctly set up Python on macOS, and use virtual environments. Examples Mixing Python version One c...
Some context before getting into it… SQL is a domain specific language used to manage data held in relational database management system (RDBMS). It is excellent for structured data. Not to confuse with “noSQL Database” which refers to a non-rela...
Context Let’s say you have two accounts (or more) in a git hosted service: A public GitHub account 👨💻 Another private account 🕵️️ (could be GitHub, Gitlab, BitBucket, …) Also, you want to have a separate SSH key for each of your account...
Optional is available since Java 8 in java.util. An optional is like a wrapper for an object with some extra methods to execute based on the existence of the value. It is close looking to the ? elvis operator in Kotlin but in a more verbose way. ...
In some occasion you can’t work with only the master main branch. For example when working with open source, the upstream repository is not owned by you. So in order to add your contribution you’d likely need to fork it and make a pull request. ...
Let’s start from scratch on a macOS environment from the installation of ruby to actually running the theme. The jekyll theme that we will be running is Type-on-Strap. If you are on a different operating system and have issues check out the Jekyll...
iTerm2 is a terminal replacement that works for newer version of macOS. Since macOS X Catalina (10.15) the default shell uses Z shell aka zsh. The Z shell adds some cool functionalities compared to the traditional bash shell. One of them is the e...
JavaScript is a very permissive (some would say multi-paradigm) programmatic language and its syntax can be quite intriguing when you have never heard of the EcmaScript (ES) specification or certain programming style. So here I have compiled some...