Skip to content

Instantly share code, notes, and snippets.

View stickperson's full-sized avatar

Joe Meissler stickperson

  • Synthego
  • San Francisco, CA
View GitHub Profile
@altaurog
altaurog / droprace.py
Created July 10, 2014 05:52
PostgreSQL drop/rename race condition
import logging
import os
import sys
import time
import threading
import psycopg2
"""
This script demonstrates the following race condition under PostgreSQL:
One connection, in transaction, drops table "mytable," then renames
@pascalpoitras
pascalpoitras / 1.md
Last active April 10, 2025 14:12
My WeeChat configuration

This configuration is not maintained anymore. You should think twice before using it, Breaking change and security issue will likely eventually happens as any abandonned project.