The Dark Tower/Wizard and Glass/Awesome

Both Roland's and Eddie's confrontation of the insane AI running the monorail train at the beginning of the book qualify for this. When Blaine demands a riddle from them, Roland only answered with a simple and calm "Fuck you." Blaine becomes enraged as Roland refuses to give him a riddle, scorning him by comparing him to a gadget and how even the lowest beggar or the vilest being was far better than Blaine was.

"Blaine: I COMMAND YOU TO STOP IT OR I WILL KILL YOU RIGHT HERE! Roland: Kill if you will but command me nothing! You have forgotten the face of those who made you! Now either kill us or be silent and listen to me, Roland of Gilead, son of Steven, gunslinger and lord of ancient lands! I have not come all the miles and all the years to listen to your childish prating! Do you understand? Now you will listen to ME!"

As Roland and the rest of the ka-tet post riddle after riddle to the AI, Eddie spends his time lost in his memories, trying to recover the clue to defeat the AI's riddling prowess. After digging painfully at his past memories, he finally remembers a conversation in the previous book where Roland grew offended at his stupid jokes, because of his literal mindedness. He also remembers that Blaine froze up on an early riddle, "What has four wheels and flies?" "The town garbage wagon." With a few minutes left, Eddie begins to hurl lame joke after lame joke at the AI, that could not be refused, as it was stupidity Blane complained of, not transgression of the rules. Between the volleys of bad jokes, and eventually the volley of lead, Eddie destroys Blaine, just in time to cause the Mono to stop with a hard but survivable crash.