Skip to content

Instantly share code, notes, and snippets.

View victorfei's full-sized avatar

Victor Fei victorfei

View GitHub Profile
import os
from PIL import Image
import numpy as np
files = [f for f in os.listdir("handwriting/numbers/")]
files = ["handwriting/numbers/" + f for f in files]
STANDARD_SIZE = (50, 50)
def get_image_data(filename):
img = Image.open(filename)
@victorfei
victorfei / tmux-cheatsheet.markdown
Created August 26, 2016 21:06 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@victorfei
victorfei / 0_reuse_code.js
Created November 10, 2015 01:22
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console