Skip to content

Instantly share code, notes, and snippets.

View spitemim's full-sized avatar

spitemim spitemim

View GitHub Profile
@spitemim
spitemim / rpn.c
Created April 12, 2022 15:16
Simple Reverse Polish Notation calculator in C
/*
RPN Calcuator in C
by Spitemim, 2022/04/12
To compile:
$ cc rpn.c -lreadline -o rpn
*, +, /, and - are operators and work as expected
Use ~ for negative numbers (~500, ~5.5, etc.)
@spitemim
spitemim / mhname
Last active January 16, 2022 00:54
mhname - check availability of Minehut server names
#!/bin/sh
#
# usage:
# mhname [names...]
# or
# mhname < names-list.txt
#
# requires:
# jq, curl
#
@spitemim
spitemim / openings.txt
Last active November 26, 2021 04:11
List of self-describing chess opening names
abbe
abe
abed
accede
acceded
ace
aced
ache
achebe
ached