This is guide about how to configure multiple SSH keys for some Git host websites such as Github, Gitlab, among others.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from google import genai | |
| from google.genai import types | |
| from PIL import Image | |
| from io import BytesIO | |
| import os | |
| import subprocess | |
| import tempfile | |
| from global_config import global_config | |
| from loguru import logger as log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| set -e | |
| # Auto-Get the latest commit sha via command line. | |
| get_latest_release() { | |
| tag=$(curl --silent "https://api.github.com/repos/${1}/releases/latest" | # Get latest release from GitHub API | |
| grep '"tag_name":' | # Get tag line | |
| sed -E 's/.*"([^"]+)".*/\1/' ) # Pluck JSON value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import re | |
| uppercaseRegex = re.compile(r'[A-Z]') | |
| lowercaseRegex = re.compile(r'[a-z]') | |
| numberRegex = re.compile(r'\d') | |
| noSymbolRegex = re.compile(r'^\w*$') | |
| def passwordCheck(programName): | |
| while True: |