summary refs log tree commit diff homepage
path: root/2020/day08.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-12-03 10:57:38 -0500
committerJune McEnroe <june@causal.agency>2021-12-03 10:57:38 -0500
commit81d7b11934be0f57efd2021793730ebe6f522ac2 (patch)
tree34703706cfddffb59f081b07f3fb5ebd80cbda11 /2020/day08.c
parentSolve day 3 part 2 (diff)
downloadaoc-81d7b11934be0f57efd2021793730ebe6f522ac2.tar.gz
aoc-81d7b11934be0f57efd2021793730ebe6f522ac2.zip
Refactor day 3 using grep to count ones
C has turned my brain to for-loop goop.
Diffstat (limited to '2020/day08.c')
0 files changed, 0 insertions, 0 deletions
tr class='logheader'>2009-03-15Fix doc-related glitches in Makefile and .gitignoreLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-03-15ui-snapshot: avoid segfault when no filename is specifiedLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-03-15fix segfault when displaying empty blobsEric Wong When size is zero, subtracting one from it turns it into ULONG_MAX which causes an out-of-bounds access on buf. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-02-19Add support for HEAD requestsLars Hjemli This is a quick 'n dirty hack which makes cgit honor HEAD requests. Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-02-19Add support for ETag in 'plain' viewLars Hjemli When downloading a blob identified by its path, the client might want to know if the blob has been modified since a previous download of the same path. To this end, an ETag containing the blob SHA1 seems to be ideal. Todo: add support for HEAD requests... Suggested-by: Owen Taylor <otaylor@redhat.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-02-12ui-tree: escape ascii-text properly in hexdump viewLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-02-12Makefile: add doc-related targetsLars Hjemli