TIL according to medieval legend the Codex Gigas was created by a monk sentenced to be walled up alive; but to escape death promised to create, in one night, a book with all human knowledge. Near midnight, the desperate monk gave Lucifer his soul to finish the book. Thus, a nickname "Devil's Bible".
https://en.wikipedia.org/wiki/Codex_Gigas#Legend
