I hereby claim:
- I am thejustinwalsh on github.
- I am thejustinwalsh (https://keybase.io/thejustinwalsh) on keybase.
- I have a public key whose fingerprint is 4909 F883 2B00 FA63 0BE6 4F16 B2ED 6E59 F64C E113
To claim this, I am signing this object:
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; | |
/* Usage: |
template<typename... params> | |
class Delegate | |
{ | |
typedef void (*Type)(void* callee, params...); | |
public: | |
Delegate(void* callee, Type function) : _callee(callee), _delegate(function) {} | |
template <class T, void (T::*TMethod)(params...)> | |
static Delegate make(T* callee) | |
{ |
#!/bin/bash | |
open -a /Applications/Visual\ Studio\ Code.app/Contents/MacOS/Atom "$1" |
class util.Random | |
{ | |
public static function get instance():Random { return _instance; } | |
public function Random(seed:Number) | |
{ | |
r = seed; | |
if (!_instance) _instance = this; | |
} |
I hereby claim:
To claim this, I am signing this object:
echo -e "\e[1;40m" ; clear ; while :; do echo $LINES $COLUMNS $(( $RANDOM % $COLUMNS)) $(( $RANDOM % 72 )) ;sleep 0.05; done|awk '{ letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#$%^&*()"; c=$4; letter=substr(letters,c,1);a[$3]=0;for (x in a) {o=a[x];a[x]=a[x]+1; printf "\033[%s;%sH\033[2;32m%s",o,x,letter; printf "\033[%s;%sH\033[1;37m%s\033[0;0H",a[x],x,letter;if (a[x] >= $1) { a[x]=0; } }}' |
// rewriten from http://sanojian.github.io/cellauto/ | |
function CellAutoVoronoiCell(index) { | |
this.index = index; | |
this.delays = []; | |
} | |
CellAutoVoronoiCell.prototype.process = function(neighbors) { | |
return; | |
}; |
package openal; | |
import openal.AL; | |
abstract Effect(Int) { | |
public inline function toInt() : Int { return this; } | |
public static inline function ofInt( v : Int ) : Effect { return cast v; } | |
} | |
abstract Filter(Int) { | |
public inline function toInt() : Int { return this; } |
#!/bin/sh | |
rm -rf ./deps | |
mkdir ./deps | |
pushd deps | |
# Directory Layout | |
# <ProjectRoot> | |
# build | |
# |_ iOS | |
# |_ deps |
#include <hl.h> | |
void openal_al_get_auxiliary_effect_slotfv(int a, int b, vbyte* c) { } | |
float openal_al_get_auxiliary_effect_slotf(int a, int b) { return 0.f; } | |
void openal_al_get_auxiliary_effect_slotiv(int a, int b, vbyte* c) { } | |
int openal_al_get_auxiliary_effect_sloti(int a, int b) { return 0; } | |
void openal_al_auxiliary_effect_slotfv(int a, int b, vbyte* c) { } | |
void openal_al_auxiliary_effect_slotf(int a, int b, float c) { } | |
void openal_al_auxiliary_effect_slotiv(int a, int b, vbyte* c) { } | |
void openal_al_auxiliary_effect_sloti(int a, int b, int c) { } |