<%-- replace object with var to test --%>
<c:set var="object" value="${product}" />
<c:if test="${!empty object.class.declaredFields}">
<h2>Object Attributes <em>${object.name}</em></h2>
<ul>
<c:forEach var="attr" items="${object.class.declaredFields}">
<span>${attr.name}</span>${object[attr.name]}
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
const tips = { | |
mbTakesAMinimumOfSecondsTo: "1MB takes a minimum of 5 seconds to download on a typical 3G connection [Source: `WebPageTest` and `DevTools` 3G definition].", | |
rebuildingPinterestPagesFor: "Rebuilding Pinterest pages for performance increased conversion rates by 15% [Source: `WPO Stats`]", | |
byReducingTheResponseSizeOfJson: "By reducing the response size of JSON needed for displaying comments, Instagram saw increased impressions [Source: `WPO Stats`]", | |
walmartSawAIncreaseInRevenueFor: "Walmart saw a 1% increase in revenue for every 100ms improvement in page load [Source: `WPO Stats`]", | |
ifASiteTakesSecondToBecome: "If a site takes >1 second to become interactive, users lose attention, and their perception of completing the page task is broken [Source: `Google Developers Blog`]", | |
OfGlobalMobileUsersInWereOnGOrG: "75% of global mobile users in 2016 were on 2G or 3G [Source: `GSMA Mobile`]", | |
theAverageUserDeviceCostsLess: "The average user device costs less than 200 USD. [Source: `Internat |
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
// Zero Dark Matrix for React Devtools | |
// Run this snippet inside the inspector's inspector. | |
(function(){ | |
var themeUrl = 'https://gist.githubusercontent.com/mauricecruz/f53c932961a04c01a096/raw/26b8d584411764cceec91716973df142955230a7/style.css'; | |
function getDevTheme(url){ | |
var identifier = getDomainIdentifier(), | |
css; | |
function contains(source, findString){ | |
return source.indexOf(findString) !== -1; | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Zero Dark Matrix</string> | |
<key>comment</key> | |
<string>A highly customized dark theme.</string> | |
<key>settings</key> | |
<array> |
I hereby claim:
- I am mauricecruz on github.
- I am mauricecruz (https://keybase.io/mauricecruz) on keybase.
- I have a public key whose fingerprint is 702D 56F4 A14D 77CC 9F56 73A5 BD88 3B78 F01F E033
To claim this, I am signing this object:
- Open Node Inspector
- Open Devtools for Node Inspector
- Copy/paste this snippet https://gist.githubusercontent.com/mauricecruz/d20345b25b5c3ca0a4d7/raw/3f0a90112026a1e51a401dcb2fe6f3ca7bf299c0/snippet.js
- Run it!
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 css = '.panel.sources .split-view-vertical .split-view-contents{-webkit-transition:right .5s ease-in-out}.panel.sources .split-view-contents-second.split-view-sidebar{-webkit-animation:slideInRightBig .2s ease-out}.panel.sources .split-view-vertical .split-view-contents-first.split-view-sidebar,.panel.sources div:not(.split-view-horizontal) .split-view-vertical .split-view-sidebar{-webkit-animation:none!important}.sidebar-overlay{-webkit-animation:slideInLeftBig .5s ease-out}.panel.elements .split-view-horizontal .split-view-contents-second:not(.metrics-and-computed),.panel.sources .split-view-horizontal>.split-view-contents-second.split-view-sidebar{-webkit-animation:bounceInUp 1s ease-in-out;z-index:99}#toolbar>.toolbar-item.toggleable.toggled-on,.small .tabbed-pane:not(.help-window-main) .tabbed-pane-header-tab.selected,.tabbed-pane:not(.help-window-main) .tabbed-pane-header-tab.selected{-webkit-transition:border-top .25s ease-out 0}#network-views{-webkit-animation:bounceInRight .5s ease-in-out}.styles |
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
/*****************************************************************************/ | |
/* Zero-Dark-Matrix | |
/* Optimized for Chrome Stable Channel v32.0.1700 | |
/* https://github.com/mauricecruz/chrome-devtools-zerodarkmatrix-theme | |
/*************************************************************************/ | |
/********************************************** | |
/* Animations | |
/* ------------------------------------------- | |
/* If you are experiencing performance issues, | |
/* remove the animations section below. |
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
.styles-section .properties .disabled, | |
.styles-section .properties .not-parsed-ok { | |
-webkit-transition: opacity 0.5s ease-in-out 0; | |
} | |
/*-- CURRENTLY SELECTED --*/ | |
.panel.elements .outline-disclosure ol:focus li.selected .selection { | |
-webkit-animation: pulsate 2.5s infinite; | |
} | |
#elements-crumbs .crumbs .crumb.selected { |
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
/*****************************************************************************/ | |
/* Zero-Dark-Matrix | |
/* Optimized for Chrome Canary Channel v32 | |
/* https://github.com/mauricecruz/chrome-devtools-zerodarkmatrix-theme | |
/*************************************************************************/ | |
.styles-section .properties .disabled, | |
.styles-section .properties .not-parsed-ok { | |
-webkit-transition: opacity 0.5s ease-in-out 0; | |
} | |
/*-- CURRENTLY SELECTED --*/ |
NewerOlder