Skip to content

Instantly share code, notes, and snippets.

View zellyn's full-sized avatar

Zellyn Hunter zellyn

View GitHub Profile
@zellyn
zellyn / README.md
Created October 31, 2012 16:01
Even more xkcd-style graphs, with SVG filters
@zellyn
zellyn / config.json
Created November 2, 2012 23:49
just another inlet to tributary
{"endpoint":"","display":"svg","public":true,"require":[],"tab":"edit","display_percent":0.7,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"period","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01}
@zellyn
zellyn / gist:9044913
Created February 17, 2014 04:50
Jakarta level solution for @tqbf
Level: Jakarta
username: 20202e2c2d7e3a3b3d3d2b2b2a2a23234040ffffffffffffffffffffffffffff
password: ffffffffc2240f9312300b4f8e104d4e0eed8d110c430f43073c1bb302240c5e0f6d0b110e5e0d6d0b93f72330413fe31f533ee31e53e93f0643074308430e480f48b0120824054f0e470f48b0120824084f0858085a0e470f47b0120824074f0f553f900f04062c07850759165336901016e52b30413a401bffb1400a1d062032402580b0121028394035feb0123a245646f23f8146063832403d80b012104139500a453990bc4bf1233a5015543a902201e323324059ffb012105d32d0f0ff2e435d4e64247d93d627ce4364240e4df83fffffffffffffffffffffffffffff
See http://bit.ly/1lYboGC

Keybase proof

I hereby claim:

  • I am zellyn on github.
  • I am zellyn (https://keybase.io/zellyn) on keybase.
  • I have a public key whose fingerprint is ED49 AABD 0E8C CCC1 18C1 CBBA B33D 7892 02A6 7C01

To claim this, I am signing this object:

@zellyn
zellyn / _.md
Created June 11, 2014 18:00
tinkerbell
@zellyn
zellyn / shadertoy-distance-field-101.c
Created December 9, 2015 12:26
Playing with distance fields on shadertoy
const int MAX_ITER = 100;
const float MAX_DIST = 20.0;
const float EPSILON = 0.001;
struct RayResult {
vec3 pos;
vec3 normal;
float dist;
float mindist;
float totaldist;
syntax = "proto2";
// Copyright 2012, Square Inc.
// This file provides the default Sake service exported on all Sake services. Useful for debugging
// remote hosts from the commandline or other tools.
package squareup.sake;
option java_package = "com.squareup.protos.sake";
option java_generic_services = true;
I cobbled together a (unix-specific, syscall-using) solution based on the
stack overflow answer to the same question in python, and a previous post
on this list. References inline.
Note: this seems to work, but I haven't taken the time to really understand
what I'm doing, and I welcome any suggestions or fixes.
// https://groups.google.com/d/msg/golang-nuts/8o9fxPaeFu8/uSFYfobL5EgJ
// http://go.pastie.org/813153
* Starting development
git clone git@github.com:zellyn/OpenEmulator-OSX.git
git clone https://github.com/OpenEmulatorProject/OpenEmulator-OSX.git
cd OpenEmulator-OSX
git submodule init
git submodule update
# Cloning into '/Users/zellyn/gh/OpenEmulator-OSX/modules/libemulation'...
# Fetched in submodule path 'modules/libemulation', but it did not contain 51bf1c4aa9fe689bb895a723cf0f1e3f0b8d2741. Direct fetching of that commit failed.
cd modules/libemulation
package main
import (
"crypto/cipher"
"crypto/des"
"encoding/binary"
"fmt"
)
var des3 cipher.Block