The Maldives have been rocked with today's resignation of President Mohamed Nasheed following weeks of protests.