Skip to content

Instantly share code, notes, and snippets.

@tweakoz
tweakoz / gist:a68407be79e3cea85c3cb0744c9d4505
Last active June 20, 2024 14:27
Mellanox IPOIB setup Debian/Ubuntu/Netplan/Systemd
################################
# install mlnxofed driver
################################
download: https://www.mellanox.com/products/infiniband-drivers/linux/mlnx_ofed
################################
# put HCA's in IPOIB mode
################################
mst start # start mellanox software tools
@tweakoz
tweakoz / migrate_to_lfs_full.sh
Created December 12, 2019 02:30
migrate all history to lfs (even if LFS already installed)
# get BFG from https://rtyley.github.io/bfg-repo-cleaner/
# mirror repo (with lfs already installed)
git clone --mirror git@gitserver:<username>/<old-repo-name>.git
cd <old-repo-name>.git
# get local copy of all files already in lfs (from old remote)
git lfs fetch --all origin <master develop all branches you are insterested separated by spaces>
# convert all history
cd ..
#!/bin/bash
#Heith Seewald 2012
#Feel free to extend/modify to meet your needs.
#Maya on Ubuntu v.1
#This is the base installer... I’ll add more features in later versions.
#if you have any issues, feel free email me at heiths@gmail.com
#### Lets run a few checks to make sure things work as expected.
#Make sure we’re running with root permissions.
if [ `whoami` != root ]; then