quick link generator, for the reddit solution posts
This commit is contained in:
parent
76e8997ecc
commit
ddb9cc5bf9
1 changed files with 8 additions and 0 deletions
8
linkgenerator.py
Normal file
8
linkgenerator.py
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
if __name__ == '__main__':
|
||||||
|
# https://github.com/s-prechtl/AdventOfCode/tree/master/2022/Day10
|
||||||
|
user = "s-prechtl"
|
||||||
|
repo = "AdventOfCode"
|
||||||
|
branch = "master"
|
||||||
|
year = 2022
|
||||||
|
day = input("Day: ")
|
||||||
|
print(f"https://github.com/{user}/{repo}/tree/{branch}/{year}/Day{day}")
|
||||||
Loading…
Add table
Add a link
Reference in a new issue