AWS CLI command completion in BASH

Sometimes you just have to do something simple in AWS -- launch an EC2 instance, create a S3 bucket, run a lambda expression, insert some data into DynamoDB, etc. You could do this via the AWS Management console -- but that means logging in and using the Amazon Web Services very user-unfriendly user interface. You … Continue reading AWS CLI command completion in BASH

Taking back the internet from the Behemoth

The internet has pretty much become a walled garden for a few major corporations such Google, Facebook, Amazon, etc. It takes luck (and skill) to find anything outside these gatekeepers. Whether it’s searching for news, videos, music, or products & services for sale… good luck finding content on your own. Independent voices are stifled (or … Continue reading Taking back the internet from the Behemoth

When should you use JavaScriptExecutor in Selenium?

When you want to execute JavaScript on the browser :) This was my answer to a question on Quora https://www.quora.com/When-should-I-use-JavaScriptExecutor-in-Selenium-WebDriver/answer/Aaron-Evans JavaScriptExecutor is an interface that defines 2 methods: in Java (and similarly in C#): Object executeScript(String script, Object... args) and Object executeAsyncScript(String script, Object... args) which take as an argument a string representing the JavaScript … Continue reading When should you use JavaScriptExecutor in Selenium?

Use Python @contextmanager decorator to start and stop WebDriver

One of the most frustrating simple annoyances with using Selenium is the need to manage the creation and destruction of your WebDriver instances. If your configuration isn't correct, it won't start. And if your test does not complete successfully (or if you forget to close it down properly) you will have an orphaned browser window … Continue reading Use Python @contextmanager decorator to start and stop WebDriver

Should employers require a college degree?

This was my response to a thread on Code Mentor about hiring developers without a degree. If a company requires a degree and you don't have one -- it seems like a mutually beneficial filter. Personally, I'd rather hire someone based on skills and ability to learn and contribute. And I'd rather work for somewhere … Continue reading Should employers require a college degree?