Command Line Quick Tip – generate a large file fast

Posted: February 22nd, 2017 | Author: | Filed under: general | Comments Off on Command Line Quick Tip – generate a large file fast

Need to generate a large file fast to test a large file based operation? The yes command is your friend. Simply redirect the output of yes to a file and then ctrl+c to stop it. After about 10 seconds I have a 233 meg file.

My commands



Web Developer? Love Filling out Forms? If so Selenium is not for you

Posted: February 22nd, 2017 | Author: | Filed under: general | Comments Off on Web Developer? Love Filling out Forms? If so Selenium is not for you

Put quite simply Selenium is a remote control for your browser.  You can record actions like clicking links and play them back.  Selenium also lets you write functional tests for your browser, and in fact with Selenium RC you can test in every browser.  If you are fully immersed in TDD then writing tests with assertions should be second nature to you.  Selenium lets you make those assertions once the Controller has fetched the data from the model then made a call to jquery to write some javascript to the page that then fetches something else from the server, something your basic unit test simply can’t do.

Read the rest of this entry »