- A good writer is a good thinker
- Getting personal the why and how of designing for people
- Give them what they need not what they want
- Responsive images
- Rethinking publishing
- Beyond the browser with hybrid apps
- Is Blink the new IE6?
- Mystery speaker: Christian Heilmann
- Enhancing responsiveness with flexbox
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
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php | |
*/ | |
$args = array( |
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
<?php | |
/** | |
* This code is intended to be added to your wp-config.php file just below the top comment block. | |
* It should replace the existing define('DB_*') statements. You can add or remove sections | |
* depending on the number of environments you intend to setup. You should change all values of | |
* DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST for each environment, making them all distinct | |
* for security purposes. | |
*/ | |
// determine the current environment |
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
// expand {{PATTERNS}} | |
// You can do this serverside. I just did it this way for demonstration purposes. | |
(function () { | |
"use strict"; | |
var shares = document.querySelectorAll("ul.share > li > a"); | |
var keywords = document.querySelector('meta[name=keywords]').getAttribute("content"); | |
var description = document.querySelector('meta[name=description]').getAttribute("content"); | |
var params = { | |
URL: encodeURIComponent(document.querySelector('link[rel=canonical]').getAttribute("href")), |
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
<?php | |
class Clean_Walker_Nav extends Walker_Nav_Menu { | |
/** | |
* Filter used to remove built in WordPress-generated classes | |
* @param mixed $var The array item to verify | |
* @return boolean Whether or not the item matches the filter | |
*/ | |
function filter_builtin_classes( $var ) { | |
return ( FALSE === strpos( $var, 'item' ) ) ? $var : ''; | |
} |
Only files under 25 MB can be previewed with the Google Drive viewer.
Google Drive viewer helps you preview over 16 different file types, listed below:
- Image files (.JPEG, .PNG, .GIF, .TIFF, .BMP)
- Video files (WebM, .MPEG4, .3GPP, .MOV, .AVI, .MPEGPS, .WMV, .FLV)
- Text files (.TXT)
- Markup/Code (.CSS, .HTML, .PHP, .C, .CPP, .H, .HPP, .JS)
- Microsoft Word (.DOC and .DOCX)
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
// Declare "custom_photoset" function | |
function custom_photoset($attr) { | |
$args = shortcode_atts( | |
array( | |
'ids' => '', | |
'layout' => '' | |
), | |
$attr, | |
'photoset' | |
); |
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
/* Align a table right inside a div element */ | |
/* Adjust accordingly for centering the table */ | |
div.contains_table { | |
text-align: right; | |
} | |
div.contains_table table { | |
margin-right: 0; | |
margin-left: auto; | |
} |