There's a key that clears all your cookies. I don't know what it is, but I just pressed it.

Some days you just hack out the bash one-liners to get the job done...

βœΈβ€„for ((y=2018; y>1997; y--)); do curl -s "ripul.org/season.php?year=$y" | grep -m1 team.php | grep -Eo '[0-9]+' | xargs | (read y t; echo "INSERT INTO regular_season_winners (year, teamID) VALUES ($y, $t);"); done

INSERT INTO regular_season_winners (year, teamID) VALUES (2018, 7);
INSERT INTO regular_season_winners (year, teamID) VALUES (2017, 2);
INSERT INTO regular_season_winners (year, teamID) VALUES (2016, 0);
...

Turns out I'm not Google-unique after all. There's an Aron Griffis that teaches at Auburn University, and I'm reasonably certain he's not me.

Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!