Code & Coffee

Cyprien's technologies space of the latest trends, tips, and tools for developers.


Presentation image of the article
25 Jun 2022

Configure Magit Forges for self-hosted Gitlab

## abstract This article's reason is to describe the steps and gather resources to configure magit forges for self hosted gitlab. For people who don't know what is Magit Forges : - Magit is the Emacs pac...
Presentation image of the article
11 Dec 2021

Actix Restful Api pattern (Rust)

Hi there, I'm writing this article to share my take on a Rust Api backend as a newbie in the ecosystem. It can be improved. But let me explain the pattern I setup for the API of this blog. At first I ne...
Presentation image of the article
18 Aug 2021

Make use of icons in your projects

I recently discovered the website []( This website is a project from our chinese "fellows" from alibaba network who aims to provide icons and illustrations to web de...
Presentation image of the article
02 May 2021

iSH: alpine linux on iOS

At the time of writing, I'm on a field near a salt marsh, on a command line text editor on my server. This is possible thanks to the developers of the application ISH on iOS and iPad OS : ![ish console]...
Presentation image of the article
28 Apr 2021

Per directory environment variables with direnv

With Direnv you can configure environment variables for a given directory. The environment variables are available into the shell when you enter the directory and unavailable when you leave it. To crea...
Presentation image of the article
29 Sep 2020

A step by step scroll effect in Elm

Here is an example of what I mean: with a desktop browser, go on this [page](, put the cursor under a project in the horizontal...
Presentation image of the article
12 Apr 2020

Curryfication in Typescript for safe argument binding

### Introduction In this post we will focus on how to safely bind arguments to functions such as contextual filter/sort functions in Typescript. ### Using bind, the unsafe way The first way is to use bin...
Presentation image of the article
09 Apr 2020

React/Redux app structure

### Introduction In previous posts I mentioned that I'm working on react apps at work and I can relate on how I structure the code. This is just a way to do it, there are many others, especially since ...
Presentation image of the article
09 Apr 2020

LESS modules/ant design/typescript webpack loader

## Warning : this configuration of webpack requires ejecting Create React App. If you don't know what is ejecting, read [this](
Presentation image of the article
04 Apr 2020

Redux tips

## Introduction I've worked with React/Redux apps for a couple of years and I'd like to share some tips and tricks I made and discovered to manage loading and errors states and trigger ui changes acro...
Presentation image of the article
03 Apr 2020

Notice on Redux

## Introduction I wrote a post previously about Elm and it’s architecture. Here we will focus on react and redux, and I’ll try to be objective. React has a thing called local component state. It is conve...
Presentation image of the article
02 Apr 2020

Typescript is great, here are my good practices

I use Typescript since 2018 and I'd like to share my experience with it. ### Static typing Typescript has static typing. It means you can type variables, function arguments and functions return type at ...
Presentation image of the article
01 Apr 2020

Elm - pros and cons

Disclaimer : I am not Evan Czaplicki, I am not the creator of Elm, and I have a profoud respect of his work. Very nice work Evan ! For crafting a webapp, you have a bunch of options. Here is a (non exha...