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
export class FaxDocumentViewerApp extends Component { | |
defaultProps = { | |
documentTitle: (doc) => `${doc.fax_type} — ${moment(doc.created_at).format('MMM D YYYY [@] h:mm a')}` | |
} | |
render = () => { | |
<OriginalComponent {...this.props} /> | |
} | |
} |
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
import Flux from 'path/to/flux.js' | |
window.MyApp.flux = new Flux() |
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
cleanUpNotifications: function() { | |
var now = Date.now() | |
var _this = this; | |
this.state.notifications.map(function(notification,i) { | |
if (now - notification.added > _this.props.cleanUpInterval) { | |
_this.handleRemove(i) | |
} | |
}) | |
}, |
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
// Old media query mixins looked like this: | |
=old-media-query | |
@media screen and (min-width: $value) | |
@content | |
// How could I optically find where they were being used? Replace it with this: | |
=old-media-query | |
@content |
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
/good_girl_gone_blog/ -> / 301 | |
/good_girl_gone_blog/outfits -> /posts/?category=Fashion 301 | |
/good_girl_gone_blog/fashion -> /posts/?category=Fashion 301 | |
/good_girl_gone_blog/home -> /posts/?category=Home 301 | |
/good_girl_gone_blog/functional_decor -> /posts/?category=Home 301 | |
/good_girl_gone_blog/diy -> /posts/?category=DIY 301 | |
/good_girl_gone_blog/food -> /posts/?category=Food 301 | |
/good_girl_gone_blog/boston -> /posts/?category=Boston 301 | |
/good_girl_gone_blog/beauty -> /posts/?category=Beauty 301 | |
/good_girl_gone_blog/about-me-1.html -> /about 301 |
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
#!/usr/bin/env python | |
""" | |
Extract all image link from a Typepad HTML Export file | |
For use with wget | |
===================================================== | |
Author: Martin Sauter (http://www.wirelessmoves.com) | |
May 2013 | |
Usage: |
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 import_global($partial) | |
@return "@import ../global/#{$partial}" | |
import_global('variables') |
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
$duration: .75s; | |
$timing: linear; | |
$iteration: infinite; | |
@import "compass/css3/images"; | |
@import "compass/css3/animation"; | |
@import "compass/css3/transform"; | |
$bottom-shadow-default-rotate: rotateX(82deg); | |
$bottom-shadow-default-scale: scale(2.5,2.5); |
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
<div class="header island"> | |
</div> | |
<div class="content island"> | |
</div> | |
<div class="footer island"> | |
</div> |