Semantic grid system: http://semantic.gs/
They'd love to see an analytics script to track how often people are resizing the browser
- add resize listener to the window, send GA event
- git://gist.github.com/3076998.git
Semantic grid system: http://semantic.gs/
They'd love to see an analytics script to track how often people are resizing the browser
| // set-up a connection between the client and the server | |
| var socket = io.connect(); | |
| // let's assume that the client page, once rendered, knows what room it wants to join | |
| var room = "abc123"; | |
| socket.on('connect', function() { | |
| // Connected, let's sign-up for to receive messages for this room | |
| socket.emit('room', room); | |
| }); | 
| .hide-text { | |
| height: ; | |
| width: ; | |
| display: block; | |
| text-indent: 100%; | |
| white-space: nowrap; | |
| overflow: hidden; | |
| } | 
| // Creating a grammatical pattern for real numbers using XRegExp.build | |
| /* | |
| * Approach 1: Make all of the subpatterns reusable | |
| */ | |
| var lib = { | |
| digit: /[0-9]/, | |
| exponentIndicator: /[Ee]/, | |
| digitSeparator: /[_,]/, | 
| <?php | |
| remove_action( 'wp_head', 'feed_links_extra', 3 ); | |
| remove_action( 'wp_head', 'feed_links', 2 ); | |
| remove_action( 'wp_head', 'rsd_link' ); | |
| remove_action( 'wp_head', 'wlwmanifest_link' ); | |
| remove_action( 'wp_head', 'index_rel_link' ); | |
| remove_action( 'wp_head', 'parent_post_rel_link', 10, 0 ); | |
| remove_action( 'wp_head', 'start_post_rel_link', 10, 0 ); | |
| remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0 ); | |
| remove_action( 'wp_head', 'wp_generator' ); | 
| // This gist is now maintained on github at https://github.com/luetkemj/wp-query-ref | |
| <?php | |
| /** | |
| * WordPress Query Comprehensive Reference | |
| * Compiled by luetkemj - luetkemj.github.io | |
| * | |
| * CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
| * Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php | |
| */ | 
| <?php | |
| add_filter( 'be_gallery_metabox_args', 'be_gallery_custom_args' ); | |
| /** | |
| * Only show images marked as Include in Rotator | |
| * @author Bill Erickson | |
| * @link http://www.wordpress.org/extend/plugins/gallery-metabox | |
| * @since 1.0 | |
| * | |
| * @param array query $args | 
| <?php | |
| /** | |
| * Duplicate this file as many times as you would like, just be sure to change the | |
| * Empty_Widget class name to a custom name of your choice. Have fun! redrokk.com | |
| * | |
| * Plugin Name: Empty Widget | |
| * Description: Single Widget Class handles all of the widget responsibility, all that you need to do is create the html. Just use Find/Replace on the Contact_RedRokk_Widget keyword to rebrand this class for your needs. | |
| * Author: RedRokk Interactive Media | |
| * Version: 1.0.0 | |
| * Author URI: http://www.redrokk.com |