Get the latest tech news
Matters Computational [pdf]
The fxt library of algorithms and the fxtbook
Much of the bit-magic is shown on the bit wizardry page, demo programs are listed here and the documentation is here. The routines about combinatorial generation for combinations, subsets, compositions, integer partitions, set partitions, permutations, mixed radix numbers, multi sets (subsets and permutations), Catalan objects and Dyck words, necklaces and Lyndon words, and many other types of objects are documented here, and the demos are here. This is the book "Matters Computational" (formerly titled "Algorithms for Programmers"), published with Springer.
Or read this on Hacker News