Skip to content

Instantly share code, notes, and snippets.

//configurable variables
boolean
exportMode = true; //set to true when exporting, false when designing
String
folderPrefix = "b";
int
fps = 24,
outputScale = 2, //set to 2 or 4 when exporting, 1 when designing
windowSize = 480 * outputScale,
@mjgil
mjgil / svm.py
Created May 14, 2014 00:08 — forked from mblondel/svm.py
# http://www.mblondel.org/journal/2010/09/19/support-vector-machines-in-python/
# Mathieu Blondel, September 2010
# License: BSD 3 clause
import numpy as np
from numpy import linalg
import cvxopt
import cvxopt.solvers
def linear_kernel(x1, x2):
@mjgil
mjgil / _.md
Created October 13, 2013 02:03
worms
@mjgil
mjgil / _.md
Created September 24, 2013 05:42
people on rings
@mjgil
mjgil / _.md
Created September 24, 2013 05:21
spinner animation
@mjgil
mjgil / _.md
Created September 24, 2013 04:40
sin waves
# View list of connections and their states
netstat -tan | grep ':80 ' | awk '{print $6}' | sort | uniq -c
# List all connections and timers
ss -rota | less
<!-- Prompt IE6 users to install Chrome Frame -->
<!--[if lt IE 7 ]>
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
<![endif]-->

Get Your Vim On

Rod Knowlton (@codelahoma)

Tulsa Web Devs - 8/20/2012

Last Updated: - 1/23/2013

First Things First