The former commander of a nuclear-powered aircraft carrier who frequently used anti-gay slurs and produced raunchy videos aboard the USS…