Lawyer who struggled at hearing to become judge goes viral