Skip to content

Instantly share code, notes, and snippets.

@lovetheguitar
lovetheguitar / problem_one_and_two.py
Created December 1, 2024 18:33
Advent of code - day 1 python
import collections
import pathlib
def get_sorted_lists_from_input(input_file_path: pathlib.Path) -> tuple[list[int], list[int]]:
input_lines = input_file_path.read_text().split("\n")
list_one = []
list_two = []
for line in input_lines:
@lovetheguitar
lovetheguitar / fix_windows.bat
Created August 19, 2021 07:31 — forked from harrisonlingren/fix_windows.bat
A script to fix Windows 10 shit
@rem *** Disable Some Service ***
sc stop DiagTrack
sc stop diagnosticshub.standardcollector.service
sc stop dmwappushservice
sc stop WMPNetworkSvc
sc stop WSearch
sc config DiagTrack start= disabled
sc config diagnosticshub.standardcollector.service start= disabled
sc config dmwappushservice start= disabled