Coder Social home page Coder Social logo

advent-of-code-2020's Introduction

advent-of-code-2020

My participation in the Advent of Code for 2020.

Please feel free to browse through my solutions. Be warned that there may be spoilers if you haven't submitted your own answers already.

Setting up the sandbox

These instructions are probably over-complicated. docker create instead of docker run -it followed by exit should be possible.

$ docker build -t advent-of-code-2020-rust .

$ docker run -it --name advent-of-code-2020 --mount type=bind,src=$HOME/Projects/advent-of-code/2020,dst=/advent-of-code/2020 advent-of-code-2020-rust
# exit
$ docker start advent-of-code-2020
$ docker exec -it advent-of-code-2020 zsh
#

Edit/build/run/repeat

# cargo build
# cargo test
# cargo run

Optional: Connecting VS Code to the sandbox

  1. Click on the whale icon in the sidebar.
  2. Right-click on the running container and choose "Attach Visual Studio Code". A new VS Code window will open.
  3. Click "Open Folder". Navigate to /advent-of-code/2020 then click "OK".
  4. Install the rust-lang.rust extension in the container. If asked to install additional Rust components, click "Yes".
  5. When done, click on "Container advent-of-code-2020" in the bottom-left corner of the window, then choose "Close Remote Connection".

advent-of-code-2020's People

Contributors

krisalyssa avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.