Jack Dorsey resigns as Twitter CEO