Barney teases Ted by calling him "Ted Vivian Mosby". Later in that episode, it is revealed that Ted's actual middle name is "Evelyn", a predominantly female name.
References to Pulp Fiction (1994): Ted references the movie by name. Ted references Jules' quote from Ezekiel 25:17, which is famously a misquote.
Although they share no scenes together in this episode, Harry Groener and Alyson Hannigan acted together in "Buffy the Vampire Slayer," with Groener playing the evil Mayor of Sunnydale.
When Ted and Lily are listening to the message that Ted left, he calls her a grinch. This mirrors the tire changing scene in 'The Christmas Story.' in which Ralphie says the 'F' word.