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
{ | |
"eons": [ | |
{ | |
"name": "hadean", | |
"start": 4600, | |
"end": 4000 | |
}, | |
{ | |
"name": "archean", | |
"start": 3999.99, |
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
<button id="click-1"> | |
Test | |
</button> | |
<div class="drawer hide"> | |
<button class="btn" id="red">Red</button> | |
<button class="btn" id="green">Green</button> | |
</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
import React, { Component } from 'react'; | |
import ToggleBox from '../components/ToggleBox'; | |
class App extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
total : 60, | |
count: 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
[ | |
{ | |
"Name":"AT&T Stadum", | |
"City":"Arlington", | |
"State":"Texas", | |
"Surface":"Synthetic", | |
"Roof":"Retractable", | |
"Geo":{ | |
"Lat":"32.747778", | |
"Long":"-97.092778" |
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
<Form onSubmit={this.handleFormSubmit} name='conference-form' /> |
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 AutoComplete extends React.Component { | |
_getChoices() { | |
let ret = []; | |
for (var i = 0; i < this.props.suggestions.length; i++) { | |
ret.push(<AutoCompleteChoice onClick={this.pick}>) | |
} | |
return ret; | |
} | |
render() { | |
let listItem = this._getChoices(); |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
[ | |
{ | |
"name": "Colorless Blender", | |
"code": "0", | |
"bg": "#ffffff", | |
"types": [ | |
"sketch", | |
"classic", | |
"ciao", | |
"wide" |
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 class="panel"> | |
<h1>ScreenBlazer</h1> | |
<div class="img-circle"></div> | |
<div class="footer"> | |
<div class="logo">rev<sup>4</sup></sup></sup></div> | |
<div class="copy"><a href="">Terms of Service</a> | <a href="#">Privacy Policy</a></div> | |
</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
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.1) | |
// ---- | |
var array = ['primary', 'secondary', 'tertiary', 'quartenary', 'quinary', 'senary']; | |
var colors = ['red', 'orange', 'yellow', 'blue', 'green', 'purple'] | |
for (var i = 0; i < array.length; i++) { | |
var selectorName = ".btn-" + array[i]; |
NewerOlder