Writings

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

Why you don't have to wake up at 5 am to be productive and what you should do to change your sleeping schedule

Read More
Productivity

Don't wake up at 5 am for productivity

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

How I've started learning how to code and how coding made me want to learn more about Computer Science.

Read More
Random

Introduction to Computer Science

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

Read More
GitHub

Git: Merge Conflicts

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

Read More
GitHub

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

A look back on my first hacktoberfest in 2017. What have I learn, what have I contributed to and how I received a shirt.

Read More
adventures

Hacktoberfest