Skip to content

Instantly share code, notes, and snippets.

Avatar
📞
dialing up...

dtb devenblake

📞
dialing up...
View GitHub Profile
@devenblake
devenblake / moderation.txt
Created January 31, 2022 18:54
Notes on community moderation
View moderation.txt
Notes on community moderation, in no particular order
DTB
(edited; originally circa 2021-04-18)
Ping people only when something needs to be acted on.
Remember that You, as moderator, support the members of the community,
not the other way around. It's up to you to ensure that members feel welcome
and sometimes it might feel like you're doing everything yourself. The rules
are flexible and breaking a rule within very good reason is okay to make
@devenblake
devenblake / trigraphs.c
Last active May 2, 2022 22:40
Quick test to make sure your compiler knows trigraphs.
View trigraphs.c
#include <unistd.h>
static char *program_name =
"trigraphs.c";
/* Trinity BLAKE 2020-2022
* Public domain */
char trigraphs[] =
@devenblake
devenblake / pdfify.py
Last active January 27, 2021 18:02
img2pdf wrapper
View pdfify.py
#!/usr/bin/python3
import glob
import os
# img2pdf's all files with extension [extension] in [directory], with the output name [output].
# configuration =====
directory = "./"
extension = ".png"
output = "output.pdf"
@devenblake
devenblake / TETRATE.txt
Last active December 11, 2020 15:28
TI-BASIC Tetrator
View TETRATE.txt
Disp "TETRATOR","CODED BY","DEVEN BLAKE","2018-2020
Pause
ClrHome
Disp "THIS PROGRAM IS","INACCURATE TO","HIGHER NUMBERS","","--YOU'VE BEEN---","-----WARNED-----
Pause
ClrHome
Input "NUMBER TO TETRATE: ",A
Input "AMOUNT OF TETRATION: ",B
A->C
For(I,1,B