Articles

This article will show you how to setup DynamoDB locally, so you can test your code without having to use your AWS account.

Read More
Databases

How to setup DynamoDB locally

How to setup DynamoDB locally

This article will show you how to create an use indexes in DynamoDB using the python library aioboto3.

Read More
Databases

How to create and use indexes in DynamoDB

How to create and use indexes in DynamoDB

Exploration on how to run Pyscript in a React (NextJS) app, this article explores issues and solutions to run PyScript in a React app.

Read More
PyScript

How to run PyScript in React

How to run PyScript in React

While working on adding tests to Pyscript I came across a use case where I had to check if an example image is always generated the same.

Read More
Python

How to compare two images using NumPy

How to compare two images using NumPy

How to return an attribute from a many-to-many object relationship from a Django Ninja API endpoint.

Read More
Python

Django Ninja Schemas and Many To Many

Django Ninja Schemas and Many To Many

Learn how to allow users to upload a profile picture in your site/app and display on each visit without needing a backend.

Read More
Typescript

How to upload and display images without backend

How to upload and display images without backend

When using monorepos it can be a bit confusing how to deploy to gitlab pages from a specific folder, this article will help you with it.

Read More
CI

How to setup Gitlab pages from a folder

How to setup Gitlab pages from a folder

Learn what additional permissions you need to add to your user to get django to run tests with a postgresql database.

Read More
Python

Fix django postgresql permissions denied on tests

Fix django postgresql permissions denied on tests

Python dataclasses are a powerful feature that allow you to refactor and write cleaner code. This introduction will help you get started with Python dataclasses.

Read More
Python

Clean Code with Python Dataclasses

Clean Code with Python Dataclasses

Learn how you can create a docker image with conda installed based of another.

Read More
Docker

Install conda in a docker image

Install conda in a docker image

Dask gives you a dashboard when you create a Dask client, in this article I'll share with you how you can install the Dask extension on a JupyterLab notebook.

Read More
Node

Fix worker_threads module missing

Fix worker_threads module missing

Dask gives you a dashboard when you create a Dask client, in this article I'll share with you how you can install the Dask extension on a JupyterLab notebook.

Read More
Python

Dask Dashboard Inside a Notebook

Dask Dashboard Inside a Notebook

It can be a bit painful to write full git commands over and over again, so I've created a few aliases to shorten the number of keys I have to press while doing git stuff.

Read More
Git

Git Aliases

Git Aliases

This article is a quick introduction about the Python library Dask. Dask allows you to scale libraries such as Pandas, Numpy, Scikit-Learn and much more.

Read More
Python

Introduction to Dask

Introduction to Dask

This article contains my notes from the online course CS50. On week 1 we start learning about C with a quick introduction of data types, how to create variables and the void type.

Read More
C

Data Types in C

Data Types in C

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

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

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

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

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 use elasticlunr plugin with MDX

How to add syntax highlighting to gatsby MDX with prism.

Read More
React

Add code highlighting to MDX

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

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

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

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

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

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

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

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

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

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

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

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

Creating a Weather App

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

Read More
Vim

Introduction to 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

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

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

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

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

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

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

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

Git: Recover Deleted Files