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
/* | |
** Indented using the TM command 'Indent Selection' (opt + cmd + [) | |
*/ | |
import BodyClassName from 'react-body-classname'; | |
import DocumentTitle from 'react-document-title'; | |
import generateDocumentTitle from 'components/lib/pageDisplay'; | |
import React from 'react'; | |
function MyComponent() { | |
const componentClass = 'my-component'; |
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
{ | |
"parser": "babel-eslint", | |
"extends": "airbnb", | |
"plugins": [ | |
"babel", | |
"import", | |
"react" | |
], | |
"rules": { | |
"indent": ["error", 4], |
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
require 'formula' | |
class Macvim < Formula | |
homepage 'http://code.google.com/p/macvim/' | |
url 'https://github.com/b4winckler/macvim/tarball/snapshot-66' | |
version '7.3-66' | |
sha1 'd11696f7089688fa96a45fc57410c60f6ca5a394' | |
head 'https://github.com/b4winckler/macvim.git', :branch => 'master' |
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 uniqueLoadIndicator = null; | |
// Loads fixure markup into the DOM as a child of the jasmine_content div | |
spec.loadFixture = function(fixtureName) { | |
var $destination = $('#jasmine_content'); | |
uniqueLoadIndicator = null; | |
var indicatorScript = "<script>uniqueLoadIndicator = 'loaded';</s" + "cript>"; | |
// get the markup, inject it into the dom | |
$destination.html(spec.fixtureHtml(fixtureName) + indicatorScript); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style type="text/css" media="screen"> | |
h1 | |
{ | |
color: midnightBlue; | |
} | |
p.important |
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
module Jekyll | |
module PostMore | |
def postmorefilter(input, url, text) | |
m = /(?<morestring><!--\s*more\s*-->)/.match(input) | |
if m | |
input.split(m[:morestring]).first + "<p class=\"more\"><a href=\"#{url}\">#{text}</a></p>" | |
else | |
input | |
end | |
end |
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
authors: | |
hanzou: | |
name: Hanzou Hattori | |
display_name: Hanzou | |
gravatar: c66919cb194f96c696c1da0c47354a6a | |
email: [email protected] | |
web: http://company.com | |
twitter: company | |
github: hhattori | |
jorgen: |
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
require "rubygems" | |
require "rake" | |
require "fileutils" | |
SOURCE = "." | |
CONFIG = { | |
'themes' => File.join(SOURCE, "_includes", "themes"), | |
'layouts' => File.join(SOURCE, "_layouts"), | |
'posts' => File.join(SOURCE, "_posts"), | |
'post_ext' => "md" |
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
<!-- Favicons and touch icons --> | |
<!-- For retina-display iPads --> | |
<link href="/assets/images/apple-touch-icon-xlarge.png" rel="apple-touch-icon-precomposed" sizes="144x144" type="image/png"/> | |
<!-- For retina-display iPhones --> | |
<link href="/assets/images/apple-touch-icon-large.png" rel="apple-touch-icon-precomposed" sizes="114x114" type="image/png"/> | |
<!-- For iPad 1 --> | |
<link href="/assets/images/apple-touch-icon-medium.png" rel="apple-touch-icon-precomposed" sizes="72x72" type="image/png"/> | |
<!-- For iPhone 3G, iPod Touch and Android --> | |
<link href="/assets/images/apple-touch-icon-small.png" rel="apple-touch-icon-precomposed" type="image/png"/> | |
<!-- For Nokia --> |
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 id="page"> | |
<header> | |
<a class="home" href="/"><div class="logo"> </div></a> | |
<nav> | |
<a class="gallery" href="gallery.html">Gallery</a> | |
<a class="pricing" href="pricing.html">Pricing</a> | |
<a class="contact" href="mailto:[email protected]">Contact</a> | |
</nav> | |
</header> | |
</div> <!-- /#page --> |
NewerOlder