Skip to content

Instantly share code, notes, and snippets.

View Ruslan-Skira's full-sized avatar
🇺🇦
Working from home

Ruslan Skira Ruslan-Skira

🇺🇦
Working from home
View GitHub Profile
@Ruslan-Skira
Ruslan-Skira / .gitignore
Last active August 3, 2026 15:20
Gitignore file should be in a root of project.
# Virtual environment
venv
.venv
# IDE files
.idea
.vscode/
# AI settings files
GEMINI.md
@Ruslan-Skira
Ruslan-Skira / .gitmessage
Last active July 27, 2026 18:38
git commit message template for git and for copilot.
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. ############################ |
@Ruslan-Skira
Ruslan-Skira / Makefile
Last active June 17, 2026 10:46
Makefile template
.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 := -
@Ruslan-Skira
Ruslan-Skira / install_firefox_dev.sh`
Last active February 6, 2025 09:04
Installing Firefox Developer Edition on Ubuntu
#!/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"
@Ruslan-Skira
Ruslan-Skira / pyenv-instalation-all-plaforms.md
Created October 26, 2023 16:42
pyenv installation Mac | Ubuntu | Windows

installation pyenv on Mac 1. 2. 3.

@Ruslan-Skira
Ruslan-Skira / pyenv-instalation-main-platforms.md
Last active October 26, 2023 15:44
pyenv installation Ubuntu | Mac | Windows

first line second line

s3_client.upload_fileobj(file_obj.file._file, bucket, f'{object_name}')
@Ruslan-Skira
Ruslan-Skira / senior_requires_skills
Created January 22, 2023 10:28
interview questions and what should know senior python dev
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.
@Ruslan-Skira
Ruslan-Skira / interview_tasks.py
Created January 20, 2023 13:55
Logic tasks from job interview
# 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)
@Ruslan-Skira
Ruslan-Skira / widows_python_env_installation.txt
Last active January 17, 2023 13:24
Windows Python environment installation.
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.