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
{ | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Theme - Spacegray/base16-ocean.dark.tmTheme", | |
"ensure_newline_at_eof_on_save": true, | |
"file_exclude_patterns": | |
[ | |
"*.DS_Store", | |
"*.git", | |
"*.sass-cache" | |
], |
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
/* | |
* RGBa-Mixin with fallback (http://css-tricks.com/rgba-browser-support/) | |
*/ | |
@mixin transparent-backgound($color: #000, $value:0.5) | |
$start: "rgb("; | |
$end: ")"; | |
background: #{$start}red($color), green($color), blue($color)#{$end}; | |
background: rgba($color, $value); |
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
Alerts | |
====== | |
[stag_alert style="white"]Your Alert![/stag_alert] | |
Styles: white, grey, red, yellow, green, blue | |
Buttons | |
======= |
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
Alerts | |
====== | |
[stag_alert style="white"]Your Alert![/stag_alert] | |
Styles: white, grey, red, yellow, green, blue | |
Buttons | |
======= |
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
// Clearfix | |
%clearfix { | |
zoom: 1; | |
&:before, | |
&:after { | |
display: table; | |
content: ""; | |
} | |
&:after { | |
clear: both; |
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
# git clone [email protected]:WordPress/WordPress.git . | |
# TODO: Add support for props that list multiple people | |
git log -i --grep props | egrep -io 'props (to )?[a-z0-9_\-]*' | sed 's/.* //' | sort | uniq -c | sort -k1nr > shortlog.txt |
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
var all_filters = $('#all-skills').data('all-filters'), | |
all_skills = $('#all-skills').data('all-skills'); | |
all_filters.filter(function(i,v){ | |
if( all_skills.indexOf(i) === -1 ) { | |
var diff = all_filters[v]; | |
$('.portfolio-filter').find("[data-filter='"+ diff +"']").addClass('invalid'); | |
} | |
}); |
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
body { | |
-webkit-animation-duration: 0.1s; | |
-webkit-animation-name: fontfix; | |
-webkit-animation-iteration-count: 1; | |
-webkit-animation-timing-function: linear; | |
-webkit-animation-delay: 0.1s; | |
} | |
@-webkit-keyframes fontfix { | |
from { opacity: 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
<?php | |
function crux_search_filter( $query ) { | |
if ( $query->is_search ) { | |
$query->set( 'post_type', 'product' ); | |
$query->is_archive = true; | |
$query->is_post_type_archive = true; | |
} | |
return $query; |
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 | |
// Filters that allow shortcodes in Text widgets | |
add_filter( 'widget_text', 'shortcode_unautop' ); | |
add_filter( 'widget_text', 'do_shortcode' ); |