Skip to content

Instantly share code, notes, and snippets.

@azidanit
azidanit / homebrew-install-older-version.md
Created March 14, 2022 07:55
Homebrew: Install an older version of a formula

Homebrew: Install an older version of a formula

kubernetes-cli (v1.10.3) taken as example

  1. Downgrade Homebrew to the commit which upgrades the formula to the specific version that we want
$ cd "$(brew --repo homebrew/core)"
$ git log Formula/kubernetes-cli.rb

...
@azidanit
azidanit / cuda-11.2_installation_on_Ubuntu-18.04
Created February 5, 2022 11:57 — forked from mcvarer/cuda-11.2_installation_on_Ubuntu-18.04
CUDA 11.2 Installation on Ubuntu 18.04
#!/bin/bash
## This gist contains instructions about cuda v11.2 and cudnn 8.1 installation in Ubuntu 18.04 for PyTorch
#############################################################################################
##### forked by : https://gist.github.com/Mahedi-61/2a2f1579d4271717d421065168ce6a73 ########
#############################################################################################
### steps ####
# verify the system has a cuda-capable gpu