Skip to content

Instantly share code, notes, and snippets.

======================================== SAMPLE 1 ========================================
little salad I thought to myself and the moment went by I knew that I couldn't wait to try some new fruits and vegetables at home and get my hair to grow back. It took me about 3
======================================== SAMPLE 2 ========================================
curry with bhoja and sesame seeds but I did it more for the crunch factor.
There is one caveat to this recipe
Although I enjoyed the chutney sauce, I
======================================== SAMPLE 3 ========================================
burger or had a plate of tacos. The good news is that the food is still delicious. I had just ordered the chicken tacos, the chicken was cooked and topped with onions and a casserole
@8enmann
8enmann / post_process.py
Created May 3, 2019 22:40 — forked from Smerity/post_process.py
WikiText: Python 2 post processing used on Moses tokenized input
# encoding=utf8
import sys
reload(sys)
sys.setdefaultencoding('utf8')
import re
number_match_re = re.compile(r'^([0-9]+[,.]?)+$')
number_split_re = re.compile(r'([,.])')
@8enmann
8enmann / reinstall.sh
Last active October 12, 2021 06:07
Reinstall NVIDIA drivers without opengl Ubuntu 16.04 GTX 1080ti
# Download installers
mkdir ~/Downloads/nvidia
cd ~/Downloads/nvidia
wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda_8.0.61_375.26_linux-run
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/384.59/NVIDIA-Linux-x86_64-384.59.run
sudo chmod +x NVIDIA-Linux-x86_64-384.59.run
sudo chmod +x cuda_8.0.61_375.26_linux-run
./cuda_8.0.61_375.26_linux-run -extract=~/Downloads/nvidia/
# Uninstall old stuff
sudo apt-get --purge remove nvidia-*
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am 8enmann on github.
  • I am 8enmann (https://keybase.io/8enmann) on keybase.
  • I have a public key ASA6wR0JT_nqKd__Rdi52lDWzDLg56iWFJrB3TnLXOvc9Qo

To claim this, I am signing this object: