Skip to content

Instantly share code, notes, and snippets.

View sangimed's full-sized avatar

Mohamed I. sangimed

View GitHub Profile

Keybase proof

I hereby claim:

  • I am sangimed on github.
  • I am sangimed (https://keybase.io/sangimed) on keybase.
  • I have a public key ASBYe3rKpVLDp3--0IEpuJIyKtRRO85ZFAxzdcaDaGPUSgo

To claim this, I am signing this object:

@sangimed
sangimed / mine_flux.bat
Last active May 8, 2022 21:25
Flux mining script with confirmation message (could be generalized to any miner)
@echo off
echo wscript.Quit((msgbox("Launch the ETH/ZIL dual mining script and make some $$$ ?",4+32+256, "Your Title Here")-6) Mod 255) > %temp%\msgbox.vbs
start /wait %temp%\msgbox.vbs
rem echo wscript returned %errorlevel%
if errorlevel 1 goto error
echo We have Yes
goto end
import argparse
import random
import string
def generate_random_string(length=10, prefix=""):
"""Générer une chaîne de caractères aléatoire de longueur donnée avec un préfixe optionnel."""
random_string = ''.join(random.choices(string.ascii_letters + string.digits, k=length))
return f"{prefix}{random_string}"