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.

[Read More]
python  oop  self 

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 ServiceAccount resource.

[Read More]

Python Beginner Projects

If you are beginner trying to learn and build your confidence than this article is for you.

[Read More]
python 

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?

[Read More]
python 

Enum in Python

Enum is a collection of symbolic names and its values are unique and constant. In essence enums are collection of constants.

You can use enum when you have a specific string or integer appearing in several places in the code. By placing enum instead of a string, you would avoid possible errors that could be result of typos in your code.

[Read More]
python  enum 

Deploying Hugo with Gitlab CI

Building and deploying Hugo is really easy. You just type hugo in the console, and all you need is in public/. Just copy and paste this on your server, and you’re all done. So… why complicate thing with the CI?

[Read More]

Up and Running With Python Logging Facility

Python comes bundled with logging module. This module is very versatile, and feature rich. However, as a beginner, you mostly want to just get up and runnig, and use the logger in the most simple way. Luckally, logging in Python does not have to be hard and painful.

[Read More]