Skip to content

Instantly share code, notes, and snippets.

View howCodeORG's full-sized avatar

howCode howCodeORG

View GitHub Profile
@howCodeORG
howCodeORG / key-generator.py
Created May 22, 2018 01:28
howCode's simple key generation script in Python.
import random
class Key:
def __init__(self, key=''):
if key == '':
self.key= self.generate()
else:
self.key = key.lower()
@howCodeORG
howCodeORG / algo.py
Created May 12, 2018 01:35
howCode's Simple Genetic Algorithm in Python
import random
population = 200
generations = 0
mutation = 0.01
alphabet = "abcdefghijklmnopqrstuvwxyz! "
target = "subscribe to howcode!"
output = ""
data = []