Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am thibauth on github.
  • I am thibauthorel (https://keybase.io/thibauthorel) on keybase.
  • I have a public key whose fingerprint is 8806 2530 A262 8DE1 EA92 5A35 9D68 5C2C 11A8 7736

To claim this, I am signing this object:

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from Levenshtein import setratio
import argparse
import re
import sys
def cluster(strings, threshold=0.8):
non_alpha = re.compile("[^a-z0-9]+")
clusters = {}
for string in strings:
package main
import (
"bufio"
"fmt"
"log"
"os"
"os/exec"
"runtime/pprof"
"strings"
import requests
root_url = "https://www.trackitt.com/tracker/ajax_fetch_trackers"
def get_records(records, records_per_query):
post_data = {
"tracker_case_table_name": "tracker_us_opt_eb",
"tracker_id": 101,
"length": records_per_query,
}