There are ants in my laptop keyboard again. It's happened before and ended up killing my productivity occasionally as the little critters suddenly show up from within the gaps of the keyboard. I had to bring it over to my uncle and he got rid of the ants, somehow, but I forgot to ask how he did it.

How can I get rid of them?!

I've seen this post on Electronics.SE but it got closed, so it didn't get any helpful answers even in the comments.