Skip to content

Instantly share code, notes, and snippets.

@a2br
a2br / add_bin.py
Last active November 26, 2021 10:21
by youcef et anatole in 2021
def add_binary_numbers(b1: str, b2: str) -> str:
# Déterminer plus grande longueur
max_length = max(len(b1), len(b2))
# Égaliser
b1 = b1.zfill(max_length)
b2 = b2.zfill(max_length)
# Valeur de retenue
carry = 0
# Initialise le résultat
@a2br
a2br / seth.json
Created March 7, 2021 13:41
the bald guy
{
"clickTrackingParams": "CAEQl98BIhMIzYDKsaGe7wIVFD3xBR0yegBB",
"addLiveChatTickerItemAction": {
"item": {
"liveChatTickerPaidMessageItemRenderer": {
"id": "ChwKGkNLeUMxS2VobnU4Q0ZZbTh3UW9kU05vUFhR",
"amount": {
"simpleText": "239,00 SEK"
},
"amountTextColor": 3758096383,

Keybase proof

I hereby claim:

  • I am a2br on github.
  • I am a2br (https://keybase.io/a2br) on keybase.
  • I have a public key ASAQ6z5HMUliP-3NnCbihQVTtpMFhR3eexrX1riuqXT7kgo

To claim this, I am signing this object: