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
Show hidden characters
{ | |
// Styles, themes, and typography | |
"bold_folder_labels": true, | |
"detect_indentation": false, | |
"ensure_newline_at_eof_on_save": true, | |
"font_face": "Source Code Pro ExtraLight", | |
"font_size": 13.0, | |
"highlight_modified_tabs": true, | |
// File management |
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
function _hash(url_string) { | |
var a = document.createElement('A'); | |
a.href = url_string; | |
return a.hash.split('?')[0].split('&')[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
#disqus_thread | |
noscript Please enable JavaScript to view the | |
a(href='http://disqus.com/?ref_noscript') comments powered by Disqus | |
a(href="http://disqus.com", class="dsq-brlink") comments powered by | |
span(class="logo-disqus") Disqus | |
script | |
var disqus_shortname = 'shortname_here'; | |
(function() { | |
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | |
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; |
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
<article class="article"> | |
<?php $attachment_info = getimagesize($post->guid); ;?> | |
<div class="content"> | |
<img src="<?php echo $post->guid; ?>" alt="<?php the_title(); ?>" title="<?php the_title(); ?>" <?php echo $attachment_info[3]; ?> /> | |
</div> | |
<a href="<?php echo get_permalink($post->post_parent); ?>" title="<?php echo get_the_title($post->post_parent); ?>">Back to <?php echo get_the_title($post->post_parent); ?></a> | |
</article> |
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
window.fbAsyncInit = function() { | |
FB.init({ | |
appId: '415273505232476', | |
status: true, | |
cookie: true, | |
xfbml: true | |
}); | |
FB.Canvas.setAutoGrow(); | |
}; | |
// Load the SDK Asynchronously |
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
<div class="macbook"> | |
<div class="inner"> | |
<div class="screen"> | |
<div class="face-one"> | |
<div class="camera"></div> | |
<div class="display"> | |
<div class="shade"></div> | |
</div> | |
<span>MacBook Air</span> | |
</div> |
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
<div class="macbook"> | |
<div class="inner"> | |
<div class="screen"> | |
<div class="face-one"> | |
<div class="camera"></div> | |
<div class="display"> | |
<div class="shade"></div> | |
</div> | |
<span>MacBook Air</span> | |
</div> |
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
def commacommaand(items): | |
return ', '.join(items)[::-1].replace(',', '& ', 1)[::-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
/** | |
* Indirect returns elements found by the called selector within the | |
* provided attribute. | |
* | |
* > <a href="#" class="show-menu" data-show-navigation=".main-navigation"> | |
* > $('.show-menu').indirect('[data-show-navigation]') | |
* | |
* This will return the equivalent of calling $('.main-navigation') which | |
* allows you to indirectly find a list of elements from a set of | |
* existing "pointer" elements. |
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
<!-- | |
HTML markup for gallery and each element. | |
The important elements are the wrapping element ".image-grid" the | |
actual zoomable div ".image" and the clickable zoom button | |
".image-zoom" which is passed to the jQuery funciton. | |
--> | |
<div id="image" class="image-grid"> | |
<article class="image funeralplan-option" id="funeral-option--casket-aries-bronze" | |
data-group="casket,protective_metal"> |
OlderNewer