installation pyenv on Mac 1. 2. 3.
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
| [build-system] | |
| requires = ["setuptools>=61.0.0"] | |
| build-backend = "setuptools.build_meta" | |
| [project] | |
| name = "MEGA_DUPER" | |
| version = "1.0.1" | |
| description = "Future" | |
| readme = "README.md" | |
| requires-python = ">=3.11" |
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
| # Virtual environment | |
| venv | |
| .venv | |
| # IDE files | |
| .idea | |
| .vscode/ | |
| # AI settings files | |
| GEMINI.md |
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
| 1. Save this file as .gitmessage in your repository root (or system home directory) and set it using | |
| ```git config --local config.template .gitmessage``` | |
| 2. delete all above ☝️ | |
| # <type>[optional scope][!]: <description> | |
| # ---------------------------------------------------------------------- | |
| # Allowed <type>: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert | |
| # Scope: Optional section in parentheses, e.g., feat(parser): description | |
| # Breaking Change: Append ! before colon for breaking changes, e.g., feat(api)!: breaking change |
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
| .PHONY: help lint run-app | |
| .DEFAULT_GOAL := help | |
| # Configuration | |
| BLUE := \033[0;34m | |
| GREEN := \033[0;32m | |
| CYAN := \033[0;36m | |
| NC := \033[0m | |
| DIVIDER := - |
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/bash | |
| # 1. chmod +x install_firefox_dev.sh | |
| # 2. ./install_firefox_dev.sh | |
| # Define download URL and destination directory | |
| DOWNLOAD_URL="https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=linux64&lang=en-US" | |
| DEST_DIR="/opt/firefox-developer" | |
| # Download the latest Firefox Developer Edition tarball | |
| echo "Downloading Firefox Developer Edition..." | |
| wget -O firefox-developer.tar.bz2 "$DOWNLOAD_URL" |
first line second line
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
| s3_client.upload_fileobj(file_obj.file._file, bucket, f'{object_name}') |
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
| 1. Docker | |
| 2. Kubernetis | |
| 3. Base of DS | |
| 4. Sockets and network understanding.(https://www.amazon.com/Learn-PYTHON-Multiplayer-Adventure-Games/dp/B01ETTRZ3M) | |
| 5. Async python | |
| 6. Create custom descriptor. @property. |
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
| # parameterize decorator | |
| def args_info():pass | |
| @args_info(all_values=False) | |
| def power(n:int, pwr: int) -> int: | |
| """Put in the power""" | |
| return n**pwr | |
| # >>> power(2, 4) |
NewerOlder