Skip to content

Instantly share code, notes, and snippets.

View becauseimgray's full-sized avatar

Grayson Jacobs becauseimgray

View GitHub Profile
@clofresh
clofresh / main.lua
Created June 1, 2013 22:03
Dragon curves. Wikipedia reference: https://en.wikipedia.org/wiki/Dragon_curve
local curves = {}
local timer = 0
local iterations = 0
function newCurve(startX, startY, startDir, lineLen, color)
return {
startX = startX,
startY = startY,
startDir = startDir,
lineLen = lineLen,
@magicrobotmonkey
magicrobotmonkey / multitouch.sh
Last active January 15, 2017 05:14
How to get some OSX like multi-touch gestures working on Linux Mint with Cinnamon.
#This is how I got some of the window management gestures working on linux mint with the cinnamon frontend:
#install your stuff
sudo apt-get install xorg-xserver-mtrack xbindkeys xdotool
#fix mtrack conf
sudo mv /usr/share/X11/xorg.conf.d/50-mtrack.conf /usr/share/X11/xorg.conf.d/60-mtrack.conf
#configure xbindkeys
(