Skip to content

Instantly share code, notes, and snippets.

Avatar

Matt Smith mtscout6

  • Willis Towers Watson
  • Salt Lake City, UT
View GitHub Profile
@h3h
h3h / 0-resume-template.md
Last active Jul 28, 2016
Ideal Resume Format for a Software Engineer
View 0-resume-template.md

https://github.com/[yourname]

Ambition

[Describe ambitions: type of work, attributes of team, what you want to learn & teach]

Experience

[in reverse chronological order, list at most 5 positions or 10 years back, whichever is fewer]

@psebborn
psebborn / countCSSRules.js
Last active May 20, 2021
Count the number of rules and selectors for CSS files on the page. Flags up the >4096 threshold that confuses IE
View countCSSRules.js
function countCSSRules() {
var results = '',
log = '';
if (!document.styleSheets) {
return;
}
for (var i = 0; i < document.styleSheets.length; i++) {
countSheet(document.styleSheets[i]);
}
function countSheet(sheet) {
@medmunds
medmunds / knockout-jquery-ui-widget.js
Created Mar 27, 2011
Knockout binding for jQuery.ui.widget
View knockout-jquery-ui-widget.js
// knockout-jquery-ui-widget.js
// Copyright (c) 2011, Planapple, Inc.
// License: MIT (http://www.opensource.org/licenses/mit-license.php)
//
// Knockout binding for jQuery UI widgets
//
// Examples:
// <input type="submit" value="OK" data-bind='jqueryui: "button"' />
//
// Attaches a jQuery UI button widget to this button, with default options.