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
<script src="http://static.jsbin.com/js/vendor/traceur.js"></script> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<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
version: 2.1 | |
commands: | |
install: | |
description: 'Install packages' | |
steps: | |
- checkout | |
- run: | |
name: 'Update NPM' | |
command: 'sudo npm install -g npm@latest' |
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
# path: ~/.ssh/config | |
# Work account, - the default config | |
Host github.com | |
HostName github.com | |
User git | |
IdentityFile ~/.ssh/id_rsa | |
# Personal account | |
Host github.com-personal | |
HostName github.com |
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 from "react"; | |
import { render } from "@testing-library/react"; | |
beforeEach(() => { | |
jest.resetModules(); | |
}); | |
const getComponentWithConsumer = (context = {}) => { | |
jest.doMock("../../Context", () => { | |
return { Consumer: props => props.children(context) }; |
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 { Provider } from './store'; | |
import reducer from './reducer'; | |
const initialState = { firstName: 'Jon', lastName: 'Snow', email: '[email protected]' } | |
const App = () => (<Dashboard> | |
<Provider reducer={reducer} initialState={initialState} > | |
<Header> | |
<UserProfile /> | |
</Header> |
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
SA_PASSWORD=YourStrong!Passw0rd |