- Stubbs
- Alamo Drafthouse
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
<?php | |
/* | |
* If the current post is protected by a password and | |
* the visitor has not yet entered the password we will | |
* return early without loading the comments. | |
*/ | |
if ( post_password_required() ) | |
return; | |
?> |
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
In json, is there a way to check a value against an array and find the object it belongs to? | |
So if I have a known value of 'apex', check it against the 'value' keys and get back Array[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
{ | |
"posts": [ | |
{ | |
"title": "Some Title", | |
"postDate": "14.03.2013", | |
"excerpt": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient.", | |
"postSlug": "some-title", | |
"previewLg": "http://placehold.it/625x350.png", | |
"previewSm": "http://placehold.it/280x160.png", | |
"category": "some category", |
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
$page: 960; //This is our ideal width | |
$third-col: ( $page - ($gutter * 2) ) / 3; | |
$gutter: 20; //This is our gutter | |
@mixin pxtoper($property, $target, $context) { | |
#{$property}: ($target / $context) * 100%; | |
} |
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
{ | |
"navigation": [ | |
{ | |
"slug": "index", | |
"title": "Home" | |
}, | |
{ | |
"slug": "item-one", | |
"title": "Item One" | |
}, |
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
$base-size: 16px; | |
$base-line-height: 25px; | |
$size-body: $base-size; | |
$size-alpha: 32px; | |
$size-beta: 28px; | |
@mixin pxtoem($property, $target, $context) { | |
#{$property}: ($target / $context) + 0em | |
} |
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
City Hall, BPL Courtyard, Harvard Sq, Faneuil Hall, Greenway, The Common, Christopher Columbus Park, Leventhal Park (Financial) |
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
@mixin retina($ratio: 1.5) { | |
$dpi: $ratio * 96; | |
$opera-ratio: $ratio * 100; | |
@media only screen and (-webkit-min-device-pixel-ratio: #{$ratio}), | |
only screen and ( -o-min-device-pixel-ratio: '#{$opera-ratio}/100'), | |
only screen and ( min-resolution: #{$dpi}dpi), | |
only screen and ( min-resolution: #{$ratio}dppx) { | |
@content; | |
} |