This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function killport { | |
echo '🚨 Killing all processes at port' $1 | |
lsof -ti tcp:$1 | xargs kill | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This was only tested against revision ac2d18a7353cd3ac1ba4b5993f2776fe0c5eedc9 | |
# of https://gitlab.haskell.org/ghc/ghc | |
let | |
nixpkgs = builtins.fetchTarball { | |
url = "https://github.com/NixOS/nixpkgs/archive/7e003d7fb9eff8ecb84405360c75c716cdd1f79f.tar.gz"; | |
sha256 = "08y8pmz7xa58mrk52nafgnnrryxsmya9qaab3nccg18jifs5gyal"; | |
}; | |
config.allowBroken = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import fdb | |
import json | |
from argparse import ArgumentParser | |
import logging | |
import signal | |
import sys | |
import tempfile | |
from prometheus_client import ( |
OlderNewer