Skip to content

Instantly share code, notes, and snippets.

@meangrape
meangrape / sentenai-fdb-300.vmx
Created February 9, 2023 18:41
sentenai-fdb-300.vmx
.encoding = "UTF-8"
bios.bootorder = "hdd,cdrom"
checkpoint.vmstate = ""
cleanshutdown = "TRUE"
config.version = "8"
displayname = "sentenai-fdb-300"
ehci.present = "FALSE"
ethernet0.addresstype = "generated"
ethernet0.bsdname = "en0"
ethernet0.connectiontype = "nat"
#!/usr/bin/env python3
import fdb
import json
from argparse import ArgumentParser
import logging
import signal
import sys
import tempfile
from prometheus_client import (

Keybase proof

I hereby claim:

  • I am meangrape on github.
  • I am meangrape (https://keybase.io/meangrape) on keybase.
  • I have a public key ASAYF7c_aiQN4gMCnsshd8eXrdt-cHReSstbv-5UkfZQcAo

To claim this, I am signing this object:

@meangrape
meangrape / chpwd_update_git_vars.sh
Created November 20, 2021 15:54 — forked from scelis/chpwd_update_git_vars.sh
Add git information to your ZSH prompt.
update_current_git_vars
@meangrape
meangrape / renameat2.c
Created August 5, 2021 13:29 — forked from eatnumber1/renameat2.c
Command-line tool to call renameat2(2)
#define _GNU_SOURCE
#include <stdlib.h>
#include <fcntl.h>
#include <stdio.h>
#include <getopt.h>
#include <stddef.h>
#include <stdbool.h>
#include <stdarg.h>
#include <errno.h>
#include <unistd.h>
@meangrape
meangrape / domains.txt
Last active July 24, 2020 13:04
Jay domain names
cozyho.com
decremental.org
fakenerd.me
guillotine-chopshop.com
meangrape.com (used for email)
tactfulmango.com
militarytraitors.us (for militarytraitors llc)
theunion.blue (shorter pointer domain for militarytraitors.us)
motherfucking.boston (email)
throatpunches.com
$$\sum_{i = 0}^n {n \choose i} x^{i} y^{n-i}$$
Oh, there's been a TON of work on this.
(1) back in the day, it was an enormous area of work: not so much "error-recovery" but "error-detection with most-perspicuous-possible error-messages, including if possible examples"
(2) I know that Menhir (the Ocaml parser-generator) has some support for this.
(3) I know that in fact, this is a good reason to WANT to use a parser-generator -- b/c the GRAMMAR will allow you to detect many cases of syntactic errors automatically.
@meangrape
meangrape / recipe.txt
Last active November 11, 2019 16:39
curry 4-bean soup
I got the recipe from a transplanted Texan running
a bed and breafast.
It's the most canned foods I use in anything I cook.
But it’s excellent. It’s probably loaded w/ sodium which
is why I'm trying to make a version from scratch.
The spices are an approximation.
1 can Progresso Lentil soup
@meangrape
meangrape / mta-sls.txt
Created September 3, 2019 19:19
MTA-SLS policy
version: STSv1
mode: testing
mx:alt2.aspmx.l.google.com
mx:aspmx3.googlemail.com
mx:aspmx2.googlemail.com
mx:alt1.aspmx.l.google.com
mx:aspmx4.googlemail.com
mx:aspmx.l.google.com
max_age: 604800