Skip to content

Instantly share code, notes, and snippets.

@vogon
vogon / Cargo.toml
Created January 1, 2016 20:54
ICFP 2006 Universal Machine
[package]
name = "icfp-2006"
version = "0.1.0"
authors = ["Colin <vogon@icculus.org>"]
[dependencies]
byteorder = "0.4.2"
getopts = "0.2.14"
time = "0.1.34"
@vogon
vogon / gist:9769947
Created March 25, 2014 19:53
netrunner test
@vogon - vogon on OCTGN, usual hours PST/PDT after work (6:30pm-???)

Keybase proof

I hereby claim:

  • I am vogon on github.
  • I am vogon (https://keybase.io/vogon) on keybase.
  • I have a public key whose fingerprint is CBF2 E54A F129 FB9A 5AD5 31A6 DFDD 9B29 59A3 E372

To claim this, I am signing this object:

Initialize engine version: 4.2.1f4 (4d30acc925c2)
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 9.0c [nvd3dumx.dll 9.18.13.3165]
Renderer: NVIDIA GeForce GTX 650 Ti BOOST
Vendor: NVIDIA
VRAM: 1989 MB (via DXGI)
Caps: Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=0 DF24=0 INTZ=1 RAWZ=0 NULL=1 RESZ=0 SlowINTZ=0
Begin MonoManager ReloadAssembly
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Gone Home\GoneHome_Data\Managed\UnityEngine.dll (this message is harmless)
Creating new core services instance...
Setting format: 7
CoreServices::getInstance()->getRenderer() 003F9A40
Error adding archive to resource manager... File not found
Added archive: Internal/default.pak
Adding texture default
Adding GLSL fragment program default/DefaultParticleShader.frag
Adding GLSL fragment program default/DefaultShader.frag
Adding GLSL vertex program default/DefaultShader.vert
Adding GLSL fragment program default/DefaultShaderNoTexture.frag
@vogon
vogon / gist:5941626
Created July 6, 2013 23:14
compose_page.slim
doctype transitional
html
head
link rel="stylesheet" type="text/css" href="handn_stylesheet.css"
title Haughty or Naughty Magnetic Poetry Game
body
div id="header"
img src="images/HandN_Logo_Small.png"
ul
function handleMagnetDragOver(e) {
// alert("dragover");
if ($(e.target).hasClass("poem-row-words") ||
$(e.target).parents().hasClass("poem-row-words")) {
if (e.preventDefault) {
e.preventDefault();
}
e.originalEvent.dataTransfer.dropEffect = 'move';
@vogon
vogon / gist:2975322
Created June 22, 2012 21:31 — forked from robhanlon22/gist:2975121
shit that works
require './helpers'
module CLR
def self.remove_const?(sym)
begin
remove_const sym
rescue
end
end
@vogon
vogon / gist:2975094
Created June 22, 2012 20:50
shit that doesn't work
module CLR
class MDTable
def self.dump
puts @@schema
end
def self.word(name)
@@schema << "word #{name};"
require 'thread'
load './utility.rb'
class Game
def initialize
@winner = nil
@rules = []
end
attr_accessor :winner