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
# Get lines of a file where a term is not found | |
# TERMS_FILE_NAME - The terms to search | |
# TARGET_FILE_NAME - File to exract the lines without a term matching | |
# | |
# `-v`: Inverse search, display lines that do not match the pattern. | |
# `-o`: Display only the matched patterns. | |
# `-w`: Match whole words only. | |
# `-n`: Display the line number of each match. | |
# `-f`: Read patterns from a file. |
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, Fragment } from 'react' | |
import PropTypes from 'prop-types' | |
const FormContext = React.createContext() | |
const Step1 = () => { | |
return ( | |
<div> | |
General Step: | |
<FormContext.Consumer> |
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
Show hidden characters
{ | |
// This file is required for VSCode to understand webpack aliases | |
"compilerOptions": { | |
// This must be specified if "paths" is set | |
"baseUrl": ".", | |
"paths": { | |
"*": [ | |
"*", | |
"globalComponents", | |
"styles", |
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
{ | |
// This file is required for VSCode to understand webpack aliases | |
"compilerOptions": { | |
// This must be specified if "paths" is set | |
"baseUrl": ".", | |
"paths": { | |
"*": [ | |
"*", | |
"globalComponents", | |
"styles", |
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
{ | |
"arrowParens": "avoid", | |
"bracketSpacing": true, | |
"eslintIntegration": false, | |
"jsxBracketSameLine": false, | |
"printWidth": 80, | |
"requireConfig": false, | |
"stylelintIntegration": false, | |
"useTabs": false, | |
"tabWidth": 2, |
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
{ | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"es6": true, | |
"node": true | |
}, | |
"extends": ["eslint:recommended", "plugin:react/recommended", "prettier"], | |
"parserOptions": { | |
"ecmaFeatures": { |
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: '3.3' | |
services: | |
db: | |
image: postgres:9.4 | |
restart: always | |
ports: | |
- 5432:5432 | |
volumes: | |
- ./db-data:/var/lib/postgresql/data |
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
FROM php:7.0-apache | |
RUN echo "deb http://ftp.de.debian.org/debian stretch main" >> /etc/apt/sources.list | |
RUN apt-get update \ | |
&& apt-get install -y \ | |
curl \ | |
libpq-dev \ | |
&& docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \ | |
&& docker-php-ext-install pdo pdo_pgsql pgsql | |
ENV COMPOSER_ALLOW_SUPERUSER 1 |