Skip to content

Instantly share code, notes, and snippets.

@unsalted
unsalted / Tensorflow-GPU-ubuntu16.04.md
Last active July 5, 2017 14:24
Ubuntu 16.04 - Tensorflow (GPU) setup
@paulbdavis
paulbdavis / i3zenburn-colors
Created February 14, 2013 20:55
i3 zenburn colors
# colors
client.focused #688060 #688060 #303030 #ffcfaf
client.focused_inactive #3f3f3f #3F3F3F #7f9f7f #3f3f3f
client.unfocused #3f3f3f #3F3F3F #DCDCCC #3f3f3f
client.urgent #dca3a3 #dca3a3 #DCDCCC #3f3f3f
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
@endolith
endolith / frequency_estimator.py
Last active October 26, 2024 20:10
Frequency estimation methods in Python
from __future__ import division
from numpy.fft import rfft
from numpy import argmax, mean, diff, log, nonzero
from scipy.signal import blackmanharris, correlate
from time import time
import sys
try:
import soundfile as sf
except ImportError:
from scikits.audiolab import flacread