Man given 300 hours of community service for Centrelink assault