Skip to content

Instantly share code, notes, and snippets.


Zellyn Hunter zellyn

View GitHub Profile
zellyn / clear the scrollback on MacOS
Created Mar 9, 2017
My watchloop script, and helper functions
View clear the scrollback on MacOS
alias csb="clear && printf '\e[3J'"
View clone iie fork of OpenEmulator
rm -rf OpenEmulator-zellyn
git clone OpenEmulator-zellyn
cd OpenEmulator-zellyn
git checkout iie
git submodule update --init --recursive
open OpenEmulator.xcodeproj
View des3.go
package main
import (
var des3 cipher.Block
View Open Emulator starting development
* Starting development
git clone
git clone
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
View gist:14935c93efc64e4d4162
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.
View service.proto
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;
zellyn / shadertoy-distance-field-101.c
Created Dec 9, 2015
Playing with distance fields on shadertoy
View shadertoy-distance-field-101.c
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;
zellyn /
Created Jun 11, 2014

Keybase proof

I hereby claim:

  • I am zellyn on github.
  • I am 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 / gist:9044913
Created Feb 17, 2014
Jakarta level solution for @tqbf
View gist:9044913
Level: Jakarta
username: 20202e2c2d7e3a3b3d3d2b2b2a2a23234040ffffffffffffffffffffffffffff
password: ffffffffc2240f9312300b4f8e104d4e0eed8d110c430f43073c1bb302240c5e0f6d0b110e5e0d6d0b93f72330413fe31f533ee31e53e93f0643074308430e480f48b0120824054f0e470f48b0120824084f0858085a0e470f47b0120824074f0f553f900f04062c07850759165336901016e52b30413a401bffb1400a1d062032402580b0121028394035feb0123a245646f23f8146063832403d80b012104139500a453990bc4bf1233a5015543a902201e323324059ffb012105d32d0f0ff2e435d4e64247d93d627ce4364240e4df83fffffffffffffffffffffffffffff