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
| # macOS Python 3.12 Setup Guide (Homebrew) | |
| This guide walks through installing Python 3.12 on a modern MacBook (Apple Silicon) and correctly configuring the shell path to override the default system Python 3.9. | |
| ## Step 1: Install Python 3.12 | |
| brew install [email protected] | |
| # update zshrc | |
| nano ~/.zshrc |
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
| ## Linux | |
| # 1. Generate SSH key with custom name | |
| ssh-keygen -t ed25519 -f ~/.ssh/github_personal -C "[email protected]" | |
| # 2. Start SSH agent | |
| eval "$(ssh-agent -s)" | |
| # 3. Add SSH key to agent | |
| ssh-add ~/.ssh/github_personal |
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
| ### merge | |
| - on dev: | |
| git checkout master | |
| then : | |
| git merge dev | |
| ### create local branch then push it to the remotre | |
| git checkout -b feature/tf-environments | |
| then : |
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 os | |
| import json | |
| import datetime | |
| import logging | |
| import sys | |
| import tempfile | |
| from google.cloud import storage | |
| from smb.SMBConnection import SMBConnection | |
| import re |
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
| # https://cloud.google.com/kms/docs/encrypt-decrypt | |
| # Import base64 for printing the ciphertext. | |
| import base64 | |
| # Import the client library. | |
| from google.cloud import kms | |
| def encrypt_symmetric( |
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
| Notes : | |
| https://www.udemy.com/docker-mastery/ | |
| https://www.youtube.com/watch?v=EnJ7qX9fkcU | |
| https://github.com/matt9ucci/DockerCompletion | |
| why docker | |
| speed | |
| reduce the complexity | |
| Is docker just container run-time ? |