Skip to content

Instantly share code, notes, and snippets.

View mcanthony's full-sized avatar

Michael Anthony mcanthony

  • DΞFCONCΞPTS
  • United States
View GitHub Profile
@mcanthony
mcanthony / marching_squares.cc
Last active August 30, 2015 10:57 — forked from mieko/marching_squares.cc
Marching Squares in C++
#include "marching-squares.hh"
#include "point.hh"
#include "polygon.hh"
#include "douglas-peucker.hh"
#include <ps/canvas/canvas.hh>
#include <cstring>
#include <vector>
@mcanthony
mcanthony / web-servers.md
Created September 30, 2015 09:02 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@mcanthony
mcanthony / Simple rotating loader.markdown
Created October 5, 2015 04:05
Simple rotating loader
@mcanthony
mcanthony / Pure CSS Loading spinners.markdown
Last active October 5, 2015 04:09
Pure CSS Loading spinners
@mcanthony
mcanthony / SVG Loading icons.markdown
Created October 5, 2015 08:47
SVG Loading icons
@mcanthony
mcanthony / index.html
Last active October 5, 2015 08:52
jEErvj
<script src="http://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.5/dat.gui.min.js" type="text/javascript"></script>
<canvas id="dots"></canvas>