Here are some nice tips you can use while on the command line. This is not an exhaustive list. Bash commands sudo !! to redo the command above as sudo. (which is a special case of a wider rule) Use -x while running a script to have debug in...
Logging In your software, you want to log information for troubleshooting and make sure that everything behaves as it should. And in case an error occurred, to be able to find the root cause looking at the logs. There a multiple logging levels,...
We will be using the default java sockets to create a tcp server/client with Kotlin: import java.net.ServerSocket import java.net.Socket If you already know it in Java then no surprise, but since you might be interested in Ktor or the kotlin sy...
There are some information, that I feel are pertinent while messing around with a docker 🐳. May it be alone or to be deployed in a cluster. Here is my list of tips. Make that Docker run Let’s say you have an image named image to ease the annotat...
Introduction Jest is an Open source test framework developed by Facebook and compatible with a lot of framework. Jest is fast, and already pre-configured to get started with it. So it simply works for javascript. For typescript, you may need to...
Flexbox (Flexible Box Module) was designed as a one-dimensional layout model, meaning that you align and distribute item through one direction (either horizontal or vertical). It is very powerful and allow your layout to dynamically adjust based ...
Kafka ® is part of the apache foundation and is described as a distributed streaming platform that is used for building real-time data pipelines and streaming apps. It is horizontally scalable, fault-tolerant, wicked fast, and runs in production ...
Introduction Cypress is a testing tool using Mocha test framework under the hood. It runs as a browser application enabling cross browser testing. It works on MAC, Linux, Windows. But it also it means it is hard to test what is happening from the...
From the journey to tcp connection at sylhare/tcp. I thought it would ne nice to store it all here. Introduction TCP stands for Transfer Control Protocol. TCP is connection-oriented, meaning an exclusive connection must first be established be...
Kotlin is made by JetBrains (the same as that did IntelliJ the IDE). See their website here: Kotlin Getting started Check out some real examples at Sylhare/Kotlin! Project Structure Assuming you know how to work with Gradle. You need...