Skip to content

Instantly share code, notes, and snippets.

View Parsing Tables
import React from 'react';
import PropTypes from 'prop-types';
import { black90, gray15, gray50, gray30 } from 'components/styles/colors';
import styled from 'styled-components';
import media from 'components/styles/media';
import { margin, fontWeight } from 'components/styles/scales';
import RankingsTable from 'containers/molecules/RankingsTable';
import cheerio from 'cheerio';
const TableContainer = styled.div`
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script src="https://unpkg.com/expect@%3C21/umd/expect.min.js"></script>
<script src="https://unpkg.com/redux@3.7.2/dist/redux.js"></script>
<script src="https://fb.me/react-15.1.0.js"></script>
<script src="https://fb.me/react-dom-15.1.0.js"></script>
@rotexhawk
rotexhawk / class_to_oloo.js
Created Sep 1, 2016
Confused about OLOO implementation.
View class_to_oloo.js
function Shape(x,y){
this.x = x;
this.y = y;
}
Shape.prototype.move = function(x,y){
this.x += x;
this.y += y;
}
View .gitignore
# -----------------------------------------------------------------
# .gitignore for WordPress @salcode
# ver 20150227
#
# From the root of your project run
# curl -O https://gist.githubusercontent.com/salcode/b515f520d3f8207ecd04/raw/.gitignore
# to download this file
#
# By default all files are ignored. You'll need to whitelist
# any mu-plugins, plugins, or themes you want to include in the repo.
You can’t perform that action at this time.