Skip to content

Instantly share code, notes, and snippets.

View wotchin's full-sized avatar
💀
busy

Jack W. wotchin

💀
busy
View GitHub Profile
@eatonphil
eatonphil / psql-srv.py
Last active April 18, 2025 17:32 — forked from matteobertozzi/psql-srv.py
postgres "server" wire protocol example (ported python3)
# th30z@u1310:[Desktop]$ psql -h localhost -p 55432
# Password:
# psql (9.1.10, server 0.0.0)
# WARNING: psql version 9.1, server version 0.0.
# Some psql features might not work.
# Type "help" for help.
#
# th30z=> select foo;
# a | b
# ---+---
@fantix
fantix / README.md
Last active January 22, 2024 15:16
Wire Protocol of PostgreSQL Queries in a Nutshell
@vivngo
vivngo / code.tex
Created March 1, 2018 22:57
SQL syntax highlighting in LaTeX
\usepackage{listings}
\usepackage{color}
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}
\lstset{language=SQL,
basicstyle={\small\ttfamily},
belowskip=3mm,
breakatwhitespace=true,