A man who was captured on video attacking a judge in a Las Vegas courtroom after vaulting over her bench and desk has been sentenced to decades in prison.