Skip to content

Instantly share code, notes, and snippets.


Sean Jensen-Grey seanjensengrey

View GitHub Profile
Logo Memo 1 AIM-246.pdf A Computer Laboratory For Elementary Schools
Logo Memo 2 AIM-247.pdf Teaching Children Thinking
Logo Memo 3 AIM-248.pdf Twenty Things To Do With A Computer
Logo Memo 4 AIM-249.pdf Teaching Children To Be Mathematicians vs. Teaching About Mathematics
Logo Memo 5 AIM-254.pdf NIM: A Game-Playing Program
Logo Memo 6 AIM-264.pdf Developing A Musical Ear: A Ne
seanjensengrey / settings.json
Created May 5, 2018
vscode settings override
View settings.json
"workbench.colorCustomizations": {
"contrastActiveBorder": "#c210bc",
"input.border": "#FE2EF7",
"selection.background": "#58FAF4",
"editor.selectionBackground": "#58FAF4",
"widget.shadow": "#76e67b",
"editor.lineHighlightBorder": "#ff0000"
"editor.wrappingIndent": "indent",
View opam.txt
==> Caveats
OPAM uses ~/.opam by default for its package database, so you need to
initialize it first by running (as a normal user):
$ opam init
Run the following to initialize your environment variables:
$ eval `opam config env`
seanjensengrey /
Created Apr 9, 2018
kiss3d rotating cubes
extern crate kiss3d;
extern crate nalgebra as na;
use na::{Vector3, UnitQuaternion};
use kiss3d::window::Window;
use kiss3d::light::Light;
fn main() {
let mut window = Window::new("Kiss3d: cube");
let mut c = window.add_cube(1.0, 1.0, 1.0);
seanjensengrey /
Created Apr 4, 2018
wrk2 in a docker container
set -x
mkdir build-temp
pushd build-temp
git clone
docker run --rm -v $PWD/wrk2:/wrk2 sjg/builder:v1 /bin/bash -c 'cd wrk2; make'
docker build -t sjg/wrk2:v2 .
View octal_x86.txt
# source:
From: (Mark Hopkins)
Newsgroups: alt.lang.asm
Subject: A Summary of the 80486 Opcodes and Instructions
(1) The 80x86 is an Octal Machine
This is a follow-up and revision of an article posted in alt.lang.asm on
7-5-92 concerning the 80x86 instruction encoding.
The only proper way to understand 80x86 coding is to realize that ALL 80x86
View bootstrap0.txt
Bootstrapping a simple compiler from nothing
This document describes how I implemented a tiny compiler for a toy
programming language somewhat reminiscent of C and Forth. The funny
bit is that I implemented the compiler in the language itself without
directly using any previously existing software. So I started by
writing raw machine code in hexadecimal and then, through a series of
bootstrapping steps, gradually made programming easier for myself
while implementing better and better "languages".
View cc500.c
* Copyright (C) 2006 Edmund GRIMLEY EVANS <>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
View t.scad