Dominic Cummings and Nigel Farage were both influential in the successful Brexit campaign.