Fork me on GitHub
#adventofcode
<
2021-11-14
>
tschady19:11:16

wrote my first https://github.com/tschady/advent-of-code/blob/main/script/update_badges.clj for some advent-of-code README eye-candy:

💯 5
🚀 1
😲 1
catjam 1
👌 1
genmeblog12:11:33

@U1Z392WMQ where to find a .session file?

tschady12:11:34

that’s your logged-in cookie from advent of code. you can see it in chrome dev tools.

genmeblog12:11:46

ah, ok, thanks

kingcode03:01:18

@U1Z392WMQ very cool! How did you learn to do this? How do you make it work within github site?

tschady13:01:37

learned it by puttering around for a decade. The script creates the image, which I then put into the README markup like any other. I have to run this manually every time I solve a new one. Sometime this year I’ll make it a GitHub Action.

👍 1