This guide shows how to generate a GPG key, configure Git to use it, and add it to GitHub so your commits can be verified.
- A GitHub account with a verified email address.
- Git installed on your computer.
This guide explains how to safely update a feature branch from master in Git, using either merge or rebase, before creating or completing a pull request. Use this tutorial when your branch is out of date with the master branch, or when modifications are frequently made to the master branch during this time period.
GitHub often shows messages like:
To have another Python versions for the Linux Users without impacting the operating system, the best approach is to install Python locally in the user's home directory. This method avoids requiring root/sudo access and does not alter the system-wide Python installation.
To install Python (e.g.: 3.9.25) locally for a user without sudo access, including the pip module, follow these steps:
| #!/bin/bash | |
| #https://hub.docker.com/r/portainer/agent | |
| AGENT_VERSION="2.33.3-alpine" | |
| # Check if the script is being run as root. | |
| if [ "$(id -u)" -eq 0 ]; then | |
| echo "This script should not be run as root. Run it as a non-root user." | |
| exit 1 | |
| fi |
| #!/bin/bash | |
| ARCH="x64" | |
| FFMPEG_VER="0.109.0" | |
| FFMPEG_URL="https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases/download/$FFMPEG_VER/$FFMPEG_VER-linux-$ARCH.zip" | |
| #OPERA_LIB="/usr/lib64/opera" | |
| OPERA_LIB="/usr/lib64/opera-stable" | |
| TMP_DIR="/tmp/operalib" | |
| if [ -f "${OPERA_LIB}/libffmpeg.so" ]; then |
| #!/bin/bash | |
| # -- ------------------------------------------------------------------------------------------------ | |
| # Author: alexolinux | |
| # This script to install and configure a Kubernetes cluster with control-plane and nodes. | |
| # -- ------------------------------------------------------------------------------------------------ | |
| # https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/ | |
| # https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/ | |
| # -- ------------------------------------------------------------------------------------------------ |
| #!/bin/bash | |
| # Detect RHEL version | |
| if [ -f /etc/os-release ]; then | |
| . /etc/os-release | |
| RHEL_VERSION=$(echo $VERSION_ID | cut -d '.' -f1) | |
| else | |
| echo "Unable to determine OS version." | |
| exit 1 | |
| fi |