Skip to content

Instantly share code, notes, and snippets.


Aaron Geisler aaron9000

View GitHub Profile
ScrimpyCat /
Created Nov 20, 2015
A run script for Xcode, to automatically update the dylib install names for any dylib's in the Frameworks folder. Adapted from
for DYLIB in "$LIBPATH"/*.dylib; do
TARGETID=$(otool -DX "$DYLIB")
install_name_tool -change "$TARGETID" "$NEWTARGETID" "$EXECFILE"
View Makefile
# Hello, and welcome to makefile basics.
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
# Once you're done here, go to
# to learn SOOOO much more.
gre / easing.js
Last active Dec 1, 2020
Simple Easing Functions in Javascript - see
View easing.js
* Easing Functions - inspired from
* only considering the t value for the range [0, 1] => [0, 1]
EasingFunctions = {
// no easing, no acceleration
linear: t => t,
// accelerating from zero velocity
easeInQuad: t => t*t,
// decelerating to zero velocity
vxnick / gist:380904
Created Apr 27, 2010
Array of country codes (ISO 3166-1 alpha-2) and corresponding names
View gist:380904
$countries = array
'AF' => 'Afghanistan',
'AX' => 'Aland Islands',
'AL' => 'Albania',
'DZ' => 'Algeria',
'AS' => 'American Samoa',
'AD' => 'Andorra',
vidarh / closures-basic.c
Created Dec 18, 2009
A number of ways to implement closures in C, in preparation of an upcoming blog post
View closures-basic.c
#include <stdio.h>
#include <stdlib.h>
struct closure {
void (* call)(struct closure *);
int x;
You can’t perform that action at this time.