Skip to content

Instantly share code, notes, and snippets.

the
the quick
the quick brown
the quick brown fox
quick
quick brown
quick brown fox
quick brown fox jumped
brown
brown fox
@00-matt
00-matt / bin200.wat
Created August 8, 2019 22:50
bin200 WASM disassembly
(module
(type (;0;) (func (param i32 i32) (result i32)))
(type (;1;) (func (result i32)))
(type (;2;) (func))
(import "env" "__memory_base" (global (;0;) i32))
(import "env" "memory" (memory (;0;) 256))
(func (;0;) (type 0) (param i32 i32) (result i32)
local.get 0
global.get 0
i32.const 5242900
@00-matt
00-matt / Makefile
Created August 7, 2019 10:18
Lua 5.3 Bytecode Example
LDLIBS = -llua5.3
.PHONY: all
all: build run
build: build.c
run: run.c
.PHONY: clean
@00-matt
00-matt / Makefile
Last active August 7, 2019 10:20
x86_64 Linux ASM Example
.PHONY: all
all: hello
hello: hello.o
$(LD) hello.o -o hello
hello.o: hello.S
$(AS) hello.S -o hello.o
.PHONY: clean
@00-matt
00-matt / Dockerfile-10.16.0
Last active July 6, 2019 10:22
Docker Images for Node.js and Yarn - https://hub.docker.com/r/offtopica/nodejs
FROM debian:buster AS builder
ENV NODE_VERSION 10.16.0
ENV YARN_VERSION 1.16.0
COPY KEYS.* /tmp/
WORKDIR /root
RUN set -ex; \