House: So, think maybe Gray's Anatomy got it all wrong? House sarcastically alluded that Adam's liver cells were in the right place and that Henry Gray's Anatomy of the Human Body, one of the most reliable and comprehensive resources used by medical students and professionals, got the placement wrong.
During their last scene together, House is speaking to Ali and is quoting nearly verbatim the dialogue that Humphrey Bogart's character gives to Ingrid Bergman's character toward the end of the film Casablanca.
While arguing with Cuddy over the carpet in his office, House starts chanting "ATTICA! ATTICA! ATTICA!". This is a reference to the Attica prison riot in 1971, where prisoners took control of the facility after an uprising against the poor conditions.