Skip to content

Instantly share code, notes, and snippets.

View mhashizume's full-sized avatar

Michael Hashizume mhashizume

View GitHub Profile
def sanitize_text():
total_text = []
# Regex split to strip non-alphanumeric characters
for line in fileinput.input():
line.casefold()
words = [x for x in re.split("\W",line) if x]
total_text += words
return total_text
@mhashizume
mhashizume / ks.cfg
Last active November 24, 2021 16:30
cdrom
lang en_US.UTF-8
keyboard us
network --bootproto=dhcp
network --device=ens33 --onboot=yes
rootpw --iscrypted $1$v4K9E8Wj$gZIHJ5JtQL5ZGZXeqSSsd0
firewall --enabled --service=ssh
selinux --disabled
timezone UTC
bootloader --location=mbr