Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am fzenke on github.
  • I am fzenke (https://keybase.io/fzenke) on keybase.
  • I have a public key whose fingerprint is 5C68 4BF7 62CA E776 BE79 DA39 825D 71CA FBAA BB88

To claim this, I am signing this object:

@fzenke
fzenke / network.tex
Created August 22, 2017 12:54
Network with cell assembly in TikZ
\documentclass{standalone}
\usepackage{tikz,graphicx}
\usepackage{sfmath}
\usepackage{xifthen}
\renewcommand\familydefault\sfdefault
\usetikzlibrary{calc,fadings,decorations.pathreplacing}
\begin{document}
@fzenke
fzenke / cnote.env
Last active August 26, 2016 16:52
cmdnotes: Small bash extension scripts to take notes on the command line
#!/bin/bash
# cnote -- Shell extension scripts to take notes on the command line
# Source this file from .bashrc or your shell init script to enable command line notes
# Usage:
# To create and edit a note
# $ cnew <notename>
# To list all notes containing <regexp> in their title
# $ cnls <regexp>
# To trash a note
# $ cnrm <notename>
@fzenke
fzenke / cifar10_opt_test.py
Last active July 23, 2016 07:45
Simple mod of keras example cifar10_cnn.py
#!/usr/bin/python
'''Train a simple deep CNN on the CIFAR10 small images dataset and compare different optimizers
GPU run command: THEANO_FLAGS=mode=FAST_RUN,device=gpu,floatX=float32 python cifar10_opt_test.py
For the original script and Keras see https://github.com/fchollet/keras
'''
from __future__ import print_function
from keras.datasets import cifar10
from keras.preprocessing.image import ImageDataGenerator