Skip to content

Instantly share code, notes, and snippets.

View caspervonb's full-sized avatar

Casper Beyer caspervonb

View GitHub Profile
@caspervonb
caspervonb / keybase.md
Created October 1, 2021 03:18
keybase.md

Keybase proof

I hereby claim:

  • I am caspervonb on github.
  • I am caspervonb (https://keybase.io/caspervonb) on keybase.
  • I have a public key ASB16NBlNNo6BrqKouX9YWhchUemh_WZRz_1Uc2w_CO1Gwo

To claim this, I am signing this object:

namespace Deno {
  export interface TestCase {
    name: string;
    fn: () => void | Promise<void>;
    /** Ignore this test case during execution. Defaults to false. */
    ignore?: boolean;
    /** If at least one test case has `only` set to true, only run tests that have
     * `only` set to true and fail the test suite. */
    only?: boolean;
@caspervonb
caspervonb / deno-one-year-and-two-hundred-patches-later.md
Last active April 20, 2021 19:47
Deno, One Year and Two Hundred Patches Later

Deno, One Year and Two Hundred Patches Later

About a year ago, I made a new year resolution to finally publish a game. I’ve already passed 30 and have been developing games for fun since I was a little brat.

That, predictably turned out pretty much like you’d expect a new year resolution to go, it never came to pass.

But the reason wasn’t that I didn’t work on it, its just that when it comes to my own projects I am really a top tier expert yak shaver so I basically ended up shaving yaks until I became an active contributor to the Deno TypeScript and JavaScript runtime instead.

From Game Development To Shaving Ten Thousand Yaks

@caspervonb
caspervonb / Makefile
Last active July 23, 2018 06:47
6o5-makefile guide
SRC = $(wildcard src/*.js)
LIB = $(SRC:src/%.js=lib/%.js)
lib: $(LIB)
lib/%.js: src/%.js
mkdir -p $(@D)
6to5 $< -o $@
clean:
@caspervonb
caspervonb / SpriteBatch3D.as
Created November 4, 2011 11:52
Sprite Batching with stage3D
package flash.display3D
{
import com.adobe.utils.AGALMiniAssembler;
import flash.display.Sprite;
import flash.display3D.textures.*;
import flash.errors.*;
import flash.geom.*;
/**