title | description | date | thumbnail | layout | authors | |
---|---|---|---|---|---|---|
Introducing the Serverless Snyk Plugin |
Using Serverless is a boon for security, as it greatly reduces the risk of unpatched servers. In this environment, vulnerable open source packages become the primary security risk. The new Serverless Snyk plugin addresses this issue. |
2016-11-03 |
Post |
|
View crux-wpt.json
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
{ | |
... | |
"CrUX":{ | |
"key":{ | |
"formFactor":"DESKTOP", | |
"url":"https:\/\/techcrunch.com\/" | |
}, | |
"metrics":{ | |
"first_input_delay":{ | |
"histogram":[ |
View perf-diagnostics.css
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
:root { | |
--violation-color: red; /* used for clear issues */ | |
--warning-color: orange; /* used for potential issues we should look into */ | |
} | |
/* IMAGES */ | |
/* | |
* Lazy-Loaded Images Check | |
* ==== |
View libs-to-npm.json
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
{ | |
"GWT": { | |
"url": "http://www.gwtproject.org/" | |
}, | |
"Ink": { | |
"url": "http://ink.sapo.pt/" | |
}, | |
"Vaadin": { | |
"url": "http://vaadin.com/home" | |
}, |
View Serverless-Post-Guy-Edits.md
View perf.js
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
(function () { | |
var perfBar = function(budget) { | |
window.onload = function() { | |
window.performance = window.performance || window.mozPerformance || window.msPerformance || window.webkitPerformance || {}; | |
var timing = window.performance.timing, | |
now = new Date().getTime(), | |
output, loadTime; |
View mustard-test.js
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 hasStorage = (function() { | |
try { | |
localStorage.setItem("test", "mod" ); | |
localStorage.removeItem("test"); | |
return true; | |
} catch (exception) { | |
// console.info(exception); | |
if (exception && exception.name=="QuotaExceededError" && localStorage.length == 0) { | |
//private | |
return true; |
View results-table
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
<div class="fourth-content cf sizer-results"> | |
<h1>Results for http://hugeinc.com</h1> | |
<table> | |
<thead> | |
<tr> | |
<th>Breakpoint</th> | |
<th>Original Weight</th> | |
<th>Lossless Savings</th> | |
<th>Lossy Savings</th> |
View gist:3645415
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
<html> | |
<head> | |
<title>Mobile First "View Desktop" Link</title> | |
<meta id="vp" name="viewport" content="width=device-width" /> | |
<style type="text/css"> | |
body{ | |
font-family: Helvetica, sans-serif; | |
} | |
#toggle{ | |
text-decoration: underline; |
View imageCheck.js
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 myImage = new Image(); | |
myImage.src = "http://somedomain.com/image2.png"; | |
if (myImage.complete) { | |
//already downloaded | |
} else { | |
//not yet downloaded | |
} |
View ratio.js
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
//Adapted from http://www.broken-links.com/2012/07/13/using-media-queries-to-test-device-resolution | |
var dpr = window.devicePixelRatio, | |
msg = ''; | |
// devicePixelRatio property | |
if (dpr) { msg += 'devicePixelRatio: ' + dpr; } | |
// matchMedia method | |
if (window.matchMedia) { | |
// resolution feature & dpi unit | |
if (window.matchMedia('(min-resolution: 96dpi)').matches) { msg += '\ndpi: true'; } |
NewerOlder