Skip to content

Instantly share code, notes, and snippets.

@chuckak
chuckak / www.dippindots.com-20181008T095432.json
Created October 8, 2018 14:57
Dippin Dots homepage 10-9-2018
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36","lighthouseVersion":"3.0.3","fetchTime":"2018-10-08T14:54:32.366Z","requestedUrl":"https://www.dippindots.com/home.html","finalUrl":"https://www.dippindots.com/home.html","runWarnings":[],"audits":{"first-contentful-paint":{"id":"first-contentful-paint","title":"First Contentful Paint","description":"First contentful paint marks the time at which the first text/image is painted. [Learn more](https://developers.google.com/web/fundamentals/performance/user-centric-performance-metrics#first_paint_and_first_contentful_paint).","score":0.94,"scoreDisplayMode":"numeric","rawValue":2110.6830000000004,"displayValue":["%10d ms",2110.6830000000004]},"first-meaningful-paint":{"id":"first-meaningful-paint","title":"First Meaningful Paint","description":"First Meaningful Paint measures when the primary content of a page is visible. [Learn more](https://developers.google.com/web/tools/lig
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36","lighthouseVersion":"2.9.1","generatedTime":"2018-05-25T14:26:42.021Z","initialUrl":"https://mwcm-author.stg.nytimes.com/creatives/lp/tests/gbb2-template/lp8HYKU_sale_page.html?exclude_optimizely=true&exclude_jsonkidd=true&exclude_abra=true","url":"https://mwcm-author.stg.nytimes.com/creatives/lp/tests/gbb2-template/lp8HYKU_sale_page.html?exclude_optimizely=true&exclude_jsonkidd=true&exclude_abra=true","runWarnings":[],"audits":{"first-meaningful-paint":{"score":98,"displayValue":"1,440 ms","rawValue":1438.8,"extendedInfo":{"value":{"timestamps":{"navStart":36122224336,"fCP":36123663166,"fMP":36123663167,"onLoad":36125078087,"endOfTrace":36130401239},"timings":{"navStart":0,"fCP":1438.83,"fMP":1438.831,"onLoad":2853.751,"endOfTrace":8176.903},"fmpFellBack":false}},"scoringMode":"numeric","name":"first-meaningful-paint","description":"First meaningful paint","helpText":"First
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36","lighthouseVersion":"2.9.1","generatedTime":"2018-05-04T14:26:22.921Z","initialUrl":"https://www.nytimes.com/subscription/multiproduct/lp8HYKU.html","url":"https://www.nytimes.com/subscription/multiproduct/lp8HYKU.html","runWarnings":[],"audits":{"first-meaningful-paint":{"score":31,"displayValue":"5,160 ms","rawValue":5163.9,"extendedInfo":{"value":{"timestamps":{"navStart":282409528212,"fCP":282412940500,"fMP":282414692144,"onLoad":282420574668,"endOfTrace":282426533131},"timings":{"navStart":0,"fCP":3412.288,"fMP":5163.932,"onLoad":11046.456,"endOfTrace":17004.919},"fmpFellBack":false}},"scoringMode":"numeric","name":"first-meaningful-paint","description":"First meaningful paint","helpText":"First meaningful paint measures when the primary content of a page is visible. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/first-meaningful-paint)."},"speed
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36","lighthouseVersion":"2.9.1","generatedTime":"2018-05-04T16:11:03.995Z","initialUrl":"https://www.nytimes.com/subscription/multiproduct/lp8XKUR.html?optimizely_disable=true","url":"https://www.nytimes.com/subscription/multiproduct/lp8XKUR.html?optimizely_disable=true","runWarnings":[],"audits":{"first-meaningful-paint":{"score":38,"displayValue":"4,650 ms","rawValue":4652.6,"extendedInfo":{"value":{"timestamps":{"navStart":288691604465,"fCP":288694606598,"fMP":288696257094,"onLoad":288702486613,"endOfTrace":288708378199},"timings":{"navStart":0,"fCP":3002.133,"fMP":4652.629,"onLoad":10882.148,"endOfTrace":16773.734},"fmpFellBack":false}},"scoringMode":"numeric","name":"first-meaningful-paint","description":"First meaningful paint","helpText":"First meaningful paint measures when the primary content of a page is visible. [Learn more](https://developers.google.com/web/tools/lig
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36","lighthouseVersion":"2.9.1","generatedTime":"2018-05-04T14:11:16.768Z","initialUrl":"https://mwcm-author.prd.nytimes.com/subscription/multiproduct/lp8XKUR.html","url":"https://mwcm-author.prd.nytimes.com/subscription/multiproduct/lp8XKUR.html","runWarnings":[],"audits":{"first-meaningful-paint":{"score":35,"displayValue":"4,850 ms","rawValue":4851,"extendedInfo":{"value":{"timestamps":{"navStart":281511295897,"fCP":281514522585,"fMP":281516146859,"onLoad":281516418457,"endOfTrace":281523664737},"timings":{"navStart":0,"fCP":3226.688,"fMP":4850.962,"onLoad":5122.56,"endOfTrace":12368.84},"fmpFellBack":false}},"scoringMode":"numeric","name":"first-meaningful-paint","description":"First meaningful paint","helpText":"First meaningful paint measures when the primary content of a page is visible. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/first-meaningf
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36","lighthouseVersion":"2.9.1","generatedTime":"2018-05-04T14:20:58.073Z","initialUrl":"https://mwcm-author.prd.nytimes.com/subscription/multiproduct/lp8XKUR.html?exclude_optimizely=true&exclude_jsonkidd=true&exclude_abra=true","url":"https://mwcm-author.prd.nytimes.com/subscription/multiproduct/lp8XKUR.html?exclude_optimizely=true&exclude_jsonkidd=true&exclude_abra=true","runWarnings":[],"audits":{"first-meaningful-paint":{"score":74,"displayValue":"2,860 ms","rawValue":2861.4,"extendedInfo":{"value":{"timestamps":{"navStart":282099116430,"fCP":282100396935,"fMP":282101977781,"onLoad":282102107953,"endOfTrace":282107435159},"timings":{"navStart":0,"fCP":1280.505,"fMP":2861.351,"onLoad":2991.523,"endOfTrace":8318.729},"fmpFellBack":false}},"scoringMode":"numeric","name":"first-meaningful-paint","description":"First meaningful paint","helpText":"First meaningful paint measures w
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36","lighthouseVersion":"2.9.1","generatedTime":"2018-05-04T15:53:52.999Z","initialUrl":"https://mwcm-author.prd.nytimes.com/subscription/multiproduct/lp8XKUR.html?exclude_optimizely=true","url":"https://mwcm-author.prd.nytimes.com/subscription/multiproduct/lp8XKUR.html?exclude_optimizely=true","runWarnings":[],"audits":{"first-meaningful-paint":{"score":69,"displayValue":"3,090 ms","rawValue":3088.4,"extendedInfo":{"value":{"timestamps":{"navStart":287671167530,"fCP":287672839312,"fMP":287674255897,"onLoad":287674214686,"endOfTrace":287679547099},"timings":{"navStart":0,"fCP":1671.782,"fMP":3088.367,"onLoad":3047.156,"endOfTrace":8379.569},"fmpFellBack":false}},"scoringMode":"numeric","name":"first-meaningful-paint","description":"First meaningful paint","helpText":"First meaningful paint measures when the primary content of a page is visible. [Learn more](https://developers.go
@chuckak
chuckak / directory_reader.js
Last active September 9, 2016 21:06
Recursive asynchronous phonegap 2.7.0 directory reader. Builds nested arrays of folders and their files.
(function() {
'use strict';
var fileSystem, folderList, basePath = 'sample_folder';
// Device ready
document.addEventListener('deviceready', function() {
window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, buildFolders, function(error) { console.error('Failed to get local filesystem: ' + error.code); });
}, false);
// Get directory tree and set root callback function