In this article, we will go straight to the point for creating a typescript project from scratch, with Jasmine as a unit test framework, and webpack as a source bundler. The tutorial will be explained step by step with relevant commands.

Initially, my need was to have an easy typescript project setup so I can quickly implement any idea or train with a TDD (Test Driven Development) approach. But I couldn’t find a single and easy tutorial out there. Many of them were useless, confusing or time consuming. Confusing because lots of unnecessary dependencies are often required to be installed although the author doesn’t explain why… So my challenge here is to share my project setup with you in the most effective way so you’ll save your precious time and have a minimalist but efficient way to have a typescript project with a testing environment enabling unit tests implementation. …


Fin 2019, j’ai eu l’opportunité de me rendre aux Etats-Unis pour un voyage professionnel. Quitte à parcourir autant de km, j’en ai profité pour organiser un roadtrip de 4jours, en parcourant des sites d’exceptions et des paysages à couper le souffle. Je ne vous cache pas que l’organisation et l’optimisation d’un tel parcours m’a prit un certain temps, raison pour laquelle j’ai décidé de partager ce voyage avec vous, notamment les lieux à visiter, les logements où résider, les distances à parcourir… Mon périple me réserva également quelques surprises, notamment une super tempête de neige, brutale, polaire et d’une intensité exceptionnelle. …


In the era of cloud services on demand, you may ask : why bothering to dockerize your app while you can deploy your frontend on a static AWS S3 hosting, your backend on lambdas, your API on AWS API gateway and your database on RDS ? Simply because it’s worth knowing how easy it is to actually create a fullstack app and deploy it all on a single hosting using docker compose orchestration.

Image for post

For my side projects, I’m using a very basic hosting provider which is a dedicated server for less than few bucks a month running ubuntu server. I like using it to test side projects and for conveniency, I dockerize all the components and use docker compose to orchestrate all the containers. The main goal here is to deploy quickly your app for testing and experimenting on the field, rather than dealing with distributed services. …


Many developers focus on the beauty of technical creation, where the main goal is to produce the desired features. However, I learned the hard way that if nobody is using your creation, then there is no point creating it. It’s a pure waste of time and energy. The solo developer that I am had to enhance its skills beyond programming, and especially towards digital marketing.

I will briefly explain in this article what are, from my point of view, the key points to focus on when creating any Advertisement promoting your product or service.

Marketing

Market-ing is, simply said, the art of promoting your product/service into the market. A way better definition that I would suggest is the one given by the neuroscientist Idriss Aberkane in its French book “Libérez votre cerveau” : “the purpose of Marketing is to make the desire superior to necessity”. …


Recently, one of my close relative wanted to install a security plan into his house using a CCTV solution (closed circuit television aka video surveillance). We got some quotations which were clearly out of budget for us (the lowest price was 1300€, including 4 cameras, a NVR box and the setup).

My challenge was to cut the price at least by 2, including the hardware, the software and the setup. The underlying benefit is also to explore and to learn.

Image for post

Key Take aways

I like starting with the take aways first so you can read further the details if interested.

  • Don’t use a remote server as a NVR hardware solution. Use instead a local hardware, such as the raspberryPI one. …


Cet article est le premier d’une série (TakeAway) dans laquelle je vous fournis les résumés des livres que je lis, ou bien des podcasts que j’écoute. Les contenus lus/écoutés dans la langue d’origine seront résumés dans cette même langue.

Je trouve qu’un ouvrage, quel qu’il soit, apporte souvent du ‘bruit’ orbitant sur l’information de valeur, faisant perdre non seulement du temps, mais aussi de l’énergie. D’où le sens de ma démarche.

Résumer un contenu est un exercice particulièrement complexe. Ce que je publie ici est un condensé affiné, dans le but d’en extraire la substance essentielle.

Bonne lecture.

Image for post

Vers La sobriété heureuse — Pierre Rabhi (Livre)


Devenir propriétaire est la préoccupation de bon nombre de français et françaises. Que ce soit pour y habiter ou en tant qu’investissement locatif, cet acte est perçu comme une réussite et un accomplissement personnel, le tout conditionné par la conscience collective. Le besoin de sécurité qui en découle satisfait artificiellement l’égo alors que c’est souvent au prix d’un lourd endettement (plafonné au tier des revenus) ainsi que d’un engagement sur une durée très conséquente (généralement plus de 20 ans, soit un quart de vie en moyenne).

Néanmoins, assouvir son besoin de propriété avec peu d’économie est possible et bien souvent ignoré. Ci après, je vais vous exposer ce qu’est une SCPI de rendement et décrire un exemple concret et chiffré. …


In this article, we will dive into the process of flashing Zephyr™OS into the NXP Freedom-K64F (aka FRDM-K64F) board. This board is an ultra low cost development board powered by a Cortex M4 Core and compatible with the Arduino™ R3 pin layout (if you want to add a shield and easily plug sensors).

Image for post

Environment setup

First of all, go through this first article on how to setup your development environment on your Mac.

Debug Tool

Your Freedom K64F board comes with a serial and debug adapter called OpenSDA. …


As stated in the documentation, The Zephyr™ Project is a scalable real-time operating system (RTOS) supporting multiple hardware architectures, optimized for resource constrained devices, and built with security in mind.

Image for post

In this tutorial, we are going show how to cross compile, from our Mac environment, this Zephyr™ Operating System for an ARM target architecture using GNU Arm Embedded Toolchain.

GNU Arm Embedded Toolchain

First of all, download the GNU Arm Embedded Toolchain for Mac OS which is currently the 2017-q4-major release.

Then, install the toolchain in your home /opt directory, as follow :

$ mkdir -p “${HOME}”/opt
$ cd “${HOME}”/opt
$ tar xjf ~/Downloads/gcc-arm-none-eabi-7-2017-q4-major-mac.tar.bz2
$ chmod -R -w…

Turhan Oz

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store