Skip to content

Instantly share code, notes, and snippets.

View geremachek's full-sized avatar
⚜️
Playing the ocarina

geremachek

⚜️
Playing the ocarina
View GitHub Profile
import csv
with open("decoderaaa.csv", mode='r') as inp:
reader = csv.reader(inp)
ring = {rows[0]:rows[1] for rows in reader}
file_name = input("Enter File Name: ")
input = open(file_name, 'r')
output = open("DECODED-" + file_name, 'w')
@geremachek
geremachek / name-shortener.py
Last active December 20, 2021 17:54
Shorten names in a data set
import re
import time
suffixes = ["jr.", "sr.", "i", "ii", "iii"]
# get the filename from the user
user_input = input("What file would you like to shorten? ")
# open file for reading
@geremachek
geremachek / dicsp.go
Last active August 29, 2020 00:04
spoiler thing for discord
package main
import (
"os"
"bufio"
"fmt"
)
func main() {
scanner := bufio.NewScanner(os.Stdin)