Get the Amount of Days Between Two Dates in Python
Let’s say that you have two dates:
"2019-01-29"
"2019-06-30"
How would you create a function that would return the number of …
Read Article →In-depth guides, insights, and best practices for modern software engineering
Let’s say that you have two dates:
"2019-01-29"
"2019-06-30"
How would you create a function that would return the number of …
Read Article →Given a directory that contains:
|
|- app.py
|- requirements.txt
|- ...
|- <- other-files ->
|- ...
We can create a runme.sh file to always make …
Kubernetes comes with a pretty nice dashboard to view clusters, worker groups, nodes and pods. As well as a ton of other useful things.
This tutorial …
Read Article →Given that we are in a leap year this year (2020), it would be nice to know how to programmatically calculate this.
Luckily, this is a repeatable …
Read Article →It’s important to know about data types and one that comes up fairly regularly is that of Linked Lists.
Let’s write the following base …
Read Article →This Docker Quickstart Guide for Developers aims to get developers familiar with Docker as quickly as possible.
Providing you with the knowledge to be …
Read Article →Let’s take a really common example. Say we want to follow redirects with cURL for google.com. It is common to curl follow redirect a URL.
Javascript comes with some pretty good support for determining if a string contains a substring.
There is the newer includes function which was …
In this tutorial, we will create a Python application that can be installed directly from pip that will show the 10 latest blog posts from this …
This occasionally comes up during coding interviews and is actually quite a decent way to test someone’s aptitude of moving back and forth on a …
Read Article →There is a lot of power in Javascript syntax. One of those powerful things is that of Javascript Anonymous Functions.
But what is an Anonymous …
Read Article →I often need to test a specific Linux binary or make sure something works as expected from yum install or apt install.
To do this, it’s common …
Read Article →Let’s say that you have a binary tree and we needed to know it’s maximum depth.
Binary tree input data [3,9,20,null,null,15,7] could be …
Fizz buzz is a common programming interview question.
The problem statement usually reads something like this:
Read Article →Write a short program that …
We will create a simple Hello World static HTTP Service using Helm, package it and release it to an AWS EKS Cluster.
This tutorial expects you to have …
Read Article →While there are libraries available for all programming languages that offer abilities to sort list, arrays and collections, it is important to know …
Read Article →Python comes with the power of slicing.
Let’s try it with a String:
>>> example1 = 'hello world'
>>> example1[::-1] …
Read Article →
Python exposes a socket library that allows us to perform networking tasks such as getting the IP Address as well as getting the Hostname of our …
Reversing a Binary Tree is a common programming interview question.
By learning how to Reverse a Binary Tree in Python, you are working towards …
Read Article →You do not have permission to access the specified resource.
If you are seeing this error appears up when trying to delete or detach a Network …
Read Article →import os
os.remove("filename.txt")
The above code will delete a file in Python, it will not however delete a …
Read Article →JSON stands for Javascript Object Notation and has become wildly popular to transport and store data between application, databases and more.
However, …
Read Article →While processing forms in web development, it’s a common requirement to be able to tell if a checkbox has been checked or not.
It’s not …
Read Article →Docker images are usually stored on Docker Hub, but AWS’s Elastic Container Registry can also be used. It’s a great solution and this post …
Read Article →