Giter Club home page Giter Club logo

adventofcode_2023's Introduction

Advent of Code - 2023

Some solutions for Advent of Code, 2023.

The current ambitions are:

  • Have some fun
  • Keep pace, solve both parts of the daily puzzle on the day it is posted.
  • Set a time box of max 2 hours per day.

Other self-imposed rules:

  • Leave my first solutions as they where during the event (some light clean up is allowed). However, it is still allowed to add alternative solutions or implementations in different languages.
  • The solution for each day should be self-contained. That is, it is OK to use extra packages for a given language, but I don't want to make my own AoC library or framework used across all days.

See my notes for a log of reflections for the daily puzzles (contains spoilers).

Practical setup

(Notes mostly for my future self.)

Use the scripts from https://github.com/kfl/adventofcode_utils for the daily housekeeping chores.

Remember to encrypt input.txt so that they are not put in a public repository by accident. That is:

  • Use git-crypt to enable transparent file encryption in git.

    brew install git-crypt
    
  • Add aoc-gitcrypt.key file (and add it to .gitignore)

  • Specify that input.txt files should be encrypted in the .gitattributes file:

    # .gitattributes
    **/input.txt filter=git-crypt diff=git-crypt
  • Finish setting git-crypt up (not sure these are needed, but I once saw good thing happening when I did them):

    git-crypt unlock ./aoc-gitcrypt.key
    git-crypt status -f
    

adventofcode_2023's People

Contributors

kfl avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.