Programming Adventures

with Michał Kalbarczyk

Top Stories

How to Create Desktop Application with Elixir

Writing desktop application is not an easy task. But why don't use Elixir, Phoenix and LiveView? We…

How to Use Elixir's Compiler to Avoid Typos

In this article, I want to describe how you can use elixir metaprogramming to avoid some runtime…

7 Tips for Building Kiosk Device with Nerves and Buildroot

For about a year I’m working on some interesting machine. The first challenge was to build a kiosk…

Umbrella On Rails

So you want to have a Rails application with few other applications inside? Can I have a Rails…

Brewing the Firmware for Raspberry PI with Elixir and Nerves

As the PIX PROJECT started to be a real thing. I decided to make it more dynamic. The first version…

The Beginner’s Guide to Linux Kernel Module, Raspberry Pi and LED Matrix

When I found an old broken bluetooth speaker with RGB LED matrix, I decided to make use of it. It…

Last Learned

Do Not Eclose Markdown Content Into <p> Tag

If you are using for example Gatsby like I do, don't enlose html from markdown into <p> tag. The content of <p> will be missing in some cases. Anyway<p> should not include any block elements such as <p>.

Instead of:

<p className="article-post" dangerouslySetInnerHTML={{ __html: html }} />

use:

<div className="article-post" dangerouslySetInnerHTML={{ __html: html }} />