Skip to content

Instantly share code, notes, and snippets.

View KirillY's full-sized avatar

Kirill Lapshin KirillY

  • Customertimes
  • Georgia
View GitHub Profile
@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 / notepad-plus-plus-dark.md
Last active November 20, 2023 11:43
#notepad++ #dark mode
@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 / 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
@KirillY
KirillY / mysql-teachmeskills.md
Last active June 20, 2022 14:52
#teachmeskills #mysql setup

Setup

Check if already installed

sudo service mysql start

If not installed, install

sudo apt update
sudo apt install mysql-server
@KirillY
KirillY / vcxrv-teachmeskills.md
Last active June 13, 2022 09:18
#vcxrv #teachmeskills #tms

1. Install and setup Windows X-server

1.1 Download and install
1.2 Autorun vcxsrv config.xlaunch

Put this into shell:startup folder (usually %AppData%\Microsoft\Windows\Start Menu\Programs\Startup\config.xlaunch);

<?xml version="1.0" encoding="UTF-8"?>
<XLaunch WindowMode="MultiWindow" ClientMode="NoClient" LocalClient="False" Display="-1" LocalProgram="xcalc" RemoteProgram="xterm" RemotePassword="" PrivateKey="" RemoteHost="" RemoteUser="" XDMCPHost="" XDMCPBroadcast="False" XDMCPIndirect="False" Clipboard="True" ClipboardPrimary="True" ExtraParams="-screen 0 1920x1080@1" Wgl="True" DisableAC="True" XDMCPTerminate="False"/>
  • reference superuser.com/questions/1372854/do-i-launch-the-app-xlaunch-for-every-login-to-use-gui-in-ubuntu-wsl-in-windows
@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