GitLab is more than a git repository. It comes with the powerful CI/CD runner that you can use for free, or even self host. In this post we are going to get familiar with it, and setup the most basic pipeline.[Read More]
Grouping Environment Variables in Django
Oftentimes values in
settings.py are provided using environment variables. This is one of the easiest ways to do it. However it’s easy to misuse it, and variables get scattered across your code base. This makes it harder for DevOps to track which variables are needed in case they need to have a quick look at the code while configuring the deployment environment.
How to Install kubectl
Filter, Map, Reduce and Lambdas
Filter, map, and reduce are functions that are often used in functional programming. Sometimes instead of looping, you can use one of these functions to write a simple one liner. Additionally, when using this functions, we also naturally use lambdas. So first, we’ll take a look at what are lambdas.[Read More]
How to use git stash
Let’s say you worked on a wrong branch (which happens all the time to me), and now you want to copy those changes to the correct feature branch.
git actually has that covered with simple
git stash command.
How to Install Minikube
Minikube lets you run Kuberntes locally. It gives you single node cluster inside a virtual machine on your desktop or laptop. This guide will teach you how to install Minikube on Linux machine (Ubuntu).[Read More]
What is self in Python
self is usually one of the hardest things for beginners to grasp. It is one of those concepts that you probably need to google about several times before you start to get any idea + you have to try it out and use it to fully understand it.
Limit Team Members Access to Kubernetes
In this article I will show you how to give limited access to a team member within the Kubernetes. You don’t have to mess with service accounts of your cloud provider to achieve this (whether you’re using AWS or GCP it doesn’t matter). It’s almost vendor agnostic. You can achieve this using Kubernetes
Python Beginner Projects
If you are beginner trying to learn and build your confidence than this article is for you.[Read More]
Else Is Not for Ifs Only
We all know what
else means in control flow. But in Python
else can appear on loops and on try/except statements. But what does it do there?