Scrape country data from Wikipedia

Someone recently asked me if there’s a way to translate a 2 letter country code (i.e. US) to a country name (i.e. United States), and similarly, if there’s a way to translate a 3 letter country code (i.e. CAN) to a country name (i.e. Canada).

Read More

Faster grep

If you want to run a faster grep, use the “LC_ALL” flag and set it to “C”.

Read More