Skip to content

Instantly share code, notes, and snippets.

Working from home

Tristram Oaten 0atman

Working from home
View GitHub Profile
0atman /
Last active Apr 3, 2021 is pug with brackets
html {
head {
title { "" }
style {
"body { background: #fafbfc; }"
"#main { padding: 2rem; }"
body {
@Header { "" }
View telegram-pager.ino
A telegram bot for your Adafruit Feather M0 with KeyboardFeatherWing
Adapted from telegram code written by Brian Lough
#include <Adafruit_GFX.h>
#include <SPI.h>
#include <WiFi101.h>
#include <Wire.h>
#include <Adafruit_ILI9341.h>
0atman /
Last active Jan 15, 2021
Simple C programming bootstrap file in Rust
#![feature(start, libc, lang_items)]
extern crate libc;
extern { // A list of imported C functions
pub fn printf(format: *const u8, ...) -> i32;
0atman /
Last active Nov 3, 2020
Noodling with rust, with rustic-babel
0atman /
Created Sep 14, 2020
testing github api
0atman / Dockerfile
Created Sep 14, 2020
multi-stage docker file for building bare-metal, tiny, rust containers
View Dockerfile
# Build Stage #
FROM rust:1.40.0 AS builder
WORKDIR /usr/src/
RUN rustup install nightly
RUN rustup default nightly
RUN rustup target add x86_64-unknown-linux-musl
RUN USER=root cargo new app
WORKDIR /usr/src/app
0atman /
Created Sep 2, 2020
pyinstaller works well!
λ python
λ pyinstaller
18 INFO: PyInstaller: 4.0
18 INFO: Python: 3.8.2
24 INFO: Platform: Linux-5.4.0-45-generic-x86_64-with-glibc2.29
24 INFO: wrote /home/oatman/projects/pyinsttest/hello.spec
26 INFO: UPX is available.
0atman / stillalive.nim
Last active Jun 20, 2020
The code for my video cover of Jonathan Coulton's "Want You Gone" here
View stillalive.nim
import strutils
import terminal
import autotyperpkg/typer
const lyrics = """
0#Forms FORM-29827201#
0#Test Assessment Report
This was a triumph.
I'm making a note here:
0atman / wantyougone.nim
Last active Jun 6, 2020
The code from my music video, "Want You Gone", available here
View wantyougone.nim
import strutils
import autotyperpkg/typer
const lyrics = """
Forms FORM-29827281-12-2:
Notice of Dismissal
Well here we are again
It's always such a pleasure
Remember when you tried

The Bloglist Manefesto

  • Anonymous and protected forever
  • Create account with just an email
  • Privacy protection baked in from the start
  • Hosted in a freedom-protecting country
  • Partner with EFF or similar
  • Back up forever
  • Profitable