Also fun is the Dirichlet function[1], which is discontinuous at every point yet is integrable everywhere. There's also a similar function that is discontinuous at all rational numbers but continuous at all irrational numbers[2].
In a similar vein, the cantor function [1] (also known as the devil's staircase) is continuous and has derivative 0 almost everywhere, but still manages to increase in value.