This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import base58 | |
| import sys | |
| print(base58.b58encode_int(pow(10,pow(10,100),pow(58,int(sys.argv[1]))))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2001-2005 Computer Modern | |
| 2005-2008 PT Sans, PT Serif | |
| 2008-2012 Asap | |
| 2012-2015 Ubuntu | |
| 2015-Inf Product Sans |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def integral_data(data,l = 0.1): | |
| e = len(data) | |
| p = 0 | |
| for d in xrange(e): | |
| p += l*data[d] | |
| return p |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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)) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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)) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| convert "$1" -resize 200%x100%! -channel red -morphology Convolve "2x1:1,0" -channel cyan -morphology Convolve "2x1:0,1" +channel -resize 50%x100%! "$2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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] |
OlderNewer