Comment

Comment by potemkinhr

Good one, added it to my Powershell profile for the occasional giggle so I can invoke it on demand, feel free to reuse it

function Insult { (Invoke-WebRequest -Uri "https://cheswick.com/insults") .ParsedHtml.getElementsByTagName("p")[2].innerText } #Outputs a random quality insult!

Note: delete the space behind insults") Formatting ¯\_(ツ)_/¯

parent potemkinhr 2 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton