Skip to content

Instantly share code, notes, and snippets.

View chezsick's full-sized avatar
🐦
Bonjour GitHub Et Microsoft !

Newa chezsick

🐦
Bonjour GitHub Et Microsoft !
View GitHub Profile
import base58
import sys
print(base58.b58encode_int(pow(10,pow(10,100),pow(58,int(sys.argv[1])))))
@chezsick
chezsick / viddecode.sh
Last active March 12, 2018 10:08
This Is Encode/Decode The Data In Video Using x264 For Encode, Using Standard Input/Output
t=$(mktemp -d)
ffmpeg -f h264 -i pipe:0 $t/%8d.png
for n in $(ls $t)
do
zbarimg --quiet --raw $t/$n | base58 -d
done
rm -r $t
@chezsick
chezsick / BLE TOU Fonts.txt
Created March 16, 2018 22:21
The Fonts Changing In BLE TOU.
2001-2005 Computer Modern
2005-2008 PT Sans, PT Serif
2008-2012 Asap
2012-2015 Ubuntu
2015-Inf Product Sans
@chezsick
chezsick / videocryptdiffiehellman.py
Last active April 8, 2019 23:09
The Key Exchange Diffie Hellman For VideoCrypt, args :::: prog pub priv mod
import sys
fna = open(sys.argv[1],"r")
fnb = open(sys.argv[2],"r")
a = fna.readlines()
b = fnb.readlines()
g = len(a)
s = a[0]
y = int(s.split(";")[1])
z = int(s.split(";")[2])
for m in xrange(g):
@chezsick
chezsick / integral_data.py
Created April 8, 2018 16:32
This Function, Calcul The Integral Data
def integral_data(data,l = 0.1):
e = len(data)
p = 0
for d in xrange(e):
p += l*data[d]
return p
@chezsick
chezsick / hashsickbt.py
Last active August 18, 2018 11:14
The Sick's Hash Of BLE TOU, args :::: prog number_byteshash ; UPDATE! ::::::::::: Custome The Position And The Modulo Instead byte
import sys
u = bytearray(sys.stdin.read())
p = 0
m = 0
c = 0
o = 0
for h in range(int(sys.argv[1]),int(sys.argv[2])):
s = 0
for i in range(len(u)):
p = (pow(i,2)*(h-2)-i*(h-4))/2
@chezsick
chezsick / genbank.py
Created May 12, 2018 02:57
Generate The Accounts And Numbers Of Bank In My World --- Number Account - Secret Code :-: args :::: numberlines
import base58
import blockrandom
import sys
for w in range(int(sys.argv[1])):
s = base58.b58encode(str(blockrandom.randbytes(32)))
n = w + 1
sys.stdout.write("Numero %s - 1%s\n" %(n,s))
@chezsick
chezsick / passwordgen.py
Last active May 13, 2018 13:53
Generate Your Password With Blockrandom :::::::::: https://github.com/billpmurphy/blockchain-random ; args prog number_password length
import blockrandom
import sys
for z in range(int(sys.argv[1])):
a = []
for y in range(int(sys.argv[2])):
a.append(blockrandom.randint(32,127))
print(bytearray(a))
@chezsick
chezsick / subpixel_rc.bash
Created May 17, 2018 23:49
Convert To Subpixel Red And Cyan :::: prog in out
convert "$1" -resize 200%x100%! -channel red -morphology Convolve "2x1:1,0" -channel cyan -morphology Convolve "2x1:0,1" +channel -resize 50%x100%! "$2"
@chezsick
chezsick / jeu_argent.py
Last active July 14, 2018 13:04
Jeu D'argent Dans Mon Monde à Phelÿn, Le Seul Pays Legal Ou Ont Peut Perdre Des Pièces :/
import blockrandom
box = [100,500,2500,10000,50000,75000,150000,250000,500000,1000000]
j = input("Combien Y'a T'il De Joueurs ? : ")
for i in range(j):
print("\nJoueur %s C'est A Vous !" %(i+1))
boxsh = blockrandom.shuffled(box)
p = input("Quelle Boite De 1 a 10 Vous Choisissez ? : ")
negboxsh = blockrandom.shuffled(boxsh)
n = input("Quelle Anti-Boite De 1 a 10 Vous Choisissez ? : ")
g = boxsh[p-1]-negboxsh[n-1]