Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 338 Bytes

notes.md

File metadata and controls

15 lines (13 loc) · 338 Bytes

When Changed (like Guard)

https://github.com/joh/when-changed

when-changed solution.rb 'clear && ruby %f'

CURL the input

year=`date +%Y`;day=`date +%-d`;curl -H "cookie: session=${AOC_SESSION}" https://adventofcode.com/$year/day/$day/input > input.txt

CURL the input - my function

aocinput