Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaksi/advent-of-other-peoples-code
Fetches random solutions to a specified Advent of Code puzzle from GitHub and runs them against your input
https://github.com/jaksi/advent-of-other-peoples-code
Last synced: about 2 months ago
JSON representation
Fetches random solutions to a specified Advent of Code puzzle from GitHub and runs them against your input
- Host: GitHub
- URL: https://github.com/jaksi/advent-of-other-peoples-code
- Owner: jaksi
- Created: 2018-12-05T23:30:55.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-22T11:19:21.000Z (about 6 years ago)
- Last Synced: 2024-11-01T02:21:49.851Z (about 2 months ago)
- Language: Python
- Size: 646 KB
- Stars: 78
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of Other People's Code
Fetches random solutions to a specified [Advent of Code](https://adventofcode.com/) puzzle from GitHub and runs them against your input
![Grinch](grinch.png)
## Usage
Let me rephrase. This is going to get some random code from GitHub and run it on your machine. Don't use it.## Really tho
### Create a virtualenv
```sh
python3 -m venv env
source env/bin/activate
```### Install requirements
```sh
pip install -r requirements.txt
```### Genrate a GitHub personal access token
[Right here](https://github.com/settings/tokens/new), with the `public_repo` scope.### Run it
Please, don't!### I said run it!
```shellsession
$ python advent.py --token $GITHUB_TOKEN --year 2018 --day 3 --input input.txt
Patching open() to always return your input file
Searching for repositories
Searching for a solution in Karlovsky120/AdventOfCode2018
Searching for a solution in grey-area/advent-of-code-2018
Searching for a solution in stefsiekman/aoc2018
Searching for a solution in BenSchomp/adventofcode2018
Searching for a solution in speedyswimmer1000/AoC2018
About to blindly run https://github.com/speedyswimmer1000/AoC2018/blob/master/day3.py.
Type yes if you think that's a good idea.
Hint: it's not.
yes
Running it, stand back.
It raised an exception.
Searching for a solution in zinh/advent-of-code-2018
Searching for a solution in aaralh/AdventOfCode
Searching for a solution in athas/advent_of_code_2018
Searching for a solution in hawkjo/advent_of_code_2018
Searching for a solution in Landmaj/AoC_2018
Searching for a solution in paiv/aoc2018
Searching for a solution in helenacruz/adventofcode2018
Searching for a solution in StevTheDev/AoC2018
Searching for a solution in zoeimogen/AoC2018
Searching for a solution in awyd234/adventofcode
Searching for a solution in muffinsofgreg/adventcode2018
Searching for a solution in asberk/aoc18
About to blindly run https://github.com/asberk/aoc18/blob/master/03.py.
Type yes if you think that's a good idea.
Hint: it's not.
yes
Running it, stand back.
It raised an exception.
Searching for a solution in coandco/advent2018
Searching for a solution in ChrisDoubleEwe/AdventOfCode2018
Searching for a solution in veeraita/advent_of_code_2018
Searching for a solution in protocol7/advent-of-code-2018
Searching for a solution in SpionSkummis/Advent-of-Code-2018
About to blindly run https://github.com/SpionSkummis/Advent-of-Code-2018/blob/master/Erik/Day3.py.
Type yes if you think that's a good idea.
Hint: it's not.
yes
Running it, stand back.
The number of squares cut more than once is: 119551
The non-overlapping square was found at nr 1124
Was that the right answer?
yes
```