This assumes you've got docker-machine installed, running, and can do docker run
docker run --name travis-debug -dit quay.io/travisci/travis-ruby /sbin/init
docker exec -it travis-debug bash -l
/** | |
* Get Google Page Speed Screenshot | |
* | |
* Uses Google's Page Speed API to generate a screenshot of a website. | |
* Returns the image as a base64 jpeg image tag | |
* | |
* Usage Example: | |
* echo getGooglePageSpeedScreenshot("http://ghost.org", 'class="thumbnail"'); | |
* | |
* |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |