Skip to content

Instantly share code, notes, and snippets.

@nilslindemann
nilslindemann / linkchecker.py
Last active October 31, 2023 08:27
Link Checker for the FastAPI docs
# Link checker script for https://github.com/tiangolo/fastapi
# Place it under fastapi/scripts or configure DOCS_ROOT below
import os
import re
from dataclasses import dataclass, field
from pathlib import Path
from typing import Any, Callable, Generator
Line = str
@nilslindemann
nilslindemann / lichess-prettier-study-notation-layout.css
Last active May 1, 2022 11:48
Lichess prettier study notation layout
/*
Version 2 of https://paste.ofcode.org/XwWMzhY42Ci2uef4kjnjK3 (which will expire in a few days)
* Fixed the styling for dark and transparent backgrounds
* Cleanup
Apply this to URLS starting with https://lichess.org/study/.
E.g. use the Stylus browser addon for that.
Screenshot: https://i.postimg.cc/QM9s118j/lichess-prettier-notation-layout.gif
// ==UserScript==
// @name Fedora Forum Tweaks
// @match https://fedoraforum.org/*
// @match https://forums.fedoraforum.org/*
// @grant GM_addStyle
// @version 2
// ==/UserScript==
{
@nilslindemann
nilslindemann / Lichess vs. chess.com.md
Last active September 13, 2021 22:25
Lichess vs. chess.com

... is a complex issue. Philosophers have arguments about it, scientists write PhDs about it, people use it in order to get a high Google ranking.

We felt that it is time to give interested people an overview of the topic, so that they can achieve a good understanding of the current discussion.

Therefore, we compiled a list of relevant resources to be read by researchers of this and future generations.

@nilslindemann
nilslindemann / Unofficial Lichess Puzzle Storm Top 200 List.md
Last active June 23, 2021 23:10
Unofficial Lichess Puzzle Storm Top 200 List

Currently Discontinued

In June 22nd, 2021, a programming bug in Lichess' Puzzle Storm and Puzzle Racer games caused some players to achieve excessively high scores that are otherwise beyond their abilities. See e.g. this recording of the bug by Joseph Leung.

The resulting top list is therefore based on corrupted data; compare it with the last correct list and the lists from previous days (see the links "Yesterdays list").

The Lichess developers could have decided to delete all Puzzle scores from June 22nd and to recalculate the data sets based on them. But presumably for performance reasons, they only recalculate these data sets when

@nilslindemann
nilslindemann / Lichess forum user recommendations for good chess books.md
Last active June 20, 2022 15:17
Lichess forum user recommendations for good chess books