Chunk of Code

Written by Samu Linden. I am a passionate hobbyist developer living in Parma, Italy. You can contact me on Twitter.

No space left on device dokku error

October 15, 2020

I have a few projects running on dokku. One day I deployed a new release and unexpectedly was greeted with an error message at the end of…

Doing media queries in React

August 22, 2019

Introduction Doing media queries in CSS is as mundane as it gets. We use media queries to make responsive web designs that are functional…

Using styled components with React

August 02, 2019

Recently I have started learning how to use styled components CSS-in-JS library for styling my React application. I am still quite a…

Must have VSCode extensions

July 19, 2019

This post will be one that I will update in the future when I find new interesting and useful extensions. For now I have three of them that…

A custom hook for flash notifications

June 28, 2019

I am working on a web application that needs a notification system (almost every app does need one…). I call this hook , as it is the naming…

Easier way to learn algorithms

June 04, 2019

I was browsing GitHub today and I found something really interesting. Algorithm Visualizer is something that you want to take a look at, if…

Beware the React hook loop

May 04, 2019

Update on 14 Feb 2020 I moved my block and the code highlighting and row numbering is not working 100% correctly. I am sorry for the…

What's in the React Public folder?

April 24, 2019

In the last blog post we saw how to create a simple react app by using the command. In this post we will quickly go through what are the…

How to create a simple React app?

April 16, 2019

In this short guide we’ll go through the necessary steps in order to make a simple React app. Initial setup The first thing you need to do…

Direction of this blog

April 09, 2019

For now I have been writing blog posts only about Python and its libraries. This will probably change in the future. Before starting to…

Converting .py to .exe

April 02, 2019

In this short tutorial we are going to convert a Python program into a self-sufficient, stand-alone .exe file that can be run on a computer…

Top 3 resources to learn about GIL

March 11, 2019

In this blog post I will share with you easily in one place the best sources to learn about the Python Global Interpretation Lock (GIL). If…