Skip to content

Instantly share code, notes, and snippets.

View MangaD's full-sized avatar
📚
studying

David Gonçalves MangaD

📚
studying
View GitHub Profile
@MangaD
MangaD / Docker.md
Created February 9, 2025 18:19
Docker

Docker

CC0

Disclaimer: ChatGPT generated document.

Docker Overview:

Docker is a platform that allows developers to package, distribute, and run applications in lightweight, portable containers. These containers include everything needed to run an application, such as the code, runtime, libraries, and system tools. Docker containers ensure that the application runs consistently across different environments, from development to production.


@MangaD
MangaD / DRM_Digital_Rights_Management_Explained.md
Created February 9, 2025 18:19
DRM (Digital Rights Management) Explained

DRM (Digital Rights Management) Explained

CC0

Disclaimer: ChatGPT generated document.

DRM stands for Digital Rights Management. It is a technology used to control and restrict the use of digital content, such as eBooks, music, videos, games, and software, to prevent unauthorized distribution, copying, or modification.


@MangaD
MangaD / EBook_Formats_A_Comprehensive_Guide.md
Created February 9, 2025 18:19
E-Book Formats: A Comprehensive Guide

E-Book Formats: A Comprehensive Guide

CC0

Disclaimer: ChatGPT generated document.

There are several eBook formats available, each designed for specific platforms, devices, or use cases. Here is a breakdown of the most common formats, their features, and how they compare:


@MangaD
MangaD / 10_Useful_Git_Aliases_to_Boost_Your_Productivity.md
Created February 9, 2025 18:19
10 Useful Git Aliases to Boost Your Productivity

10 Useful Git Aliases to Boost Your Productivity

CC0

Disclaimer: ChatGPT generated document.

Git aliases can save you time by allowing you to create shortcuts for commonly used commands. Here are some useful and commonly used Git aliases, along with instructions on how to add them to your Git configuration:

1. Checking Git Status

  • Alias: st
@MangaD
MangaD / GitHub_SSH_Key_Generation_on_Linux.md
Created February 9, 2025 18:19
GitHub SSH Key Generation on Linux
@MangaD
MangaD / Connecting_to_Github_with_SSH_Windows.md
Created February 9, 2025 18:19
Connecting to Github with SSH (Windows)

Connecting to Github with SSH (Windows)

Source: https://dev.to/thevinitgupta/connecting-to-github-with-ssh-windows-2oj3

Earlier, GitHub used to allow browser login. Those were the simpler times.

But now, to push your code to GitHub, you need to generate SSH Keys. These SSH Keys are your login credentials - for personal projects and open source contributions.

While building a project recently, I tried pushing my code to GitHub but I could not. And I got frustrated😭 like everyone of you might have gotten one day.

@MangaD
MangaD / Git_Strategies_A_Comprehensive_Guide.md
Last active February 9, 2025 19:17
Git Strategies: A Comprehensive Guide

Git Strategies: A Comprehensive Guide

CC0

Disclaimer: ChatGPT generated document.

Git is a powerful distributed version control system that offers various strategies for managing source code across development teams. Choosing the right Git strategy is essential for managing branches, releases, collaboration, and ensuring the quality of code in software projects. Each strategy suits different team sizes, workflows, and project requirements.

Below is a comprehensive list of common Git strategies, detailing how they work, their pros and cons, and when they are best applied.

@MangaD
MangaD / Git_Internals.md
Created February 9, 2025 18:19
Git Internals

Git Internals

CC0

Disclaimer: ChatGPT generated document.

1. What is Git?

Git is a distributed version control system that tracks changes to files over time. It allows multiple people to work on a project simultaneously, enabling collaboration and maintaining a complete history of all changes.


@MangaD
MangaD / Pushing_to_Multiple_Git_Remotes_in_a_Single_Command.md
Created February 9, 2025 18:19
Pushing to Multiple Git Remotes in a Single Command

Pushing to Multiple Git Remotes in a Single Command

CC0

Disclaimer: ChatGPT generated document.

When working with Git, you may need to push your changes to multiple remotes. This can be useful for creating backups, syncing across different services, or collaborating with multiple teams.

It is possible to push to two (or more) remotes in a single command by defining multiple remote URLs for a single remote name or by using git push with specific remotes. Here are the two approaches:

@MangaD
MangaD / Reset_author_for_every_commit_in_Git.md
Created February 9, 2025 18:19
Reset author for every commit in Git