- Event Name:
- Location:
- Date:
- Conference format: (number of days, tracks, and speakers)
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
Seven different types of CSS attribute selectors | |
// This attribute exists on the element | |
[value] | |
// This attribute has a specific value of cool | |
[value='cool'] | |
// This attribute value contains the word cool somewhere in it | |
[value*='cool'] |
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() { | |
var topoffset = 70; //variable for menu height | |
//Use smooth scrolling when clicking on navigation | |
$('.navbar-nav a').click(function() { | |
if (location.pathname.replace(/^\//,'') === | |
this.pathname.replace(/^\//,'') && | |
location.hostname === this.hostname) { | |
var target = $(this.hash); | |
target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); |
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
// Support routines for automatically reporting user timing for common analytics platforms | |
// Currently supports Google Analytics, Boomerang and SOASTA mPulse | |
// In the case of boomerang, you will need to map the event names you want reported | |
// to timer names (for mPulse these need to be custom0, custom1, etc) using a global variable: | |
// rumMapping = {'aft': 'custom0'}; | |
(function() { | |
var wtt = function(n, t, b) { | |
t = Math.round(t); | |
if (t >= 0 && t < 3600000) { | |
// Google Analytics |
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 | |
/* Added to functions.php in the theme */ | |
function ts_change_groups_slug(){ | |
global $bp; | |
$bp->groups->root_slug = 'teams'; | |
return $bp->groups->root_slug; | |
} | |
add_filter( 'bp_get_groups_slug', 'ts_change_groups_slug' ); | |
add_filter( 'bp_get_groups_root_slug', 'ts_change_groups_slug' ); |
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 | |
function pg_config_achievement_post_type( $settings ) { | |
$settings['menu_icon'] = ''; // url here | |
return $settings; | |
} | |
add_filter( 'dpa_register_post_type_achievement', 'pg_config_achievement_post_type' ); |
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
Object Caching: APC / Memcached | |
Page Caching: Batcache | |
APC: http://wordpress.org/extend/plugins/apc/ | |
Memcached: http://wordpress.org/extend/plugins/memcached/ | |
Batcache: http://wordpress.org/extend/plugins/batcache/ | |
Remember, these require server-side components or libraries; ask your host for advice before installing these plugins if you're not sure. |
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 | |
/************* beginning of the code to paste in the functions.php of the active theme *************/ | |
/* | |
the function to to display only the users that actually uploaded an avatar | |
see http://buddypress.org/support/topic/display-only-members-who-have-uploaded-avatar/ | |
*/ | |
function evo_list_uploaded_avatars(){ |
On MacOS X Mountain Lion, VoiceOver 6 reads "Breadcrumbs with 3 items, navigation. Link, Home. Link, Library. Visited link, Data."
On Windows XP, Windows Eyes 7.5.4.1 reads "Two links. Link, Home. Link, Library. Visited Link, Data."
On Windows XP, NVDA 2012.3 reads "Navigation landmark. Link, Home. Link, Library. Visited Link, Data."