Skip to content

Instantly share code, notes, and snippets.

View thatdevgirl's full-sized avatar

Joni Halabi thatdevgirl

View GitHub Profile
dikiaap /
Last active June 19, 2024 01:26 custom URL

Update: As of 11 January 2022, no longer accepts new URLs.


curl -i -F "url=" -F "code=YOUR_CUSTOM_NAME"

URLs that can be created is from:

  • https://*
eltoob / gist:4586719
Created January 21, 2013 15:09
Quick lines to get the number of selectors in each CSS to make sure that IE is not breaking
styleSheets = document.styleSheets,
totalStyleSheets = styleSheets.length;
for (var j = 0; j < totalStyleSheets; j++){
styleSheet = styleSheets[j],
rules = styleSheet.cssRules,
totalRulesInStylesheet = rules.length,
totalSelectorsInStylesheet = 0;