Skip to content

Instantly share code, notes, and snippets.

View KirillY's full-sized avatar

Kirill Lapshin KirillY

View GitHub Profile
@KirillY
KirillY / environment-setup-general.md
Last active May 1, 2024 00:39
#enviroment-setup #python #pip #pdm #vscode #pyenv

#enviroment-setup #python #pip #pdm #vscode #pyenv

Local Machine Installation & Configuration for a Python Testing Automation project

It's recommended to use Ubuntu Linux distribution, either WSL or VM or Desktop Linux. Some instructions are specific to WSL, but most are applied to any Debian Linux distribution.

Setting Up Windows Subsystem for Linux (WSL) on Windows 10 and Windows 11

Windows Subsystem for Linux (WSL) allows you to run a Linux distribution alongside your Windows installation. Follow these steps to set up WSL on both Windows 10 and Windows 11:

Enable WSL Feature

  1. Open PowerShell as an administrator**
@KirillY
KirillY / notepad-plus-plus-dark.md
Last active November 20, 2023 11:43
#notepad++ #dark mode
@KirillY
KirillY / teach-me-skills.md
Last active August 2, 2023 11:17
#teach-me-skills #environment setup #pip #python #pyenv #poetry #pycharm

Local Machine Installation & Configuration

Pip

Even though the package management for this repo is handled by Poetry, pip is still required to download and configure Python modules. To install pip:

sudo apt update
sudo apt install python3-pip
@KirillY
KirillY / zsh-spaceship.md
Created July 10, 2023 12:45
zsh-spaceship public

Zsh general

Install zsh

sudo aptitude install zsh

Make zsh default shell

whereis zsh  # this usually returns /usr/bin/zsh
sudo usermod -s /usr/bin/zsh $(whoami)
@KirillY
KirillY / jupyter-notebook.ipynb
Last active April 29, 2023 15:43
#openai #chatgpt course
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@KirillY
KirillY / leptop-dark-mode.md
Created April 29, 2023 14:18
#lepton #darkmode

Create .leptonrc in C:\Users\kirilllapshin

{
  "theme": "dark"
}
@KirillY
KirillY / copilot-shortcuts-vscode.md
Created December 20, 2022 09:19
#github copilot #shortcuts in #vscode
@KirillY
KirillY / prompt-edit-hotkeys.md
Last active December 12, 2022 14:54
#linux prompt edit hotkey
@KirillY
KirillY / arrows.ahk
Last active September 15, 2022 20:37
#autohotkey script #windows; Alt + IKJL keys as arrows
; Put script in startup folder: Windows logo key + R, type shell:startup
; #Warn ; Enable warnings to assist with detecting common errors.
; https://stackoverflow.com/questions/30576432/remap-arrow-keys-onto-jkli-whenever-holding-down-a-certain-modifier-key
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; AHK Command ; key = Effect (Description)
@KirillY
KirillY / python-regex.md
Last active August 15, 2022 15:34
#python #regex cheatsheet

All paths under framework/oncology/

  • ".+" at least one symbol 1 or more times
framework/oncology/.+\.py

All paths under 2 options with "|" (OR) operator

framework/oncology/.+\.py|tests/saas_dev/onc_alpha_38.+\.py