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
@mixin media-informer { | |
position: fixed; | |
right: 0; | |
top: 0; | |
background: #000; | |
color: #fff; | |
padding: 6px 12px; | |
} | |
@media only screen and (max-width : 480px) { |
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
class ColorPalete | |
constructor: -> | |
@colors = | |
'blue': [ | |
'0D2861' | |
'133783' | |
'3A5897' | |
'6179AC' | |
'96A3C3' | |
'A7B1CD' |
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
$._data(element, "events") |
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 | |
$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 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 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 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 arrow($color, $width) { | |
display: block; | |
position: relative; | |
&:before, | |
&:after { | |
content: ' '; | |
border: solid transparent; | |
height: 0; | |
width: 0; |
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
mogrify -quality 80% -resize 50% *.jpg |
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
import React, { Component } from 'react'; | |
import Select from 'react-select' | |
import SortableItem from './SortableItem'; | |
import SortableContainer from './SortableContainer'; | |
import update from 'react/lib/update'; | |
const items = [ | |
{ value: '1', label: 'One' }, | |
{ value: '2', label: 'Two' }, | |
{ value: '3', label: 'Three' }, |
OlderNewer