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
# manage document title | |
Title = | |
regex: /\(\d*\) \| / | |
# set number of new items in document title | |
set: (number) -> | |
# update value | |
if document.title.match(@regex)? | |
document.title = document.title.replace(@regex, '(' + number + ') | ') |
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 | |
$rss = fetch_feed( 'http://www.ondango-labs.com/feed/' ); | |
if (!is_wp_error( $rss ) ) : | |
$maxitems = $rss->get_item_quantity(5); | |
$rss_items = $rss->get_items(0, $maxitems); | |
?> | |
<div class="three-from-four" id="latest-posts-box"> |
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 | |
$args = array( 'numberposts' => 2, 'post_status'=>"publish",'post_type'=>"post",'orderby'=>"post_date"); | |
$recentposts = get_posts( $args ); | |
if( empty( $recentposts )): | |
?> | |
<div class="three-from-four" id="latest-posts-box"> | |
<?php |
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
$._data(element, "events") |
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
class ColorPalete | |
constructor: -> | |
@colors = | |
'blue': [ | |
'0D2861' | |
'133783' | |
'3A5897' | |
'6179AC' | |
'96A3C3' | |
'A7B1CD' |
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 media-informer { | |
position: fixed; | |
right: 0; | |
top: 0; | |
background: #000; | |
color: #fff; | |
padding: 6px 12px; | |
} | |
@media only screen and (max-width : 480px) { |
NewerOlder