Skip to content

Instantly share code, notes, and snippets.

View brandondurham's full-sized avatar

Brandon Durham brandondurham

View GitHub Profile
javascript:
__cnt__=0;
__sep__="";
__username__=jQuery('.content-main .account-group');
__length__=__username__.length;
__usernames__='';
__interval__=setInterval(function () {
el=jQuery(__username__[__cnt__]);
if (__cnt__ === __length__) {
div = $('<div></div>');
@brandondurham
brandondurham / font-stack mixin
Last active December 31, 2015 01:19
SASS Mixin for use with the Cloud.typography service.
@mixin font-stack($family, $weight, $size: inherit, $line-height: inherit, $style: normal, $stack: '"Lucida Grande", "Lucida Sans", Verdana, Helvetica, Arial, sans-serif') {
@if $weight >= 6 { -webkit-font-smoothing: antialiased; } // Sharpen up the bold text
font: {
@if $style == normal {
family: "#{$family} #{$weight}r", "#{$family} A", "#{$family} B", unquote($stack);
}
@else if $style == italic {
family: "#{$family} #{$weight}i", "#{$family} A", "#{$family} B", unquote($stack);
}
size: $size;
[
{
"popularity":3,
"translated":true,
"adult":false,
"language":"en",
"original_name":"Annie Hall",
"name":"Annie Hall",
"alternative_name":"Io e Annie",
"movie_type":"movie",