Skip to content

Commit

Permalink
Encrypted input files (#41)
Browse files Browse the repository at this point in the history
Co-authored-by: Juris <[email protected]>
  • Loading branch information
jurisk and jurisk authored Dec 29, 2024
1 parent 429ae2a commit 7ec0c51
Show file tree
Hide file tree
Showing 252 changed files with 31 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,25 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Decrypt
run: sudo apt-get install git-crypt && git-crypt unlock ./git-crypt.key

- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy

- name: Build
working-directory: ./rust
run: cargo +nightly build --verbose

- name: Run tests
working-directory: ./rust
run: cargo +nightly test --verbose

- name: Clippy
working-directory: ./rust
run: cargo +nightly clippy -- -W clippy::pedantic
3 changes: 3 additions & 0 deletions .github/workflows/scala2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Decrypt
run: sudo apt-get install git-crypt && git-crypt unlock ./git-crypt.key

- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/scala3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Decrypt
run: sudo apt-get install git-crypt && git-crypt unlock ./git-crypt.key

- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
Expand Down
Binary file added git-crypt.key
Binary file not shown.
12 changes: 12 additions & 0 deletions git-crypt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Windows:
https://github.com/AGWA/git-crypt/releases/tag/0.7.0

MacOS:
`brew install git-crypt`

Useful commands:
```shell
git-crypt status -e
git-crypt status --fix
git-crypt unlock git-crypt.key
```
2 changes: 2 additions & 0 deletions haskell/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
src/Year[0-9][0-9][0-9][0-9]/Day[0-9][0-9]/input.txt filter=git-crypt diff=git-crypt
test/Year[0-9][0-9][0-9][0-9]/Day[0-9][0-9]/real.txt filter=git-crypt diff=git-crypt
Binary file modified haskell/src/Year2020/Day01/input.txt
Binary file not shown.
Binary file modified haskell/src/Year2020/Day06/input.txt
Binary file not shown.
Binary file modified haskell/src/Year2020/Day18/input.txt
Binary file not shown.
Binary file modified haskell/src/Year2020/Day19/input.txt
Binary file not shown.
Binary file modified haskell/test/Year2021/Day05/real.txt
Binary file not shown.
1 change: 1 addition & 0 deletions python/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
y[0-9][0-9][0-9][0-9]/day[0-9][0-9].txt filter=git-crypt diff=git-crypt
Binary file modified python/y2018/day23.txt
Binary file not shown.
Binary file modified python/y2022/day19.txt
Binary file not shown.
Binary file modified python/y2022/day21.txt
Binary file not shown.
Binary file modified python/y2023/day24.txt
Binary file not shown.
1 change: 1 addition & 0 deletions rust/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
y[0-9][0-9][0-9][0-9]/resources/[0-9][0-9].txt filter=git-crypt diff=git-crypt
Binary file modified rust/y2015/resources/01.txt
Binary file not shown.
Binary file modified rust/y2015/resources/02.txt
Binary file not shown.
Binary file modified rust/y2015/resources/03.txt
Binary file not shown.
Binary file modified rust/y2015/resources/05.txt
Binary file not shown.
Binary file modified rust/y2015/resources/06.txt
Binary file not shown.
Binary file modified rust/y2015/resources/07.txt
Binary file not shown.
Binary file modified rust/y2015/resources/08.txt
Binary file not shown.
Binary file modified rust/y2015/resources/09.txt
Binary file not shown.
Binary file modified rust/y2015/resources/12.txt
Binary file not shown.
Binary file modified rust/y2015/resources/13.txt
Binary file not shown.
Binary file modified rust/y2015/resources/14.txt
Binary file not shown.
Binary file modified rust/y2015/resources/15.txt
Binary file not shown.
Binary file modified rust/y2015/resources/16.txt
Binary file not shown.
Binary file modified rust/y2015/resources/17.txt
Binary file not shown.
Binary file modified rust/y2015/resources/18.txt
Binary file not shown.
Binary file modified rust/y2015/resources/19.txt
Binary file not shown.
Binary file modified rust/y2015/resources/23.txt
Binary file not shown.
Binary file modified rust/y2016/resources/03.txt
Binary file not shown.
Binary file modified rust/y2016/resources/04.txt
Binary file not shown.
Binary file modified rust/y2016/resources/06.txt
Binary file not shown.
Binary file modified rust/y2016/resources/07.txt
Binary file not shown.
Binary file modified rust/y2016/resources/08.txt
Binary file not shown.
Binary file modified rust/y2016/resources/09.txt
Binary file not shown.
Binary file modified rust/y2016/resources/10.txt
Binary file not shown.
Binary file modified rust/y2016/resources/12.txt
Binary file not shown.
Binary file modified rust/y2016/resources/15.txt
Binary file not shown.
Binary file modified rust/y2016/resources/22.txt
Binary file not shown.
Binary file modified rust/y2016/resources/23.txt
Binary file not shown.
Binary file modified rust/y2016/resources/25.txt
Binary file not shown.
Binary file modified rust/y2017/resources/04.txt
Binary file not shown.
Binary file modified rust/y2017/resources/05.txt
Binary file not shown.
Binary file modified rust/y2017/resources/07.txt
Binary file not shown.
Binary file modified rust/y2017/resources/09.txt
Binary file not shown.
Binary file modified rust/y2017/resources/11.txt
Binary file not shown.
Binary file modified rust/y2017/resources/12.txt
Binary file not shown.
Binary file modified rust/y2017/resources/13.txt
Binary file not shown.
Binary file modified rust/y2017/resources/16.txt
Binary file not shown.
Binary file modified rust/y2017/resources/22.txt
Binary file not shown.
Binary file modified rust/y2017/resources/24.txt
Binary file not shown.
Binary file modified rust/y2018/resources/08.txt
Binary file not shown.
Binary file modified rust/y2019/resources/01.txt
Binary file not shown.
Binary file modified rust/y2019/resources/02.txt
Binary file not shown.
Binary file modified rust/y2019/resources/03.txt
Binary file not shown.
Binary file modified rust/y2019/resources/05.txt
Binary file not shown.
Binary file modified rust/y2019/resources/06.txt
Binary file not shown.
Binary file modified rust/y2019/resources/07.txt
Binary file not shown.
Binary file modified rust/y2019/resources/08.txt
Binary file not shown.
Binary file modified rust/y2019/resources/09.txt
Binary file not shown.
Binary file modified rust/y2019/resources/10.txt
Binary file not shown.
Binary file modified rust/y2019/resources/11.txt
Binary file not shown.
Binary file modified rust/y2019/resources/13.txt
Binary file not shown.
Binary file modified rust/y2019/resources/14.txt
Binary file not shown.
Binary file modified rust/y2019/resources/15.txt
Binary file not shown.
Binary file modified rust/y2019/resources/16.txt
Binary file not shown.
Binary file modified rust/y2019/resources/17.txt
Binary file not shown.
Binary file modified rust/y2019/resources/18.txt
Binary file not shown.
Binary file modified rust/y2019/resources/19.txt
Binary file not shown.
Binary file modified rust/y2019/resources/20.txt
Binary file not shown.
Binary file modified rust/y2019/resources/21.txt
Binary file not shown.
Binary file modified rust/y2019/resources/22.txt
Binary file not shown.
Binary file modified rust/y2019/resources/23.txt
Binary file not shown.
Binary file modified rust/y2019/resources/24.txt
Binary file not shown.
Binary file modified rust/y2019/resources/25.txt
Binary file not shown.
Binary file modified rust/y2020/resources/06.txt
Binary file not shown.
Binary file modified rust/y2020/resources/12.txt
Binary file not shown.
Binary file modified rust/y2020/resources/13.txt
Binary file not shown.
Binary file modified rust/y2020/resources/14.txt
Binary file not shown.
Binary file modified rust/y2021/resources/01.txt
Binary file not shown.
Binary file modified rust/y2021/resources/02.txt
Binary file not shown.
Binary file modified rust/y2021/resources/03.txt
Binary file not shown.
Binary file modified rust/y2021/resources/04.txt
Binary file not shown.
Binary file modified rust/y2021/resources/05.txt
Binary file not shown.
Binary file modified rust/y2021/resources/06.txt
Binary file not shown.
Binary file modified rust/y2021/resources/07.txt
Binary file not shown.
Binary file modified rust/y2021/resources/08.txt
Binary file not shown.
Binary file modified rust/y2021/resources/09.txt
Binary file not shown.
Binary file modified rust/y2021/resources/10.txt
Binary file not shown.
Binary file modified rust/y2021/resources/11.txt
Binary file not shown.
Binary file modified rust/y2021/resources/12.txt
Binary file not shown.
Binary file modified rust/y2021/resources/13.txt
Binary file not shown.
Binary file modified rust/y2021/resources/14.txt
Binary file not shown.
Binary file modified rust/y2021/resources/15.txt
Binary file not shown.
Binary file modified rust/y2021/resources/17.txt
Binary file not shown.
Binary file modified rust/y2021/resources/18.txt
Binary file not shown.
Binary file modified rust/y2021/resources/19.txt
Binary file not shown.
Binary file modified rust/y2021/resources/20.txt
Binary file not shown.
Binary file modified rust/y2021/resources/21.txt
Binary file not shown.
Binary file modified rust/y2021/resources/22.txt
Binary file not shown.
Binary file modified rust/y2021/resources/23.txt
Binary file not shown.
Binary file modified rust/y2021/resources/24.txt
Binary file not shown.
Binary file modified rust/y2021/resources/25.txt
Binary file not shown.
Binary file modified rust/y2022/resources/07.txt
Binary file not shown.
Binary file modified rust/y2023/resources/01.txt
Binary file not shown.
Binary file modified rust/y2024/resources/00.txt
Binary file not shown.
Binary file modified rust/y2024/resources/01.txt
Binary file not shown.
Binary file modified rust/y2024/resources/02.txt
Binary file not shown.
Binary file modified rust/y2024/resources/03.txt
Binary file not shown.
Binary file modified rust/y2024/resources/04.txt
Binary file not shown.
Binary file modified rust/y2024/resources/05.txt
Binary file not shown.
Binary file modified rust/y2024/resources/06.txt
Binary file not shown.
Binary file modified rust/y2024/resources/07.txt
Binary file not shown.
Binary file modified rust/y2024/resources/08.txt
Binary file not shown.
Binary file modified rust/y2024/resources/09.txt
Binary file not shown.
Binary file modified rust/y2024/resources/10.txt
Binary file not shown.
Binary file modified rust/y2024/resources/12.txt
Binary file not shown.
Binary file modified rust/y2024/resources/13.txt
Binary file not shown.
Binary file modified rust/y2024/resources/14.txt
Binary file not shown.
Binary file modified rust/y2024/resources/15.txt
Binary file not shown.
Binary file modified rust/y2024/resources/16.txt
Binary file not shown.
Binary file modified rust/y2024/resources/18.txt
Binary file not shown.
Binary file modified rust/y2024/resources/19.txt
Binary file not shown.
Binary file modified rust/y2024/resources/20.txt
Binary file not shown.
Binary file modified rust/y2024/resources/21.txt
Binary file not shown.
Binary file modified rust/y2024/resources/22.txt
Binary file not shown.
Binary file modified rust/y2024/resources/23.txt
Binary file not shown.
Binary file modified rust/y2024/resources/24.txt
Binary file not shown.
Binary file modified rust/y2024/resources/25.txt
Binary file not shown.
Binary file modified rust/y2025/resources/00.txt
Binary file not shown.
1 change: 1 addition & 0 deletions scala2/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/main/resources/[0-9][0-9][0-9][0-9]/[0-9][0-9].txt filter=git-crypt diff=git-crypt
Binary file modified scala2/src/main/resources/2016/20.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2016/24.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/01.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/02.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/03.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/04.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/05.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/06.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/07.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/08.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/10.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/12.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/13.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/15.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/16.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/17.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/18.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/19.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/20.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/21.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/23.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/24.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2018/25.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2021/16.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/01.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/02.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/03.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/04.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/05.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/06.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/07.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/08.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/09.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/10.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/11.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/12.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/13.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/14.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/15.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/16.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/17.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/18.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/19.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/20.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/21.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/22.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/23.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/24.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2022/25.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/01.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/02.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/03.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/04.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/05.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/07.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/08.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/09.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/10.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/11.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/12.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/13.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/14.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/15.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/16.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/17.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/18.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/19.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/20.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/21.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/22.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/23.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/24.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2023/25.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/00.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/01.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/02.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/03.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/04.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/05.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/06.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/07.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/08.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/09.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/10.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/12.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/13.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/14.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/15.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/16.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/17.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/18.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/19.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/20.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/21.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/22.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/23.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/24.txt
Binary file not shown.
Binary file modified scala2/src/main/resources/2024/25.txt
Binary file not shown.
1 change: 1 addition & 0 deletions scala3/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/main/resources/[0-9][0-9][0-9][0-9]/[0-9][0-9].txt filter=git-crypt diff=git-crypt
Binary file modified scala3/src/main/resources/2020/01.txt
Binary file not shown.
Binary file modified scala3/src/main/resources/2020/02.txt
Binary file not shown.
Binary file modified scala3/src/main/resources/2020/03.txt
Binary file not shown.
Binary file modified scala3/src/main/resources/2020/04.txt
Binary file not shown.
Binary file modified scala3/src/main/resources/2020/05.txt
Binary file not shown.
Binary file modified scala3/src/main/resources/2020/06.txt
Binary file not shown.
Binary file modified scala3/src/main/resources/2020/07.txt
Binary file not shown.
Binary file modified scala3/src/main/resources/2020/08.txt
Binary file not shown.
Binary file modified scala3/src/main/resources/2020/09.txt
Binary file not shown.
Binary file modified scala3/src/main/resources/2020/10.txt
Binary file not shown.
Binary file modified scala3/src/main/resources/2020/11.txt
Binary file not shown.
Binary file modified scala3/src/main/resources/2020/16.txt
Binary file not shown.
Binary file modified scala3/src/main/resources/2020/17.txt
Binary file not shown.
Binary file modified scala3/src/main/resources/2020/20.txt
Binary file not shown.
Binary file modified scala3/src/main/resources/2020/21.txt
Binary file not shown.
Binary file modified scala3/src/main/resources/2020/22.txt
Binary file not shown.
Binary file modified scala3/src/main/resources/2020/24.txt
Binary file not shown.

0 comments on commit 7ec0c51

Please sign in to comment.