Skip to content

Instantly share code, notes, and snippets.

View sanyer's full-sized avatar
🇺🇦

Roman Zhuzha sanyer

🇺🇦
  • Amsterdam
View GitHub Profile
@sanyer
sanyer / wsl-commands.md
Last active March 7, 2024 05:31
Useful WSL commands

Useful WSL commands

List distributions

wsl --list --verbose --all

Import distribution

@sanyer
sanyer / README.md
Last active October 7, 2024 20:35
Awesome Steam Deck
@sanyer
sanyer / gnupg-macos.md
Last active April 12, 2022 14:15
GPG management on MacOS

GnuPG on MacOS

Getting started

Install required software:

brew install gpg2 gnupg pinentry-mac

Configure it:

@sanyer
sanyer / install-wsl-prerequisites.ps1
Last active August 25, 2022 23:14
Install WSL without Windows Store
# Windows now supports a simple WSL installation using the command:
wsl --install
$ErrorActionPreference = 'Continue'
$ProgressPreference = 'SilentlyContinue'
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
Enable-WindowsOptionalFeature -Online -FeatureName HypervisorPlatform
### Keybase proof
I hereby claim:
* I am sanyer on github.
* I am romazhuzha (https://keybase.io/romazhuzha) on keybase.
* I have a public key ASCBKyjA8pjHTv60Q_69Wm0s7sI1n_S0scYC-HrJrkE-Sgo
To claim this, I am signing this object:
@sanyer
sanyer / osx_install.sh
Last active August 16, 2022 15:15 — forked from t-io/osx_install.sh
Bootstrap local macOS devenv
#!/bin/sh
# basic-system-languages.sh: ruby & python
brew install pyenv rbenv
cat <<EOF >>~/.zshrc
eval "$(pyenv init -)"
eval "$(rbenv init -)"
EOF
pyenv init - && pyenv install 3.10:latest && pyenv rehash
rbenv init - && rbenv install $(rbenv install -L | grep -v - | tail -1) && rbenv rehash