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
<body> | |
<div> | |
<a href="#">test</a> | |
</div> | |
</body> |
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
<body> | |
<div> | |
<a href="#">test</a> | |
</div> | |
</body> |
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
// ---- | |
// Sass (v3.3.0.rc.2) | |
// Compass (v1.0.0.alpha.17) | |
// ---- | |
@import "compass"; | |
$primary-color:red; | |
body{ |
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
// ---- | |
// Sass (v3.3.0.rc.2) | |
// Compass (v1.0.0.alpha.17) | |
// ---- | |
@mixin box($color,$width:30px, $height:30px){ | |
width:$width; | |
height:$height; | |
background-color:$color; | |
} |
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
// ---- | |
// Sass (v3.3.0.rc.2) | |
// Compass (v1.0.0.alpha.17) | |
// ---- | |
@import "compass"; | |
$primary-color:red; | |
body{ |
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 ($) { | |
$('.print-me').on('click', function () { | |
var $areaToPrint = $($(this).data('print-me')); | |
var $hiddenAreas = $('.hide-print'); | |
if ($areaToPrint.length) { | |
$hiddenAreas.hide(); | |
$areaToPrint.show(); | |
window.print(); | |
$hiddenAreas.show(); |
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
/******************************************************************************* | |
INTEL CORPORATION PROPRIETARY INFORMATION | |
This software is supplied under the terms of a license agreement or nondisclosure | |
agreement with Intel Corporation and may not be copied or disclosed except in | |
accordance with the terms of that agreement | |
@licence Copyright(c) 2014-2015 Intel Corporation. All Rights Reserved. | |
*******************************************************************************/ | |
var intel = intel || {}; |
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 { NICE, SUPER_NICE } from './colors'; | |
class Counter extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { counter: 0 }; | |
this.interval = setInterval(() => this.tick(), 1000); | |
} |
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
// Before transpile | |
couchDesignDoc('User', { | |
email: { | |
map: (doc) => { | |
if(doc.type === 'User') { | |
emit(doc.email, doc); | |
} | |
} | |
} |
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['exports'] = function titoTwitterList (hook) { | |
var body = hook.req.body; | |
var twitterAnswer = body.answers.filter(function (a) { | |
return a.question.title === 'Twitter'; | |
})[0]; | |
if (twitterAnswer && twitterAnswer.response) { | |
OlderNewer