Content-Type: text/html; charset=UTF-8 Last-Modified: Fri, 07 Aug 2026 02:28:10 GMT Expires: Mon, 04 Aug 2036 02:28:10 GMT aoc - Advent of Code
summary refs log tree commit diff homepage
path: root/2016/src/bin/day01.rs (follow)
Commit message (Expand)AuthorAge
* Move to 2016 directoryJune McEnroe2020-11-22
n> * Match Sh and Ss as Tag in mdocJune McEnroe2019-02-18 | * Match statics and typedefs as TagJune McEnroe2019-02-18 | * Clean up htmlHeaderJune McEnroe2019-02-18 | * Remove hi line numberingJune McEnroe2019-02-18 | | | | | | Tags are much better for referring to specific parts of a file and line numbering is better done by a post-processing tool such as cat -n or producing a two-column HTML <table>. * Add Tag class to hiJune McEnroe2019-02-18 | * Generate HTML with hi -n -f html -o anchorJune McEnroe2019-02-17 | | | | | Running hi twice to insert stuff between the head and the content is a bit of a hack but oh well. * Add hi -f html -o anchor for line number linksJune McEnroe2019-02-17 | * Simplify temp trap in upJune McEnroe2019-02-17 | * Add line numbers to hiJune McEnroe2019-02-17 | | | | | | | Renames previous -n option to -m to stay consistent with cat -n. Prefixing lines with line numbers affects where the first tab indent ends up relative to the text above it. Not sure if it's worth fixing somehow. * Always split spans after newlinesJune McEnroe2019-02-17 | | | | | Simplifies ANSI and IRC output code, and prepares for line numbered output. * Highlight Interp as yellowJune McEnroe2019-02-15 | * Highlight strings in sh command substitutionsJune McEnroe2019-02-15 | * Avoid newline when copying URL to pasteboardJune McEnroe2019-02-14 | * Match newlines in sh stringsJune McEnroe2019-02-13 | * Clean up scheme yet once moreJune McEnroe2019-02-12 | * Fix sh comment pattern to require blankJune McEnroe2019-02-12 | * Unify *up scripts into one up.shJune McEnroe2019-02-12 | * Use a proper fread-realloc loop in hiJune McEnroe2019-02-12 | * Don't match Rust raw strings inside other stringsJune McEnroe2019-02-12 | * Add Rust to hiJune McEnroe2019-02-12 | | | | This also fixes the block comment pattern to match /* **/ correctly. * Call setlocale in hiJune McEnroe2019-02-12 | * Install html with -CJune McEnroe2019-02-11 | * Avoid excessive tags in ttpreJune McEnroe2019-02-10 | * Generate html for binsJune McEnroe2019-02-10 | * Add plain text "language" to hiJune McEnroe2019-02-10 | * Don't match DQ string inside SQ stringJune McEnroe2019-02-10 | * Skip only one character if a match fails due to parentJune McEnroe2019-02-10 | | | | | Really it should skip forward until the parent changes, but this is simpler. * Remove pattend from hiJune McEnroe2019-02-10 | * Replace uses of pattend with newline patternsJune McEnroe2019-02-10 | * Add hi debug outputJune McEnroe2019-02-10 | * Actually do HTML &quot; escapingJune McEnroe2019-02-10 | * Add back missing static keywordJune McEnroe2019-02-10 | | | | Ooops. * Add tab option to HTML output of hiJune McEnroe2019-02-09 | * Add css and inline HTML options to hiJune McEnroe2019-02-09 | * Combine all Keyword patternsJune McEnroe2019-02-09 | * Run hi -c after compiling hiJune McEnroe2019-02-09 | * Fix IRC output monospace option to emit once per lineJune McEnroe2019-02-09 | * Add output format options to hiJune McEnroe2019-02-09 | | | | | The monospace option for IRC output doesn't really work, since IRCCloud puts a box around each span this way. * Avoid using SGRReset and IRCResetJune McEnroe2019-02-09 | * Use X macros for hi classesJune McEnroe2019-02-08 | * Add sh syntax to hiJune McEnroe2019-02-08 | * Use [] to quote special characters in regexJune McEnroe2019-02-08 | | | | This looks much cleaner than having to double-escape backslash. * Improve ANSI output and base IRC on itJune McEnroe2019-02-08 | * Add hi -nJune McEnroe2019-02-08 | * Elaborate hi man pageJune McEnroe2019-02-08 | * Use set for parent in hiJune McEnroe2019-02-08 | * Switch back to semantic keyword grouping in hiJune McEnroe2019-02-08 | * Match only the basename in hiJune McEnroe2019-02-08 |