Barney refers to himself as 'Special Agent Gary Powers' when talking to Geraldine. Gary Powers was actually a CIA agent who was shot down while flying over Soviet airspace in 1960
The piano music heard between the scenes in the living room, dining room and kitchen is "Flight of the Bumblebee" by Nikolai Rimsky-Korsakov.
Mickey says there are 10,000 bees in the basement. In using this number he is accurately citing the approximate number of bees that are contained in a starter colony called a "nuc" (short for nuclear hive). This small box contains just 4 frames as compared to a permanent box hive which most commonly holds 5, 8, or 10 frames, with 8 and 10 frames being most common. A typical established colony contains between 20,000-80,000 bees depending on many factors including such things as maturity, time of year, health, availability of food, and size and number of boxes comprising the modular "Langstroh-type" hive.
Ted quotes SunTzu, saying "Never give up, never surrender. " This is actually a quote from the movie Galaxy Quest, which is what he tells Robin after she says the quote to him earlier, as seen later in the episode.
Despite being from Canada, a country known for being extremely polite, in the episode, Robin is accused by both Ted and Marshall of being someone who yells at strangers unprovoked.