Howdoi – Instant Coding Answers via the Command Line
According to the source code (<a href="https://github.com/gleitz/howdoi/blob/master/howdoi/howdoi.py" rel="nofollow">https://github.com/gleitz/howdoi/blob/master/howdoi/howdoi.p...</a>), the answers come from Stack Overflow, searched using Google site search. Howdoi scrapes and prints the first code block in the top answer, or the full text of the top answer if it contains no code block.