Skip to content

Instantly share code, notes, and snippets.

View jafff's full-sized avatar

Jeff Horrocks jafff

  • Keylight
  • toronto, on
View GitHub Profile
@jafff
jafff / keybase.md
Created February 25, 2014 01:14
keybase.md

Keybase proof

I hereby claim:

  • I am jafff on github.
  • I am jaf (https://keybase.io/jaf) on keybase.
  • I have a public key whose fingerprint is D728 32D1 828A 8DE9 EE39 60A1 14AE 8F43 BF99 634C

To claim this, I am signing this object:

@jafff
jafff / mmapio.dasm16
Created April 29, 2012 19:46
dcpu memory mapped i/o test
SET I, 255
SET [0x8000], 0x1
:loop ADD [0x8000], 0x1
SUB I, 1
IFN I, 0
SET PC, loop
:crash SET PC, crash
@jafff
jafff / dcputest.dasm16
Created April 29, 2012 16:13
dcpu test
; Try some basic stuff
SET A, 0x30 ; 7c01 0030
SET [0x1000], 0x20 ; 7de1 1000 0020
SUB A, [0x1000] ; 7803 1000
IFN A, 0x10 ; c00d
SET PC, crash ; 7dc1 001a [*]
; Do a loopy thing
SET I, 10 ; a861
SET A, 0x2000 ; 7c01 2000
@jafff
jafff / ceph_notes.txt
Created January 5, 2012 07:18
ceph dev environment config notes
add user_xattr to / mp in fstab
sudo apt-get install debhelper autotools-dev autoconf automake g++ gcc cdbs libfuse-dev libboost-dev \
libedit-dev libssl-dev libtool libexpat1-dev libfcgi-dev libatomic-ops-dev libgoogle-perftools-dev \
libkeyutils-dev pkg-config libgtkmm-2.4-dev libcrypto++-dev python-dev libcurl4-gnutls-dev
build with:
CXXFLAGS="-g" ./configure
cd src