Skip to content

Instantly share code, notes, and snippets.

View salhernandez's full-sized avatar
🦈

Salvador Hernandez salhernandez

🦈
View GitHub Profile

Ultimate Beginner's Guide to Proxmox GPU Passthrough

mirror of The Ultimate Beginner's Guide to GPU Passthrough (Proxmox, Windows 10) by /u/cjalas

>Welcome all, to the first installment of my Idiot Friendly tutorial series! I'll be guiding you through the process of configuring GPU Passthrough for your Proxmox Virtual Machine Guests. This guide is aimed at beginners to virtualization, particularly for Proxmox users. It is intended as an overall guide for passing through a GPU (or multiple GPUs) to your Virtual Machine(s). It is not intended as an all-exhaustive how-to guide; however, I will do my best to provide you with all the necessary resources and sources for the passthrough process, from start to finish. If something doesn't work properly, please check /r/Proxmox, /r/Homelab, /r/VFIO, or

#!/bin/bash
function get_branch() {
git branch --no-color | grep -E '^\*' | awk '{print $2}' \
|| echo “default_value”
}
branch_to_merge="master"
current_branch=$(get_branch)
timestamp=$(date +%m-%d-%Y_%H-%M-%S)
@salhernandez
salhernandez / notifyMe.sh
Created August 28, 2019 05:41
Shell wrapper that sends push notification via Pushover when a task is completed.
#!/bin/bash
# Invoke it by .... sh notifyMe generateJs
# This is meant for tasks that require more than a few seconds to execute. Upon completion the push notification via Pushover will be sent.
# Can be used for compiling an Android .apk from React-Native, etc...
listDirectory="listDirectory"
buildAndroid="buildAndroid"
if [ $1 = $command1 ]; then
ls
@salhernandez
salhernandez / InstallingMeld.md
Last active September 1, 2025 08:03 — forked from kjlubick/InstallingMeld
How to install Meld on Windows and getting it set up with Git

Install Meld from their webpage http://meldmerge.org/

I had to tell git where it was:

git config --global merge.tool meld git config --global diff.tool meld

If using windows 8 and 10 use the following git config --global mergetool.meld.path "/c/Program Files (x86)/meld/meld.exe" git config --global difftool.meld.path "/c/Program Files (x86)/meld/meld.exe"

@salhernandez
salhernandez / prepare-commit-msg
Last active December 29, 2017 06:30 — forked from bartoszmajsak/prepare-commit-msg.sh
How to automatically prepend git commit with a branch name
#!/bin/bash
# This way you can customize which branches should be skipped when
# prepending commit message.
if [ -z "$BRANCHES_TO_SKIP" ]; then
BRANCHES_TO_SKIP=(master develop test)
fi
BRANCH_NAME=$(git symbolic-ref --short HEAD)
#change what you want to grab from the branch