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
<!DOCTYPE html> | |
<html> | |
<head> | |
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0/angular.min.js"></script> | |
</head> | |
<body> | |
<div class="container" ng-app='repos'> | |
<div class="row"> | |
<div class="col-md-12" ng-controller="TabController as tab"> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> |
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
{ | |
"recommendations": [ | |
"zignd.html-css-class-completion", | |
"formulahendry.auto-close-tag", | |
"dzannotti.vscode-babel-coloring", | |
"michelemelluso.code-beautifier", | |
"dbaeumer.vscode-eslint", | |
"donjayamanne.githistory", | |
"ecmel.vscode-html-css", | |
"abusaidm.html-snippets", |
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
var path = require('path'); | |
var APP_PORT = 1453; | |
module.exports = { | |
context: __dirname + "/src", | |
entry: { | |
/** | |
READ THE COMMENT | |
index: "./react/views/index.js" |
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
code --install-extension abusaidm.html-snippets | |
code --install-extension christian-kohler.npm-intellisense | |
code --install-extension christian-kohler.path-intellisense | |
code --install-extension dbaeumer.vscode-eslint | |
code --install-extension dsznajder.es7-react-js-snippets | |
code --install-extension dzannotti.vscode-babel-coloring | |
code --install-extension eg2.vscode-npm-script | |
code --install-extension esbenp.prettier-vscode | |
code --install-extension formulahendry.auto-close-tag | |
code --install-extension jpoissonnier.vscode-styled-components |
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
{ | |
"reactFunctionalComponentWithPropTypesESLinted": { | |
"prefix": "rfc", | |
"body": [ | |
"import React from 'react'", | |
"import { Wrapper } from './styled'", | |
"", | |
"const ${1:${TM_FILENAME_BASE}} = () => (", | |
" <Wrapper>", | |
" $0", |
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
//.eslintrc | |
{ | |
"env": { | |
"browser": true, | |
"es6": true, | |
"commonjs": true | |
}, | |
"plugins": ["react"], | |
"extends": [ |
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 React, { useState, useEffect } from 'react' | |
const StripeScriptLoader = ({ | |
children, | |
uniqueId, | |
script, | |
loader = 'Loading...', | |
}) => { | |
const [stripeLoaded, setStripeLoaded] = useState({}) | |
useEffect(() => { |
OlderNewer