Skip to content

Instantly share code, notes, and snippets.

View JohnTheCoolingFan's full-sized avatar

JohnTheCoolingFan

View GitHub Profile
@pemn
pemn / ipc.py
Last active February 1, 2020 11:31 — forked from dankrause/ipc.py
Simple socket IPC in python (updated for python3)
import socketserver
import socket
import struct
import json
import collections
class IPCError(Exception):
pass
@max-lt
max-lt / md-renderer.conf
Last active July 7, 2024 17:40
Nginx config to render markdown files (client side)
location /__special {
internal;
allow all;
root /usr/share/nginx/html/__special;
}
location = /__md_file {
internal;
allow all;