Wednesday, August 8, 2012

Browser console as a shell (or how to test code in a browser)

Recently I was asked by a friend to write a batch file that generates one thousand dummy email addresses of this format: (where X is a number from 1 to 1000). I could've of course write a batch file, or open a Linux shell in a virtual machine (I work on a Windows box). But being a web developer, the closet place where I can execute code is of course the browser console.