Skip to content

daveharris/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code is a series of small programming puzzles for a variety of skill levels. They are self-contained and are just as appropriate for an expert who wants to stay sharp as they are for a beginner who is just learning to code. Each puzzle calls upon different skills and has two parts that build on a theme.

This repository is my solutions, organised in / folders

To start a new day, run:

mkdir -p `date '+%Y/%-d'` && cd `date '+%Y/%-d'` && touch {a.rb,b.rb,input.txt,example.txt}

or:

read DAY\?"Day: " && cp -r . ../$DAY && cd ../$DAY && truncate -s 0 * && echo "require 'debug'\n\nlines = File.readlines('example.txt').map(&:strip)\n" > *.rb

About

My implementation of http://adventofcode.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages