Skip to content

rolfschmidt/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,004 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code

image

Year                               Language                              
2025 12/12 Ruby
2024 25/25 Ruby
2023 25/25 Ruby
2022 25/25 Ruby
2021 25/25 Go
2020 25/25 V
2019 14/25 Ruby
2018 14/25 Ruby
2017 25/25 Ruby
2016 0/25 -
2015 25/25 Ruby

Bash alias

Helpful aliases for advent of code handling:

npm install -g nodemon

alias aoc='f() { nodemon -q -e rb -w /home/debian-rs/ws/advent-of-code -x "bundle exec rspec --fail-fast spec/day${1}_spec.rb"; }; f'
alias aoc-new='f() { local F="spec/day${1}_spec.rb"; cp "spec/day00_spec.rb" "${F}"; touch "clear; spec/day${1}_test.txt"; sed -i "s/Day00/Day${1}/g" "${F}"; }; f'

About

Advent of Code Puzzles

Topics

Resources

License

Stars

Watchers

Forks

Contributors