This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ sitespeed.io git:(master) docker-machine ssh default | |
## . | |
## ## ## == | |
## ## ## ## ## === | |
/"""""""""""""""""\___/ === | |
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~ | |
\______ o __/ | |
\ \ __/ | |
\____\_______/ | |
_ _ ____ _ _ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker@default:~$ docker run --privileged --rm sitespeedio/sitespeed.io sitespeed.io -u http://m.bloomingdales.com/ --userAge | |
nt iphone -b chrome -n 3 -d 1 -m 1 --connection cable -r /tmp/ --seleniumServer http://127.0.0.1:4444/wd/hub --phantomjsPath | |
/usr/local/phantomjs/bin/phantomjs | |
Sun Jan 17 20:18:15 UTC 2016 | |
ChromeDriver 2.20.353124 (035346203162d32c80f1dce587c8154a1efa0c3b) | |
Google Chrome 46.0.2490.80 | |
Mozilla Firefox 42.0 | |
Starting Xvfb ... | |
Starting Selenium server ... access it at http://127.0.0.1:4444/wd/hub | |
info: OS: 'linux 4.1.13-boot2docker', Node.js: 'v4.2.4', sitespeed.io: '3.11.3', PhantomJS: '2.0.0', java: '1.7.0_91', browsertime: '0.12.2' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ browsertime git:(1.0) ✗ bin/bt.js http://www.cnet.com/ --experimental.nativeHar -b chrome | |
[2016-01-23 20:39:33] Running chrome for url: http://www.cnet.com/ | |
[2016-01-23 20:39:52] Unhandled event: Page.frameDetached | |
[2016-01-23 20:39:52] Unhandled event: Page.frameDetached | |
[2016-01-23 20:39:52] Unhandled event: Page.frameDetached | |
[2016-01-23 20:39:52] Unhandled event: Page.frameDetached | |
[2016-01-23 20:39:52] Unhandled event: Page.frameDetached | |
[2016-01-23 20:39:52] Unhandled event: Page.frameDetached | |
[2016-01-23 20:39:52] Unhandled event: Page.frameDetached | |
[2016-01-23 20:39:52] Unhandled event: Page.frameDetached |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"level": "INFO", | |
"message": { | |
"message": { | |
"method": "Network.responseReceived", | |
"params": { | |
"frameId": "3958.2", | |
"loaderId": "3958.4", | |
"requestId": "3958.24", | |
"response": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"level": "INFO", | |
"message": { | |
"message": { | |
"method": "Network.responseReceived", | |
"params": { | |
"frameId": "3958.2", | |
"loaderId": "3958.4", | |
"requestId": "3958.13", | |
"response": { |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"log":{"version":"1.2","creator":{"name":"Browsertime","version":"1.0"},"browser":{},"pages":[{"id":"page_1","startedDateTime":"2017-02-22T08:15:44.389Z","title":"Apple iPhone 6 vs. iPhone 6 Plus: What's the difference? - CNET run 1","pageTimings":{"onContentLoad":301701,"onLoad":308274,"_firstVisualChange":2400,"_lastVisualChange":313800},"_frameId":"1273.1","_wallTime":1487751344.38937,"_timestamp":618782.843672},{"id":"page_1-1","startedDateTime":"2017-02-22T08:21:28.106Z","title":"Apple iPhone 6 vs. iPhone 6 Plus: What's the difference? - CNET run 2","pageTimings":{"onContentLoad":1903,"onLoad":11722,"_firstVisualChange":1866,"_lastVisualChange":17500},"_frameId":"2189.1","_wallTime":1487751688.10689,"_timestamp":619126.561188},{"id":"page_1-1-1","startedDateTime":"2017-02-22T08:22:01.390Z","title":"Apple iPhone 6 vs. iPhone 6 Plus: What's the difference? - CNET run 3","pageTimings":{"onContentLoad":301757,"onLoad":301901,"_firstVisualChange":3650,"_lastVisualChange":303667},"_frameId":"2823.1","_wallTim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SSH tunnel to remote host socket | |
ssh -fNT -L /tmp/remote-docker.sock:/var/run/docker.sock <remote-user>@<host-ip> | |
Map localhost docker host to ssh tunnel | |
export DOCKER_HOST=unix:///tmp/remote-docker.sock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Crawler = require("simplecrawler"); | |
var cheerio = require("cheerio"); | |
var crawler = Crawler("http://www.which.co.uk/sitemap/") | |
.on("fetchcomplete", function () { | |
console.log("Fetched a resource!") | |
}); | |
crawler.discoverResources = function(buffer, queueItem) { | |
var $ = cheerio.load(buffer.toString("utf8")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017/07/24 13:05:06 [INFO] Terraform version: 0.9.11 efca455c35d0d218a9bfee835a8ec3ef8d4d1c8c | |
2017/07/24 13:05:06 [INFO] Go runtime version: go1.8 | |
2017/07/24 13:05:06 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan", "-var", "image=ubuntu-1604-lts"} | |
2017/07/24 13:05:06 [DEBUG] Detected home directory from env var: /Users/jclee2 | |
2017/07/24 13:05:06 [DEBUG] Detected home directory from env var: /Users/jclee2 | |
2017/07/24 13:05:06 [DEBUG] Attempting to open CLI config file: /Users/jclee2/.terraformrc | |
2017/07/24 13:05:06 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2017/07/24 13:05:06 [DEBUG] Detected home directory from env var: /Users/jclee2 | |
2017/07/24 13:05:06 [INFO] CLI command args: []string{"plan", "-var", "image=ubuntu-1604-lts"} | |
2017/07/24 13:05:06 [DEBUG] command: loading backend config file: /Users/jclee2/github/terraform-module-issue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"basics": { | |
"name": "Jonathan Lee", | |
"label": "Senior Director of Software Engineering at Red Ventures", | |
"image": "", | |
"email": "[email protected]", | |
"phone": "", | |
"url": "https://jonathanclee.com", | |
"summary": "In my current role at Red Ventures, I am responsible for leading a group of 60+ engineers with our multi-cloud strategy. I have successfully managed the migration cloud infrastructure for 12 brands and several third-party integrations for the acquisition of the CNet Media group into Red Ventures. I have also championed upskilling and adoption of GCP across Red Ventures, as well as integrations with AWS for the CNet Group to move into a hybrid cloud model. I have a strong track record of success in leading and managing software engineering teams. I am an excellent communicator and have a proven ability to build and motivate teams. I am also a strategic thinker and have a deep |