Skip to content

Instantly share code, notes, and snippets.

View eavom's full-sized avatar
🖱️
Setting up my Github

eavom

🖱️
Setting up my Github
View GitHub Profile
@eavom
eavom / python-virtual-env.md
Last active December 20, 2024 00:58
Python ~ Virtual Environment (DRAFT)
python -m venv .app-env
.\.app-venv\Scripts\activate
which python
python --version
pip list
.app-venv\Scripts\python -m pip install --upgrade pip
pip freeze
pip freeze > packages.txt
@eavom
eavom / git-config.md
Last active December 20, 2024 00:59
Git ~ Config Setup
git config --list
git config --global user.name "display-name"
git config --global user.email "github-email" 
git config --global http.sslbackend schannel
git config --global http.sslbackend openssl
git config --global --list
git config --local --list
@eavom
eavom / windows-commands.md
Last active June 2, 2024 23:06
Windows ~ Useful commands

Generate SSH key with ed25519 cryptography algorithm


 ssh-keygen -t ed25519 -C "personal github account ~ the-mova"

Run program (e.g. SSMS) as a different user


runas /netonly /user:domainname\username Ssms.exe
@eavom
eavom / github-ssh-config.md
Last active June 2, 2024 23:06
Github ~ SSH Config

SSH config file to setup and use one or more github account(s)

# Personal github account ~ uses public key
Host gh_personal
	HostName github.com
	PreferredAuthentications publickey
	IdentityFile ~/.ssh/gh_personal
	
# Work github account ~ uses public key