Skip to content

Instantly share code, notes, and snippets.

View ErikGartner's full-sized avatar

Erik Gärtner ErikGartner

View GitHub Profile
@ErikGartner
ErikGartner / .treehouse
Last active April 7, 2024 06:03
dTree Demo
1.3.1

THE WORLD'S BEST CHILI

The recipe was originally found in a book by the Texas journalist Francis X Tolbert, a man who devoted his life to this fiery meat pot.

It all began in the early 60's when Tolbert wrote an article like got the title "The Hunt for the Real Chilin".

In the coming years, he received 48,000 letters from all of the world corner. He read, prepared, traveled, tested, and interviewed living legends

@ErikGartner
ErikGartner / CUDA guide.md
Last active February 22, 2021 00:36
A CUDA installations guide

A Magical Guide to Installing CUDA

This guide tries to make sense of installing NVIDIA CUDA on Ubuntu.

Disclaimer: Installing CUDA is a somewhat tedious and can be a problematic process. This guide worked for me, though if you have an unusual configuration you might need additional preparations to make this work. My machines are mostly blank Ubuntu machines.

For reference NVIDIA's official guides are here for CUDA and cuDNN.

Last updated: 2019-07-27

Versions

### Keybase proof
I hereby claim:
* I am erikgartner on github.
* I am erikgartner (https://keybase.io/erikgartner) on keybase.
* I have a public key ASAx65x5aiAfExWxAwGGqaiMijfFIibSHDbALxpdqmTIDwo
To claim this, I am signing this object:
@ErikGartner
ErikGartner / tmux.md
Created October 10, 2018 13:28 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

@ErikGartner
ErikGartner / install-cuda-8.0.sh
Last active August 29, 2018 13:42
CUDA installation scripts. Note that these script are rough and doesn't check for all eventualities.
#! /bin/sh
# Installs CUDA 8.0 (not cuDNN) on Ubuntu 16.04 (or equivalent).
# Remove old stuff
sudo apt remove --purge -y "*cuda*" "*nvidia*" "*cudnn*"
# Download CUDA
wget "https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64-deb" -O "cuda.deb"
wget "https://developer.nvidia.com/compute/cuda/8.0/Prod2/patches/2/cuda-repo-ubuntu1604-8-0-local-cublas-performance-update_8.0.61-1_amd64-deb" -O "cuda-patch.deb"
@ErikGartner
ErikGartner / filter_genre.py
Created May 23, 2017 17:33
Preprocess lyrics for RNN
import csv
import requests
import sys
import json
LASTM_FM_KEY = ''
genre_cache = {}
@ErikGartner
ErikGartner / build_db.py
Created March 19, 2017 10:22
Whitewolf wikia dumper
import requests
import json
BASE_URL = 'http://whitewolf.wikia.com/'
def scrape_artifacts(offset=''):
path = 'api/v1/Articles/List'
query = {
'expand': 1,
@ErikGartner
ErikGartner / block.txt
Last active February 7, 2017 12:12
Gartner Adblock
[Adblock Plus 2.0]
omni.se##article.article--sponsored
@ErikGartner
ErikGartner / keybase.md
Created February 1, 2017 10:14
keybase proof

Keybase proof

I hereby claim:

  • I am erikgartner on github.
  • I am erikgartner (https://keybase.io/erikgartner) on keybase.
  • I have a public key ASAdw1HSlw2GJ1BWEZCBmt6wNjAhppKRRVL3ic_9Zj7Vqwo

To claim this, I am signing this object: