A guide to to Git – Part II

In the first part of this series of articles, a local Git repository was created for a website project. In the second part, we build on this and create a remote repository on Github. How to create a remote repository on Github Now that a local repository is available, we will now add a remote … Read more

A guide to to Git – Part I

This tutorial is about the basics of Git, although the following explanations are primarily aimed at beginners. But first, let’s clarify the question of what Git actually does. It is a version control system designed to track changes in source code. Instead of constantly saving new versions of a file, Git manages the different versions … Read more

Formatting Python code using black

As a beginner in a programming language, you will hardly deal with the topic of code formatting. However, the more the project grows and 100 lines of code become 1000, you should think about formatting your code. The same applies when several programmers work on the same project. Each of them may use a different … Read more

How to update a forked Github repository

It is not unusual for a number of forks to accumulate in your Github account. If you spend some time working on a fork, you will first want to update it, as the author of the original may have made changes in the meantime. This blog post describes how to do this in the shell. … Read more

Binary Search

The second algorithm that I would like to introduce here is also a search algorithm, the binary search. The following example is about searching for a value in a list. To use binary search, it is necessary to first sort this list. The sort() method can be used for this: Next, you need to find … Read more