Skip to content

Instantly share code, notes, and snippets.

View drguildo's full-sized avatar
🏴‍☠️

Simon Morgan drguildo

🏴‍☠️
View GitHub Profile
@drguildo
drguildo / Exercise2_3.pde
Created October 11, 2016 13:59
The Nature of Code - Exercise 2.3
Mover[] movers = new Mover[4];
void setup() {
size(800, 320);
for (int i = 0; i < movers.length; i++) {
movers[i] = new Mover(random(0.1, 5), random(0, width), random(0, height));
}
}
@drguildo
drguildo / Save.ini
Last active November 2, 2016 11:53
My Risk of Rain Save
[Achievement]
achievement_progress14=30
achievement_progress15=127711
achievement_progress16=2761
achievement_progress20=30
achievement_progress23=601
achievement_progress33=30119
achievement_progress35=148
achievement_progress41=20
achievement_progress47=14
@drguildo
drguildo / init.el
Created April 8, 2016 12:40
My Emacs initialization file.
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
(menu-bar-mode -1)
(tool-bar-mode -1)
(setq
backup-by-copying t ; don't clobber symlinks
backup-directory-alist
'(("." . "~/.saves")) ; don't litter my fs tree
Using username "admin".
[email protected]'s password:
> sh
BusyBox v1.17.2 (2015-06-01 17:19:31 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
# /tmp/busybox-mips
BusyBox v1.24.0.git (2015-10-05 12:07:17 UTC) multi-call binary.
@drguildo
drguildo / BusyBox Comparison.txt
Last active April 1, 2016 20:48
A comparison between the BusyBox version included with the Billion BiPac 8800NL and the statically linked binary available on the BusyBox website.
# /bin/busybox
BusyBox v1.17.2 (2015-06-01 17:19:31 CST) multi-call binary.
Copyright (C) 1998-2009 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.
Usage: busybox [function] [arguments]...
or: function [arguments]...
BusyBox is a multi-call binary that combines many common Unix
@drguildo
drguildo / BiPAC 8800NL.txt
Last active March 29, 2016 15:50
Various system information about the Billion BiPAC 8800NL
# cat /proc/version
Linux version 2.6.30 (root@Casper-Desktop) (gcc version 4.4.2 (Buildroot 2010.02-git) ) #1 SMP PREEMPT Mon Jun 1 17:11:27 CST 2015
# cat /proc/cpuinfo
system type : 963168MBV_17AZZ
processor : 0
cpu model : Broadcom4350 V8.0
BogoMIPS : 399.36
wait instruction : yes
microsecond timers : yes
Well I suppose I can talk about this since it's been a few years and there's nothing tying this account or ip firmly to anything I'm going to describe. This is all creative fiction, of course- so let's all go SWIMMING!
One day I mixed around 100mg of 4-aco-dmt into one of those fat gatorade bottles. I drunk the whole thing slowly over 24 hours while taking .5 mg of xanax every 2 hours or so (I have a slow metabolism and so xanax lasts 8-12 hours for me, valium over 24, so, as you can imagine the xanax built up. And I was constantly inhaling a large vaporizer bowl half full of white widow and half full of the venerable Alaskan Thunderfuck throughout this whole period. Some days before this my girlfriend and I had amusingly watched a documentary about those obsessive, often on the spectrum, adult fans of my little pony who just love to masturbate to drawn porn of the little equines. 4chan should never have been invented.
Well anyway, out of psylocetic flights of whimsy I decided to try to see why the fuck peo
@drguildo
drguildo / gist:2073b2457717f0fc7bec
Last active August 4, 2022 05:45
Fear and Loathing in Ukraine
Post by Underflow
====================
Post 1
====================
Here's what happened to an acquaintance of mine a few years ago. She told me this over the phone after I mentioned the joose. I started taping the conversation with her consent after a lengthy preamble - she asked to clean up any direct references to people or locations, cause she promised the people involved never to make this public; one of the guys is still working.
The friend's from Ukraine, but after listening to the story again I'm not 100% sure this took place there, as she was moving about a bit at that time. She was trying to get press work as a free-lance journalist and had made a deal with an ambulance crew to accompany them at night in the roughest districts in return for a few hundred US dollars and a case of Jack Daniel's.

Terrible maths textbooks are the norm. Reason is jettisoned in favour of rote memorisation for reasons I've yet to divine. Maybe because it requires less of the teacher? Maybe it's assumed that it's easier for the student? Who knows. In case you haven't guessed by now, I don't share those sentiments. The "take my word for it", drill and kill style is the antithesis of mathematics who's fundamental aim has always been a deeper understanding.

This page will serve as a list of resources I've found that aim to convey a true understanding of mathematics.

@drguildo
drguildo / TIS-100.md
Last active June 27, 2021 13:06
TIS-100 Cheat Sheet

TIS-100 Cheat Sheet

Instructions

Name Syntax Name Syntax
NOP NOP JMP JMP <LABEL>
MOV MOV <SRC>, <DST> JEZ JEZ <LABEL>
SWP SWP JNZ JNZ <LABEL>
SAV SAV JGZ JGZ