Skip to content

Instantly share code, notes, and snippets.


Bogdan Kulynych bogdan-kulynych

View GitHub Profile
bogdan-kulynych /
Last active May 16, 2022
Install CUDA 10 on Ubuntu 18.04
# WARNING: These steps seem to not work anymore!
# Purge existign CUDA first
sudo apt --purge remove "cublas*" "cuda*"
sudo apt --purge remove "nvidia*"
# Install CUDA Toolkit 10
bogdan-kulynych / Makefile
Last active Aug 30, 2018
Preprocess papers for submission to arxiv
View Makefile
.PHONY: arxiv
arxiv: clean
pdflatex -interaction nonstopmode ${FILENAME}.tex
bibtex ${FILENAME}
pdflatex -interaction nonstopmode ${FILENAME}.tex
pdflatex -interaction nonstopmode ${FILENAME}.tex
rm -f ${FILENAME}.blg

Keybase proof

I hereby claim:

  • I am bogdan-kulynych on github.
  • I am bogdankulynych ( on keybase.
  • I have a public key ASBI3DzjS4NasxiKJWii4Ve4Hu-oU0WiYQ3GZpPPzly4XAo

To claim this, I am signing this object:

bogdan-kulynych /
Last active Jul 18, 2022
Transportation problem solver in Python
import numpy as np
from collections import Counter
def transport(supply, demand, costs):
# Only solves balanced problem
assert sum(supply) == sum(demand)
s = np.copy(supply)