Skip to content

Instantly share code, notes, and snippets.

View dennis-tra's full-sized avatar
🇺🇦

Dennis Trautwein dennis-tra

🇺🇦
View GitHub Profile

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@dennis-tra
dennis-tra / beta_test.py
Created April 9, 2022 11:51 — forked from wootfish/beta_test.py
Test scripts for DHT size estimation
# this script samples the distributions of the k closest peers to randomly
# selected addresses and saves these to data files
import datetime
from multiprocessing import Process, Event
import os
import pprint
import random