Skip to content

Instantly share code, notes, and snippets.

View vonEdfa's full-sized avatar
🦄
Bork bork bork!

Malin von Matern vonEdfa

🦄
Bork bork bork!
View GitHub Profile
@vonEdfa
vonEdfa / 01_install.md
Last active December 22, 2020 00:10
Folding@Home Linux server installation (64bit Debian/Ubuntu)

Quick install of FAHClient for 64bit Debian/Ubuntu servers

1. Download the installer

Pick a version:

v7.5 (latest when this guide was written):

$ wget -P /tmp/fahclient/ https://download.foldingathome.org/releases/public/release/fahclient/debian-stable-64bit/v7.5/latest.deb
@vonEdfa
vonEdfa / lazyload-nvm.sh
Created October 25, 2019 10:52
My fav bash configs
# Lazy load NVM
declare -a NODE_GLOBALS=(`find ~/.nvm/versions/node -maxdepth 3 -type l -wholename '*/bin/*' | xargs -n1 basename | sort | uniq`)
NODE_GLOBALS+=("node")
NODE_GLOBALS+=("nvm")
export NVM_DIR="$HOME/.nvm"
load_nvm() {
#export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm