Skip to content

Instantly share code, notes, and snippets.

View gallypette's full-sized avatar
💭
growing up

Jean-Louis Huynen gallypette

💭
growing up
View GitHub Profile

FIRST mermaid graph

Keeping in mind the "Latency Numbers Every Programmer Should Know", i.e. network access is expensive.

Online request (service is provided by hashlookup online API)

  • existing / not existing have the same high cost
  • network access takes a long time
  • leak every hash to hashlookup service
package main
import (
"encoding/json"
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/app"
"fyne.io/fyne/v2/data/binding"
"fyne.io/fyne/v2/widget"
"time"
)
from pyail import PyAIL
import sys
import json
import uuid
ail_url = 'https://yourailIP:7000'
ail_key = ''
source_uuid = "{}".format(uuid.uuid4())
ailfeedertype = "ail_feeder_jabber"
try:
@gallypette
gallypette / gen_password.py
Created February 19, 2021 14:58
Galane VTC password generator
#!/usr/bin/env python3
import sys
import string
import secrets
alphabet = string.ascii_letters + string.digits
for arg in sys.argv:
with open(arg, "rt") as fin:
with open("{}.pwd".format(arg), "wt") as fout:

Keybase proof

I hereby claim:

  • I am gallypette on github.
  • I am gallypette (https://keybase.io/gallypette) on keybase.
  • I have a public key whose fingerprint is 8049 CC8B B1F7 3FF8 3436 8C08 9993 B4F6 357E 73BF

To claim this, I am signing this object: