Skip to content

Instantly share code, notes, and snippets.

View juddlyon's full-sized avatar

Judd Lyon juddlyon

View GitHub Profile
@juddlyon
juddlyon / test.css
Created February 1, 2011 00:30
Service page sidebar module CSS
aside.module {
float: left;
width: 250px;
margin: 0 0 40px 18px;
border: 1px solid #3D3F46;
border-right: 1px solid #6D707D;
border-bottom: 1px solid #6D707D;
background: -moz-linear-gradient(100% 100% 90deg, rgba(40, 43, 50, 1), rgba(70, 74, 85, 1));
background: -webkit-gradient(linear, left top, left bottom, from(rgba(70, 74, 85, 1)), to(rgba(40, 43, 50, 1)));
-moz-border-radius: 15px;
@juddlyon
juddlyon / gist:3299975
Created August 9, 2012 00:38
Basic xargs example
ls | xargs rm
@juddlyon
juddlyon / gist:3299981
Created August 9, 2012 00:40
grep to xargs examples
grep -rl "foo bar baz" * | xargs rm
@juddlyon
juddlyon / gist:3300108
Created August 9, 2012 00:59
Sifter app review CSS example
.sub-nav a {
text-decoration: none;
}
@juddlyon
juddlyon / gist:bc9577fbfd6e40ca01c9
Created June 26, 2014 15:21
SiteCondor API Job
{"_id"=>"539644c7eb81de2e48000008", "acceptCookies"=>true, "authorshipsCount"=>1, "canonicalsCount"=>1, "completedAt"=>"2014-06-09T23:35:43.764Z", "createdAt"=>"2014-06-09T23:35:35.458Z", "disregardQueryStrings"=>true, "doNotDeleteResults"=>true, "externalLinksCount"=>14, "externalLinksFollowCount"=>14, "externalLinksNofollowCount"=>0, "headingsCount"=>9, "headingsMissingCount"=>1, "headingsMultipleCount"=>0, "ignoreWWWDomain"=>true, "imagesCount"=>13, "imagesMissingAltCount"=>11, "includeImages"=>false, "includeJavascript"=>false, "includePDFs"=>false, "includePages"=>true, "includeStylesheets"=>false, "initialProtocol"=>"https", "internalLinksCount"=>21, "internalLinksFollowCount"=>21, "internalLinksNofollowCount"=>0, "interval"=>300, "maxConcurrency"=>3, "metaDescriptionsCount"=>2, "metaDescriptionsMissingCount"=>1, "metaDescriptionsTooLongCount"=>0, "metaRobotsCount"=>1, "microdatasCount"=>0, "openGraphsCount"=>8, "resources404Count"=>0, "resourcesAllCount"=>21, "resourcesCssCount"=>0, "resourcesImagesCou
@juddlyon
juddlyon / gist:727c3b583956e8374399
Last active August 29, 2015 14:03
SiteCondor API H1s
[
{"_id"=>"539644c89e4ca65bc0b61e55", "count"=>1, "h1"=>"", "urls"=>["https://sitecondor.com/app/"]}
, {"_id"=>"539644c99e4ca65bc0b61e6e", "count"=>1, "h1"=>"About", "urls"=>["https://sitecondor.com/about/"]}
, {"_id"=>"539644ca9e4ca65bc0b61e77", "count"=>1, "h1"=>"Contact Us", "urls"=>["https://sitecondor.com/contact/"]}
, {"_id"=>"539644c99e4ca65bc0b61e68", "count"=>1, "h1"=>"FAQ", "urls"=>["https://sitecondor.com/faq/"]}
, {"_id"=>"539644c89e4ca65bc0b61e5c", "count"=>1, "h1"=>"Features", "urls"=>["https://sitecondor.com/features/"]}
, {"_id"=>"539644c89e4ca65bc0b61e64", "count"=>1, "h1"=>"Plans", "urls"=>["https://sitecondor.com/plans/"]}
, {"_id"=>"539644cd9e4ca65bc0b61e7b", "count"=>1, "h1"=>"Privacy Policy", "urls"=>["https://sitecondor.com/privacy/"]}
, {"_id"=>"539644cc9e4ca65bc0b61e79", "count"=>1, "h1"=>"Terms", "urls"=>["https://sitecondor.com/terms/"]}
, {"_id"=>"539644c89e4ca65bc0b61e3f", "count"=>1, "h1"=>"The site analysis tool for digital marketing experts", "urls"=>["https://sitecondor.com/
@juddlyon
juddlyon / gist:59050f5b0f589e5b562b
Created June 26, 2014 15:30
SiteCondor Client Example
#!/usr/bin/env ruby
require './sitecondor_client'
api_key = '<enter your API key here>'
job_id = '<enter Job ID here>'
# Initialize SiteCondor Client
sitecondor = SiteCondorClient.new(api_key)
@juddlyon
juddlyon / gist:08d8c93d2ed556490446
Created December 5, 2014 16:03
Bootstrap Media Query Breakpoints
/* GANKED FROM BOOTSTRAP v3.3.1 */
/* small devices (tablets, 768px and up) */
@media (min-width: 768px) {}
/* medium devices (desktops, 992px and up) */
@media (min-width: 992px) {}
/* large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}
@juddlyon
juddlyon / jquery-mobile-pagecontainer-widget-events
Created December 6, 2014 19:03
jQuery Mobile Pagecontainer Widget Events (v1.4.5)
// jQuery Mobile Pagecontainer Widget Events (v1.4.5)
$(document).on('pagecontainerbeforechange', function(event, ui) {
console.log('pagecontainerbeforechange');
});
$(document).on('pagecontainerbeforehide', function(event, ui) {
console.log('pagecontainerbeforehide');
});
$(document).on('pagecontainerbeforeload', function(event, ui) {
console.log('pagecontainerbeforeload');
});
@juddlyon
juddlyon / purecss-breakpoints
Created June 18, 2015 23:15
PureCSS RWD Default Breakpoints
/* small (568px) */
@media screen and (min-width: 35.5em) {
}
/* medium (768px) */
@media screen and (min-width: 48em) {
}