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
| # 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 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 | |
| # Header length limit: Keep under 72 chars. ############################ | |
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) |
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
| python installation custom. | |
| a. create custom short path | |
| b. update PATH | |
| After Pycharm installation | |
| a. by admin run WindowsPowerShell | |
| PS C:\WINDOWS\system32> Get-ExecutionPolicy | |
| Restricted | |
| PS C:\WINDOWS\system32> Set-ExecutionPolicy remotesigned | |
| RemoteSigned | |
| b.delete venv folder during creating new project. Because new venv will not created. |
NewerOlder