Skip to content

Instantly share code, notes, and snippets.

@teadur
teadur / COHORTS.md
Last active September 1, 2026 03:40
chess.com /stats endpoint: failure rates by cohort

chess.com /stats failure rates by cohort

22 cohorts · 49,222 users · 3,702,460 checks · 13,964 state changes

Generated 2026-09-01 03:40 UTC. Each cohort is a differently-sampled set of chess.com accounts, polled on a schedule; failing is how many of them the stats endpoint currently 404s.

| | list | users | failing | rate | churn | recovered | sampled from |

@mattmahn
mattmahn / README.md
Last active December 4, 2024 18:16
Terraform: Get current Git commit SHA

This will return the full Git commit SHA of whichever branch is currently checkedout.

Dump the snippet into terraform console (run from within a Git repo) to see for yourself.

@Naesstrom
Naesstrom / sync_playlists_to_all_users.py
Last active March 23, 2025 21:17 — forked from JonnyWong16/sync_playlists_to_users.py
Sync Plex playlists to shared users.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Description: Sync Plex playlists to shared users.
# Author: /u/SwiftPanda16
# Requires: plexapi, requests, xmltodict
# Changes by me: Syncs all current playlists to all current users. Everytime you run it it deletes the old playlists on the users account and replaces it with your.
import requests
import xmltodict
@teadur
teadur / git-forget-blob.sh
Created September 28, 2017 18:10
git-forget-blob
#!/bin/bash
# Completely remove a file from a git repository history
#
# Copyleft 2017 by Ignacio Nunez Hernanz <nacho _a_t_ ownyourbits _d_o_t_ com>
# GPL licensed (see end of file) * Use at your own risk!
#
# Usage:
# git-forget-blob file_to_forget
#
# Notes:
@iAugur
iAugur / Ansible-apache-validate-README.md
Last active June 23, 2023 07:45
Testing Apache configuration with Ansible templates
@pklaus
pklaus / ddnsserver.py
Last active July 25, 2026 11:06 — forked from andreif/Simple DNS server (UDP and TCP) in Python using dnslib.py
Simple DNS server (UDP and TCP) in Python using dnslib.py
#!/usr/bin/env python
"""
LICENSE http://www.apache.org/licenses/LICENSE-2.0
"""
import argparse
import datetime
import sys
import time
import threading