Writings

Nx makes it easy to work with monorepost, this article will show you how you can use Nx for your projects and talks about some basic commands that will help you.

Read More
Tools

Getting started with Nx

How to set up an UI element persistent in Gatsby to allow users from Landing in Tech to listen to the latest episode, when navigating the site.

Read More
React

How to make a UI element persistent in Gatsby

This article contains notes about what I've learned from lesson 6 of Missing Semester - Version Control (git).

Read More
Git

Git - Understanding version control

How to create a function to filter articles by tag. On this post I am using the javascript filter method to filter all articles.

Read More
React

How to filter all MDX articles by tags

A quick introduction on how to use the Elasticlurn Plugin for Gatsby together with MDX to create a search bar component and allow users to search your site.

Read More
React

How to use elasticlunr plugin with MDX

How to add syntax highlighting to gatsby MDX with prism.

Read More
React

Add code highlighting to MDX

How to ignore a file globally without having to add it every single time to your .gitignore file.

Read More
Git

Gitignore a file globally

A lot of sites make the first letter of a paragraph spread to multiple lines, let me share with you how you can do it.

Read More
SASS/CSS

Make the first letter spread multiple lines

How an error in the docs CI made me learn a bit more about RST and how to properly highlight a piece of text.

Read More
Python

Sphinx - How to highlight text

Keeping your dependencies up to date is not always straightforward, let me share with you how you can keep all your dependencies update by running two commands.

Read More
NPM

Update npm dependencies

Using the command django makemigrations failed, so I had to figure out how to use psql on a docker container and add those columns manually.

Read More
Databases

Add column to postgres table

Twitch suggests that we should pass a `hub.secret` so we can compare sha-256 hashes and check the authenticity of the request. This is how I did it in Python.

Read More
Python

Handle Twitch hub.secret logic in python

How I came across the need to set a css rule to apply only to Safari and which media queries combination will allow that.

Read More
SASS/CSS

Change CSS rules only in Safari

Submit your forms from your Gatsby website directly to your Airtable in a very easy and simple way.

Read More
Gatsby

Handle form submission in Gatsby with Airtable

How I solved the issue of testing a function that should call sys.exit() when a yaml file couldn't be safely loaded.

Read More
Python

Unittest - How to test for sys.exit

An example from opsdroid on how to test if a logging call was made successfully.

Read More
Python

Test: Was Logging called

Learn how to implement HTML5 Geolocation API and VueJs together to get the current location of an user.

Read More
Vue

Weather App - Using geolocation and Vue

Using VueJs with Axios to connect to OpenWeatherMap API then we build a simple weather web application.

Read More
Vue

Creating a Weather App

Vim is still one of the editors that confuses some developers. This introduction will keep you up to speed with this powerful editor.

Read More
Vim

Introduction to Vim

A problem that I have encountered while working on a Pybites challenge, libraries used and how I have optimized the tweets classifier to be faster.

Read More
Code

Improving a Classifier Training Speed

Working with the command line can be fun and save you plenty of time. These tricks will help you save even more time when you have to repeat commands.

Read More
Terminal

Command Line Tricks

This is an example on how to use the side_effect function from the unittest module to test if the aiohttp exception ClientOSError was raised.

Read More
Python

Test for aiohttp's ClientErrorOS

Niebieski is the first theme that I've created from scratch. In this post I look back at what I've learned and the struggles I faced when creating the theme.

Read More
Code

Creating A Jekyll Theme

The enumerate built-in function it's a great way to iterate over something. Your code will be more readable and you have some flexibility when looping.

Read More
Python

The enumerate built-in function

Learn how to deal with a git conflict, why it happens and how to fix conflicts directly from your editor.

Read More
Git

Git: Merge Conflicts

Learn about git rebase, pulling changes from a master branch and how to keep your git history under control.

Read More
Git

Git: Commit history

Deleting files doesn't mean deleted permanently, learn how to turn back time and recover deleted files.

Read More
Git

Git: Recover Deleted Files