Set up a Django async project with Daphne & NGINX on Ubuntu 18.04

In this post, we will set up a async Django project online using Daphne and NGINX. The current post is based on a few hours or research within the past few years. This configuration will be compatible with async events in Django. This diagram represents the relationship between technologies we will use in this post. … Lire la suite Set up a Django async project with Daphne & NGINX on Ubuntu 18.04

App script, Connect a Google spreadsheet with an API

In this post, we will use App script to connect a google spreadsheet with TheMovieDB API and get a list of movies known for a given actor. Today, we will discover together some of the basic app script possibilities. At the end, you will be able to extend your knowledge via the documentation provided in … Lire la suite App script, Connect a Google spreadsheet with an API

Send a dynamic template email from Django & Sendgrid

In this post, we will understand how to send an email from Django based on a dynamic template created in Sendgrid. I struggled a bit with the existing documentation and dive into the Sendgrid Python library to find how everything was integrated together. This post is the result of a few intensive hours of research. … Lire la suite Send a dynamic template email from Django & Sendgrid

SCSS to CSS, Create a file watcher in PyCharm

I recently found a way to convert automatically SCSS files to CSS with PyCharm. Today, we will see how to create a file watcher and let it take care of everything. Compass Firstly, we need to install compass which will do for us the transpiling. File watcher Now, let’s create a file watcher which will … Lire la suite SCSS to CSS, Create a file watcher in PyCharm

PlantUML: Create a sequence diagram inside PyCharm

For many years, I was looking for an app to create sequence diagrams which could be easily editable by me or a peer later without hair pulling. Then, I found PlantUML. During a recent work, one colleague gave me the best solution I found so far. PlantUML By default, PlantUML is a java application. For … Lire la suite PlantUML: Create a sequence diagram inside PyCharm

Direnv: Protect sensitive credentials in your project with environment variables

Interested in people contributing to your project? while keeping your sensitive credentials out of the project? A common practice to prevent sensitive data to be in the source code is to use environment variables. Let’s see today how it is working with direnv. Install direnv for Linux Install direnv for Mac Hook direnv with your … Lire la suite Direnv: Protect sensitive credentials in your project with environment variables

Send a push notification with Firebase & Django

In this post, we will see how to send a push notification from a Django backend to a mobile app using Nativescript with Firebase. Create a Firebase account or connect with your google account: https://firebase.google.com/ Create a firebase project For Android: Add Android app to project via firebase project page Once created, download the google-services.json … Lire la suite Send a push notification with Firebase & Django

Synchroniser les tâches créées depuis Jira avec PyCharm

Je viens de découvrir comment synchroniser les tâches créées depuis Jira avec PyCharm, un bon atout pour gagner en productivité. Dans mon travail de développeur au quotidien, je suis constamment amené à créer de nouvelles “feature” branches basées sur des tickets créés dans Jira par le responsable produit. Précèdemment, je créais une nouvelle branche pour … Lire la suite Synchroniser les tâches créées depuis Jira avec PyCharm

Template de fichier dans PyCharm == Productivité

Je viens de découvrir comment créer un template de fichier dans Pycharm ce qui est très utile pour gagner du temps. En tant que développeur, nous sommes souvent amenés à créer de nouveaux fichiers avec une structure identique a des existants dans la base de code. Afin de faciliter la lecture et de pérenniser le … Lire la suite Template de fichier dans PyCharm == Productivité

Langage compilé, interprété ou hybride, quésako ?

La technologie avance rapidement et chacun souhaite prendre le train en marche. Mais maitrise t-on réellement les fondamentaux des langages haut niveau ? Dans cette article, nous ferons le point sur les différents types de langages. Langage interprété Un langage interprété est un langage dont les implémentations exécutent des instructions directement sans passer par une … Lire la suite Langage compilé, interprété ou hybride, quésako ?