This file contains hidden or 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
function make_blue_image($data){ | |
if(!empty($data)) { | |
$upload_dir = wp_upload_dir(); | |
if(!empty($data['sizes']) && array_key_exists('blue', $data['sizes'])) { | |
$filepath = $upload_dir['basedir'] . DIRECTORY_SEPARATOR . dirname($data['file']) . DIRECTORY_SEPARATOR . $data['sizes']['blue']['file']; | |
} | |
This file contains hidden or 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
for file in *.html; do phantomjs ~/path/toconfess.js http://localhost:8888/$file appcache ~/path/to/config.json >> manifest.cache;done |
This file contains hidden or 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
//Needed for any set of columns | |
@include grid_prereqs(); | |
.example{ | |
//Include the number of columns to span and the total number of columns | |
@include span_columns(2, 6); | |
} |
This file contains hidden or 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 grid_prereqs(){ | |
.row { | |
*zoom: 1; | |
} | |
.row:before, | |
.row:after { | |
display: table; | |
content: ""; | |
line-height: 0; |
This file contains hidden or 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
//Needed for any set of columns | |
@include grid_prereqs(); | |
//Includes span* and offset classes for a 12 column grid | |
@include grid_columns(12); | |
//In your HTML, simply add class <div class="span12_4"></div> will span 4 columns of a 12 column grid | |
This file contains hidden or 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 grid_prereqs(){ | |
.row { | |
*zoom: 1; | |
} | |
.row:before, .row:after { | |
display: table; | |
content: ""; | |
line-height: 0; | |
} |