Anthony Scaramucci just resigned as White House communications director.