Community service for man who told Gardaí in Cork to f*