Skip to content

Instantly share code, notes, and snippets.

View ozer550's full-sized avatar
πŸ˜€
Building software

Prathamesh Desai ozer550

πŸ˜€
Building software
View GitHub Profile
@vkWeb
vkWeb / ReviewPRCommands.md
Last active December 2, 2022 10:46
To review PRs these commands are helpful. πŸš€

Every open source contributor at some point reviews pull requests. Pulling the contents of the PR locally is important to test the code. Many a times reviewers themselves want to fix stuff on the PR like merge conflicts, typos. GitHub has documentation to deal with this but I never found those simple enough so here's the way I suggest reviewing PRs:

Keep in mind upstream refers to the original repository from which you forked and your own forked copy is called origin.

Note: Things in UPPERCASE are placeholders for some GitHub specific values. You'll understand them by reading.

# Fetch PR
git fetch upstream refs/pull/PULLREQ_NUMBER/head:pr-PULLREQ_NUMBER
@luzfcb
luzfcb / installing_pyenv_on_ubuntu_based_distros.md
Last active April 18, 2025 22:04
Quick install pyenv and Python

Tested only on Ubuntu 24.04, KDE Neon User Edition (based on Ubuntu 24.04) and OSX Mojave or higher.

will probably work on other newer versions, with no changes, or with few changes in non-python dependencies (apt-get packages)

NOTE: Don't create a .sh file and run it all at once. It may will not work. Copy, paste, and execute each command below manually. :-)

Ubuntu

# DO NOT RUN THIS AS A ROOT USER