Tampa’s code enforcement director is out of a job. City leaders said Keith O’Connor has been fired after an investigation into a cashed lottery ticket.