Skip to content

Instantly share code, notes, and snippets.

View pinhopro's full-sized avatar

Rodrigo Souza pinhopro

View GitHub Profile
import bisect
import hashlib
def check_mnemonic(word_list: list[str], mnemonic_list: list[str]) -> bool:
if len(mnemonic_list) not in [12, 15, 18, 21, 24]:
return False
try:
idx = map(lambda x:bin(word_list.index(x))[2:].zfill(11), mnemonic_list)
b = "".join(idx)
@pinhopro
pinhopro / machine.js
Created November 16, 2021 18:46
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@pinhopro
pinhopro / machine.js
Last active November 4, 2021 21:23
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@pinhopro
pinhopro / machine.js
Last active August 14, 2021 03:52
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@pinhopro
pinhopro / machine.js
Last active July 28, 2021 19:40
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
Corretora: BitCambio
CNPJ/Razão social: 19.004.882/0001-91 - Citar Tech EIRELI-ME
Contato: Aline Lopes - juridico@bitcambio.com.br
Situação:
| Banco| Situação | Liminar | Avisou sobre fechamento |
| --- |:-------------:| -------:|------------------------:|
| Santander| Aberta com liminar|Liminar concedida|Sim|
| Itaú|Fechada|Aguardado apreciação do juiz| Não |
| Bradesco |Recusa de contratar|N.A.|N.A.|
| Rendimento |Recusa de contratar|N.A.|N.A.|
#!/usr/bin/env python3
import asyncio
from aiogram import Bot, types
from aiogram.contrib.fsm_storage.memory import MemoryStorage
from aiogram.dispatcher import Dispatcher
from aiogram.types import ParseMode
from aiogram.utils import executor
from aiogram.utils.markdown import text, bold
#!/usr/bin/env python3
import asyncio
import websockets
import json
import time
import pprint
BLINKTRADE_API_ENDPOINT = 'wss://bitcambio_api.blinktrade.com/trade/'
BLINKTRADE_BROKER_ID = 11
BLINKTRADE_API_KEY = ''
<translation id="8011346120830497971" key="MSG_1212E6Y347H82" source="bitex/templates/templates.soy.js" desc="Account blocked dialog message during login">Your account was blocked because the authorization link was generated in another computer than this.</translation>
<translation id="3782185660206621199" key="MSG_VBMCDB8XAP9B" source="bitex/templates/templates.soy.js" desc="Account blocked dialog block warning during login">We believe you have been a victim of a phishing attack. In order to unblock you have to contact the support.</translation>
<translation id="4154156900511830982" key="MSG_WHJCG1QZJ9PO" source="bitex/templates/templates.soy.js" desc="Authorization link dialog message during login">For your safety, we just sent you an authorization LINK to your email.</translation>
<translation id="7159602550946788474" key="MSG_1ISMKZEPLUTBH" source="bitex/templates/templates.soy.js" desc="Authorization link dialog block warning during login">IMPORTANT: The authorization link we sent to your email is on