Geek Logbook

Tech sea log book

Effective Knowledge Transfer of Data: Key Elements

Transferring knowledge, especially when it involves data, is a critical proces. Especially between consultants. Whether you’re transitioning to a new team, it’s crucial to get this process right. Here are five essential elements to ensure effective knowledge transfer of data: 1. Comprehensive and Clear Documentation This involves providing detailed information about the data’s origin, its

Creating Directories in Python

The os Module Python’s os module provides a way to interact with the operating system. It includes functions for creating, removing, and checking the existence of directories and files. In this tutorial, we’ll use the os.path.exists and os.makedirs functions. This module contains the necessary functions to check for the existence of a directory and create

Route Summarization and Subnetting

We will walk through the process of subnetting a network and performing route summarization using an example. Subnetting Example Let’s consider the following four subnets: Binary Representation To better understand these subnets, let’s convert the IP addresses to their binary form: Common Bits With a subnet mask of /22, we need to consider the first

50projectsIn50days – Day 31: Password Generator

A password generator is composed by a text file and some other characteristics. Besides the style and the html tags the central thing is the functions we find in script.js. First of all the simplest one the event listener in the clipboard element. The main objective of this elements is to copy the password in

Pandas Dataframe: apply method

Calculating Discounts, Taxes, and Total Amount in a DataFrame Suppose you have the following data in a DataFrame: Product Price Category 0 A 100 Electronic 1 B 200 Cloth 2 C 150 Electronic 3 D 300 Colth 4 E 250 Electronic In this DataFrame, you want to create three new columns: discount, taxes, and total_amount.

50projectsIn50days – Day 30: Auto Text Effect

In the HTML, there are simple tags that show an h1 element and an input for adjusting the text speed. The text will appear based on the function defined in the script. The function is called writeText() and it adds the text from textContent to the textElement. You can see the code in this GitHub

50projectsIn50days – Day 29: Double Heart Click

In the HTML, you’ll find a title, h3, and small text, which resemble a cell phone layout. The entire page listens for click events. When a click event occurs, the createHeart function is triggered, adding the ‘fas’ and ‘fa-heart’ styles to an element. This creates a heart icon on the page, similar to the action

50projectsIn50days – Day 28: Git Hub profile

Fetching GitHub user information is the core task of this project. This involves interacting with the GitHub API, which is facilitated using the Axios library. The script is embedded in the HTML as follows: The HTML itself is initially empty. The creation of the user card and error card is handled by JavaScript functions. The

 Escape sequences in Pyhon

Escape sequences as in C While reading Automate the Boring Stuff with Python: Practical Programming for Total Beginners, I noticed the existence of raw strings. A raw string is created in such a way that escape sequences listed in the Python documentation are not processed. In fact, at the beginning of the section on Lexical