Skip to content

Instantly share code, notes, and snippets.

@joelonsql
joelonsql / PostgreSQL-EXTENSIONs.md
Last active March 20, 2026 09:00
1000+ PostgreSQL EXTENSIONs

🗺🐘 1000+ PostgreSQL EXTENSIONs

This is a list of URLs to PostgreSQL EXTENSION repos, listed in alphabetical order of parent repo, with active forks listed under each parent.

⭐️ >= 10 stars
⭐️⭐️ >= 100 stars
⭐️⭐️⭐️ >= 1000 stars
Numbers of stars might not be up-to-date.

@squarooticus
squarooticus / nftables_mdns.conf
Last active January 31, 2024 06:44
Use nftables to repeat mDNS/Bonjour packets across two different interfaces. Works for Google Cast/Chromecast groups!
table ip mangle {
chain prerouting {
type filter hook prerouting priority mangle; policy accept;
ip daddr 224.0.0.251 iif eth3 ip saddr set 192.168.2.1 dup to 224.0.0.251 device eth2 notrack
ip daddr 224.0.0.251 iif eth2 ip saddr set 192.168.3.1 dup to 224.0.0.251 device eth3 notrack
}
}
table ip6 mangle {
chain prerouting {
@jopietsch
jopietsch / ethernet_asics.csv
Last active July 1, 2024 07:47
2020 High Speed Ethernet ASICs
Vendor Family Name (Tbps) (Bpps) Buffer Size (MB) Table Size node size (nm) transistors (B) size (m) chiplet power (w) year
Barefoot Tofino 2 12.8 16 yes 2018
Broadcom Strata XGS Tomahawk 3 12.8 64 16 no
Broadcom Strata XGS Tomahawk 4 25.6 128 7 31 no 2019
Broadcom Strata XGS Trident 4 12.8 5 620 K IPv6 7 21 no 2019
Broadcom Strata DNX (Dune) Jericho 2 9.6 8192 no 2018
Cisco Silicon One Q100 10.8 2019
Innovium TeraLynx 7 12.8 70 16 no 300 2018
Innovium TeraLynx 8 25.6 170 no 450 2020
Marvell Prestera 98CX8580 12.8 2019
@codyhosterman
codyhosterman / pure1_token_factory.py
Last active July 4, 2023 03:51
Pure1 Python JWT generator
#!/usr/bin/env python3
"""
Copyright Pure Storage, Inc. 2020. All Rights Reserved
usage: pure1_api_client.py [-h] [-p PASSWORD] [-o OUTPUT]
id private_key_file
Retrieves an Access Token for Pure1 Public API
Exerting my will over the gist name
@NullArray
NullArray / MAC-by-Vendor.txt
Created June 3, 2019 23:08
List of valid MAC adresses sorted by vendor
Misc MACs:
Num MAC Vendor
--- --- ------
0000 - 00:00:00 - XEROX CORPORATION
0001 - 00:00:01 - XEROX CORPORATION
0002 - 00:00:02 - XEROX CORPORATION
0003 - 00:00:03 - XEROX CORPORATION
0004 - 00:00:04 - XEROX CORPORATION
0005 - 00:00:05 - XEROX CORPORATION
0006 - 00:00:06 - XEROX CORPORATION
@jeremy-breidenbach
jeremy-breidenbach / README.md
Created April 16, 2016 13:10
Chromebook "no sound" fix for Ubuntu

How to fix Chromebook "no sound" after installing Ubuntu

  • Open up a terminal window and type sudo alsa force-unload to kill the audio services
  • Replace the system’s sound config file with the downloaded version:
    • Type sudo cp ~/Downloads/asound.state /var/lib/alsa
  • Reboot your Chromebook
@mmasaki
mmasaki / iperf.service
Last active August 14, 2023 19:42
systemd service unit for iperf
# /etc/systemd/system/iperf.service
[Unit]
Description=iperf server
After=syslog.target network.target auditd.service
[Service]
ExecStart=/usr/bin/iperf -s
[Install]
WantedBy=multi-user.target
@eteq
eteq / local_build.py
Last active July 3, 2018 14:49
Authorea script to build locally with LaTeX NOTE: updates at https://github.com/eteq/authorea-scripts
#!/usr/bin/env python
from __future__ import division, print_function
"""
This script generates a file to use for building authorea papers, and then runs
latex on them.
Requires python >= 2.6 (3.x should work, too)
The key assumptions are:
@sourceperl
sourceperl / th_pinger.py
Last active August 12, 2025 09:58
Python script for do multi-threaded ping
#!/usr/bin/env python
# ping a list of host with threads for increase speed
# use standard linux /bin/ping utility
from threading import Thread
import subprocess
try:
import queue
except ImportError:
import Queue as queue