Gus and Shawn evoke The Karate Kid in this scene. Makes sense. Ralph Macchio guest stars on the 12/8/10 episode of Psych.
Added:
Go get 'em, Gus! The character is at the police academy on the 12/8/10 episode of Psych.
Added:
Ralph Macchio guest stars on the episode "We'd Like to Thank the Academy." It focuses on Shawn and Gus going to the police academy.
Added:

Psych Season 5 Episode 13 Quotes

Can we pull people over and stuff?

Gus

I am going to have to ask you to calm down, sir, or I will have to taze you in the face.

Shawn [to Carlton]