Skip to content

Instantly share code, notes, and snippets.

View jordanorelli's full-sized avatar
🎴

Jordan Orelli jordanorelli

🎴
View GitHub Profile
vagrant@vagrant[0] ~: cat pwd.zig
const std = @import("std");
const os = std.os;
const print = std.debug.print;
pub fn main() !void {
// I think this is entirely on the stack?
var buf: [4096]u8 = undefined;
// use that fixed array we put on the stack as
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TracerDot : MonoBehaviour {
private float spawned;
void Start() {
spawned = Time.time;
}
@jordanorelli
jordanorelli / game.txt
Created September 18, 2019 19:55
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[61,"0",44,"f",115,"0",22,"f",1,"6",22,"f",115,"0",21,"f",2,"6",5,"f",1,"6",7,"f",3,"6",6,"f",115,"0",9,"f",5,"5",6,"f",4,"6",4,"f",1,"6",7,"f",1,"6",1,"f",1,"6",2,"f",3,"6",1,"f",115,"0",7,"f",3,"5",3,"b",2,"5",4,"f",3,"6",6,"f",1,"6",6,"f",1,"6",2,"f",1,"6",2,"f",1,"6",1,"f",1,"6",1,"f",115,"0",6,"f",3,"5",5,"b",1,"5",4,"f",1,"6",1,"f",1,"6",6,"f",1,"6",6,"f",2,"6",1,"f",1,"6",2,"f",1,"6",1,"f",1,"6",1,"f",115,"0",5,"f",2,"5",7,"b",1,"5",4,"f",3,"6",6,"f",1,"6",7,"f",3,"6",2,"f",3,"6",1,"f",115,"0",5,"f",1,"5",2,"b",3,"4",3,"b",1,"5",6,"f",3,"6",4,"f",1,"6",9,"f",1,"6",4,"f",1,"6",1,"f",115,"0",5,"f",1,"5",2,"b",3,"4",3,"b",1,"5",6,"f",1,"6",1,"f",2,"6",3,"f",1,"6",9,"f",1,"6",4,"f",1,"6",1,"f",115,"0",4,"f",2,"5",2,"b",2,"4",3,"b",2,"5",6,"f",1,"6",2,"f",1,"6",3,"f",1,"6",2,"f",2,"6",5,"f",1,"6",4,"f",1,"6",1,"f",115,"0",4,"f",2,"5",2,"b",2,"4",2,"b",2,"5",5,"f",1,"6",1,"f",1,"6",2,"f",1,"6",3,"f",1,"6",2,"f",2,"6",5,"f",1,"6",4,"f",1,"6",1,"f",115,"0",5,"f",8,"
@jordanorelli
jordanorelli / game.txt
Created September 18, 2019 19:50
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[61,"0",44,"f",115,"0",22,"f",1,"6",22,"f",115,"0",21,"f",2,"6",5,"f",1,"6",7,"f",3,"6",6,"f",115,"0",9,"f",5,"5",6,"f",4,"6",4,"f",1,"6",7,"f",1,"6",1,"f",1,"6",2,"f",3,"6",1,"f",115,"0",7,"f",3,"5",3,"b",2,"5",4,"f",3,"6",6,"f",1,"6",6,"f",1,"6",2,"f",1,"6",2,"f",1,"6",1,"f",1,"6",1,"f",115,"0",6,"f",3,"5",5,"b",1,"5",4,"f",1,"6",1,"f",1,"6",6,"f",1,"6",6,"f",2,"6",1,"f",1,"6",2,"f",1,"6",1,"f",1,"6",1,"f",115,"0",5,"f",2,"5",7,"b",1,"5",4,"f",3,"6",6,"f",1,"6",7,"f",3,"6",2,"f",3,"6",1,"f",115,"0",5,"f",1,"5",2,"b",3,"4",3,"b",1,"5",6,"f",3,"6",4,"f",1,"6",9,"f",1,"6",4,"f",1,"6",1,"f",115,"0",5,"f",1,"5",2,"b",3,"4",3,"b",1,"5",6,"f",1,"6",1,"f",2,"6",3,"f",1,"6",9,"f",1,"6",4,"f",1,"6",1,"f",115,"0",4,"f",2,"5",2,"b",2,"4",3,"b",2,"5",6,"f",1,"6",2,"f",1,"6",3,"f",1,"6",2,"f",2,"6",5,"f",1,"6",4,"f",1,"6",1,"f",115,"0",4,"f",2,"5",2,"b",2,"4",2,"b",2,"5",5,"f",1,"6",1,"f",1,"6",2,"f",1,"6",3,"f",1,"6",2,"f",2,"6",5,"f",1,"6",4,"f",1,"6",1,"f",115,"0",5,"f",8,"
@jordanorelli
jordanorelli / game.txt
Created September 18, 2019 19:49
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[61,"0",44,"f",115,"0",22,"f",1,"6",22,"f",115,"0",21,"f",2,"6",5,"f",1,"6",7,"f",3,"6",6,"f",115,"0",9,"f",5,"5",6,"f",4,"6",4,"f",1,"6",7,"f",1,"6",1,"f",1,"6",2,"f",3,"6",1,"f",115,"0",7,"f",3,"5",3,"b",2,"5",4,"f",3,"6",6,"f",1,"6",6,"f",1,"6",2,"f",1,"6",2,"f",1,"6",1,"f",1,"6",1,"f",115,"0",6,"f",3,"5",5,"b",1,"5",4,"f",1,"6",1,"f",1,"6",6,"f",1,"6",6,"f",2,"6",1,"f",1,"6",2,"f",1,"6",1,"f",1,"6",1,"f",115,"0",5,"f",2,"5",7,"b",1,"5",4,"f",3,"6",6,"f",1,"6",7,"f",3,"6",2,"f",3,"6",1,"f",115,"0",5,"f",1,"5",2,"b",3,"4",3,"b",1,"5",6,"f",3,"6",4,"f",1,"6",9,"f",1,"6",4,"f",1,"6",1,"f",115,"0",5,"f",1,"5",2,"b",3,"4",3,"b",1,"5",6,"f",1,"6",1,"f",2,"6",3,"f",1,"6",9,"f",1,"6",4,"f",1,"6",1,"f",115,"0",4,"f",2,"5",2,"b",2,"4",3,"b",2,"5",6,"f",1,"6",2,"f",1,"6",3,"f",1,"6",2,"f",2,"6",5,"f",1,"6",4,"f",1,"6",1,"f",115,"0",4,"f",2,"5",2,"b",2,"4",2,"b",2,"5",5,"f",1,"6",1,"f",1,"6",2,"f",1,"6",3,"f",1,"6",2,"f",2,"6",5,"f",1,"6",4,"f",1,"6",1,"f",115,"0",5,"f",8,"
@jordanorelli
jordanorelli / game.txt
Created September 18, 2019 16:31
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[61,"0",44,"f",115,"0",22,"f",1,"6",22,"f",115,"0",21,"f",2,"6",5,"f",1,"6",7,"f",3,"6",6,"f",115,"0",9,"f",5,"5",6,"f",4,"6",4,"f",1,"6",7,"f",1,"6",1,"f",1,"6",2,"f",3,"6",1,"f",115,"0",7,"f",3,"5",3,"b",2,"5",4,"f",3,"6",6,"f",1,"6",6,"f",1,"6",2,"f",1,"6",2,"f",1,"6",1,"f",1,"6",1,"f",115,"0",6,"f",3,"5",5,"b",1,"5",4,"f",1,"6",1,"f",1,"6",6,"f",1,"6",6,"f",2,"6",1,"f",1,"6",2,"f",1,"6",1,"f",1,"6",1,"f",115,"0",5,"f",2,"5",7,"b",1,"5",4,"f",3,"6",6,"f",1,"6",7,"f",3,"6",2,"f",3,"6",1,"f",115,"0",5,"f",1,"5",2,"b",3,"4",3,"b",1,"5",6,"f",3,"6",4,"f",1,"6",9,"f",1,"6",4,"f",1,"6",1,"f",115,"0",5,"f",1,"5",2,"b",3,"4",3,"b",1,"5",6,"f",1,"6",1,"f",2,"6",3,"f",1,"6",9,"f",1,"6",4,"f",1,"6",1,"f",115,"0",4,"f",2,"5",2,"b",2,"4",3,"b",2,"5",6,"f",1,"6",2,"f",1,"6",3,"f",1,"6",2,"f",2,"6",5,"f",1,"6",4,"f",1,"6",1,"f",115,"0",4,"f",2,"5",2,"b",2,"4",2,"b",2,"5",5,"f",1,"6",1,"f",1,"6",2,"f",1,"6",3,"f",1,"6",2,"f",2,"6",5,"f",1,"6",4,"f",1,"6",1,"f",115,"0",5,"f",8,"
@jordanorelli
jordanorelli / game.txt
Created September 18, 2019 15:09
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[61,"0",44,"f",115,"0",22,"f",1,"6",22,"f",115,"0",21,"f",2,"6",5,"f",1,"6",7,"f",3,"6",6,"f",115,"0",9,"f",5,"5",6,"f",4,"6",4,"f",1,"6",7,"f",1,"6",1,"f",1,"6",2,"f",3,"6",1,"f",115,"0",7,"f",3,"5",3,"b",2,"5",4,"f",3,"6",6,"f",1,"6",6,"f",1,"6",2,"f",1,"6",2,"f",1,"6",1,"f",1,"6",1,"f",115,"0",6,"f",3,"5",5,"b",1,"5",4,"f",1,"6",1,"f",1,"6",6,"f",1,"6",6,"f",2,"6",1,"f",1,"6",2,"f",1,"6",1,"f",1,"6",1,"f",115,"0",5,"f",2,"5",7,"b",1,"5",4,"f",3,"6",6,"f",1,"6",7,"f",3,"6",2,"f",3,"6",1,"f",115,"0",5,"f",1,"5",2,"b",3,"4",3,"b",1,"5",6,"f",3,"6",4,"f",1,"6",9,"f",1,"6",4,"f",1,"6",1,"f",115,"0",5,"f",1,"5",2,"b",3,"4",3,"b",1,"5",6,"f",1,"6",1,"f",2,"6",3,"f",1,"6",9,"f",1,"6",4,"f",1,"6",1,"f",115,"0",4,"f",2,"5",2,"b",2,"4",3,"b",2,"5",6,"f",1,"6",2,"f",1,"6",3,"f",1,"6",2,"f",2,"6",5,"f",1,"6",4,"f",1,"6",1,"f",115,"0",4,"f",2,"5",2,"b",2,"4",2,"b",2,"5",5,"f",1,"6",1,"f",1,"6",2,"f",1,"6",3,"f",1,"6",2,"f",2,"6",5,"f",1,"6",4,"f",1,"6",1,"f",115,"0",5,"f",8,"
@jordanorelli
jordanorelli / game.txt
Created September 18, 2019 14:57
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[61,"0",44,"f",115,"0",22,"f",1,"6",22,"f",115,"0",21,"f",2,"6",5,"f",1,"6",7,"f",3,"6",6,"f",115,"0",9,"f",5,"5",6,"f",4,"6",4,"f",1,"6",7,"f",1,"6",1,"f",1,"6",2,"f",3,"6",1,"f",115,"0",7,"f",3,"5",3,"b",2,"5",4,"f",3,"6",6,"f",1,"6",6,"f",1,"6",2,"f",1,"6",2,"f",1,"6",1,"f",1,"6",1,"f",115,"0",6,"f",3,"5",5,"b",1,"5",4,"f",1,"6",1,"f",1,"6",6,"f",1,"6",6,"f",2,"6",1,"f",1,"6",2,"f",1,"6",1,"f",1,"6",1,"f",115,"0",5,"f",2,"5",7,"b",1,"5",4,"f",3,"6",6,"f",1,"6",7,"f",3,"6",2,"f",3,"6",1,"f",115,"0",5,"f",1,"5",2,"b",3,"4",3,"b",1,"5",6,"f",3,"6",4,"f",1,"6",9,"f",1,"6",4,"f",1,"6",1,"f",115,"0",5,"f",1,"5",2,"b",3,"4",3,"b",1,"5",6,"f",1,"6",1,"f",2,"6",3,"f",1,"6",9,"f",1,"6",4,"f",1,"6",1,"f",115,"0",4,"f",2,"5",2,"b",2,"4",3,"b",2,"5",6,"f",1,"6",2,"f",1,"6",3,"f",1,"6",2,"f",2,"6",5,"f",1,"6",4,"f",1,"6",1,"f",115,"0",4,"f",2,"5",2,"b",2,"4",2,"b",2,"5",5,"f",1,"6",1,"f",1,"6",2,"f",1,"6",3,"f",1,"6",2,"f",2,"6",5,"f",1,"6",4,"f",1,"6",1,"f",115,"0",5,"f",8,"
@jordanorelli
jordanorelli / game.txt
Created September 18, 2019 14:48
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[4035,"0",8,"d",151,"0",10,"d",149,"0",12,"d",148,"0",12,"d",147,"0",14,"d",146,"0",6,"d",2,"0",6,"d",145,"0",6,"d",4,"0",6,"d",144,"0",6,"d",4,"0",6,"d",143,"0",6,"d",6,"0",6,"d",142,"0",6,"d",6,"0",6,"d",142,"0",5,"d",8,"0",5,"d",5,"0",5,"d",131,"0",6,"d",8,"0",5,"d",4,"0",7,"d",13,"0",3,"d",114,"0",6,"d",8,"0",6,"d",2,"0",15,"d",4,"0",6,"d",113,"0",5,"d",9,"0",6,"d",1,"0",26,"d",112,"0",6,"d",10,"0",5,"d",1,"0",26,"d",112,"0",6,"d",10,"0",32,"d",112,"0",5,"d",11,"0",31,"d",113,"0",5,"d",11,"0",19,"d",1,"0",9,"d",115,"0",5,"d",10,"0",20,"d",125,"0",5,"d",8,"0",21,"d",126,"0",6,"d",6,"0",20,"d",128,"0",6,"d",4,"0",19,"d",132,"0",5,"d",3,"0",19,"d",134,"0",3,"d",2,"0",14,"d",1,"0",5,"d",139,"0",15,"d",144,"0",9,"d",1,"0",6,"d",143,"0",8,"d",3,"0",5,"d",143,"0",8,"d",3,"0",6,"d",142,"0",7,"d",5,"0",6,"d",141,"0",7,"d",5,"0",6,"d",142,"0",6,"d",6,"0",6,"d",141,"0",6,"d",6,"0",6,"d",142,"0",6,"d",5,"0",7,"d",142,"0",5,"d",5,"0",7,"d",142,"0",6,"d",4,"0",7,"d",143,"0",
@jordanorelli
jordanorelli / hostapd.conf
Last active October 26, 2023 13:13
Raspberry Pi 3 B+ access point config
# this is the built-in wifi chip
interface=wlan0
driver=nl80211
ssid=jorelli's raspberry pi
# this config got me 30mbps
# this is 2.4GHz 802.11n configuration
############################################