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 hashlib | |
| from urllib import parse | |
| import webcolors | |
| from PIL import Image | |
| import os | |
| from wsgiref.simple_server import make_server | |
| from pyramid.config import Configurator | |
| from pyramid.response import Response | |
| from pyramid.view import view_config |
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 pygame | |
| import math | |
| import time | |
| import drunk | |
| import random | |
| width=1000 | |
| height=1000 | |
| padding = 10 |
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 os | |
| import time | |
| import matplotlib.pyplot as plt | |
| import numpy as np | |
| import random | |
| import mplcursors | |
| def randHex(length,psudo=False): | |
| if psudo: |
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 time | |
| import matplotlib.pyplot as plt | |
| import math | |
| class buckets: | |
| def __init__(self): | |
| self.data = {} | |
| def count(self,bucket): | |
| try: | |
| self.data[bucket]+=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
| package main | |
| import( | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "strings" | |
| "os" | |
| ) |
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
| package main | |
| //https://levelup.gitconnected.com/a-short-guide-to-encryption-using-go-da97c928259f | |
| import( | |
| "os" | |
| "fmt" | |
| "log" | |
| "crypto/aes" | |
| "crypto/cipher" | |
| "crypto/sha256" | |
| "io" |
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
| package main | |
| //https://levelup.gitconnected.com/a-guide-to-rsa-encryption-in-go-1a18d827f35d | |
| import( | |
| "crypto" | |
| "crypto/rsa" | |
| "crypto/rand" | |
| "crypto/x509" | |
| "crypto/sha256" | |
| "encoding/pem" | |
| "fmt" |
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
| êa¿Œè˜œá¾¯‚r®ÑRbÊ«rˆzäd_°¦0œ¨Ö' È;©Áö¨ûƼc¡ í[(`Lï 3n°iUÃl+Ë»Vá&¾q˲IV2útY]¾Ú‘˜ÃôCw,‘m&~s‘¸ | |
| \5¹Ö&¹:+žºV¤ƒþ | |
| ðË¿^ká¿pœ» | |
| m°¼~²¼Àרñ®\š€¿ó¬Ýí | |
| ·OIÉ¡§ipñUf,oLŒŸ¨¾§ÌøP~÷5bÐç | |
| XîÑZ¹¿Ž;IQ¦³(×fÒG`‚]Ëý¥ÝVÒÁ•ÕÂŒ\Ú&“\MKép&¿ü·bölI^b°"§Oÿš<,÷[¨åú!Î,ÐXÉñy×RèÜ#áB>š‰¿UxálÐ8N¹g„ÄÖV^!ž›¾»]"ylº³ÞJ¸„Žn–]DZ ŽT#+Š*æ`U«4÷Õ—¼¼²ßW=‚¾°êÆM°I,¸è;x¯@°ÏDBB*+Œ°GM_8Ñ¥IüvÏŒ‡d¿ | |
| Óæc'ç8Љe¬ÁòuŽ…+ ~ûëïooCYás¹Ðô™g|WÞÜsH&з]°ï¿{}ºwbžÈ±ƒW«f™âkÔ'FÊT5ÜÛ÷¦Ÿã_Êf±ÙB‡&Þ¿®ä„ˆ–-’ùµ}?°@ªçƒùM¢·V)!ê.Ÿ†ÏÓPbYHÕ?6ÉÎ`qth§=¡7 à¦OÎ>Xqp½ú¥ý×–Nc#vÅÂ"´¢ | |
| ÿ-òTgßd g~.EX-3Ëõk§Õ“9è1~Ÿ‘äŒ?\l¶0RRŸ<iì=Dˆ_»Y‡a>ù'*ÐR]§lâubñ3ÎBBsô¹(ò\ò¹)2õðí„:oE” | |
| ".ã ûoî{¢,ó|_Tð×'3IáTRå.³Rˆø˜B…À¯ý ÷µŽ™•x>D?>øWRÂm'Ë,²S9}7í†ç1ÕZË!Pò³ªðxœ h›æÖœ/-íÍ*à@6÷¡°e!>Z’ª | |
| ¼`‘qáG/Fެü1@×½Ú0.ðrÎíc«XanØø^áæ!ù®µ¶ï£Hà:OÏÎD¯T8ëãÃûyÙnjŸñ‡²‰c]+wMþàBjó‰¨ee¤»šRt•Ï„’\8CÚσX‡½Y…3K-ÖÆûÜK'׸׊œÁ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
| from PIL import Image | |
| import imageio | |
| import math | |
| import numpy as np | |
| import random | |
| import os | |
| def dist(a,b=(0,0)): | |
| return pow(float(sum([(i-j)**2 for i,j in zip(a,b)])),0.5) |
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 random | |
| import hashlib | |
| import time | |
| chrs = "abcdefghijklmnopqrstuvwxyz0123456789" | |
| chrs = chrs.upper() | |
| def nStr(n): | |
| ans = "" |