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
Resources: | |
VPC: | |
Type: AWS::EC2::VPC | |
Properties: | |
CidrBlock: 10.1.0.0/16 | |
EnableDnsSupport: true | |
EnableDnsHostnames: true | |
Tags: | |
- Key: Name | |
Value: !Sub ${AWS::StackName}-web-pub |
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
SELECT (SELECT pl.id, pl."postId" FROM "PostLikes" as pl where "Posts".id = pl."postId" ) as postCount, "Posts"."id" as "postId" FROM "Posts" | |
INNER JOIN "Users" as "user" ON "Posts"."userId" = "user"."id" | |
WHERE "Posts"."userId" = '40f7198d-6851-4e19-94fb-df0094b84bb6' |
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": "@typescript-eslint/parser", | |
"extends": [ | |
"eslint:recommended", | |
"plugin:@typescript-eslint/recommended", | |
"plugin:react/recommended", | |
"prettier", | |
"prettier/react", | |
"prettier/@typescript-eslint" | |
], |
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
{ | |
"workbench.colorTheme": "Night Owl", | |
"git.enableSmartCommit": true, | |
"javascript.format.insertSpaceBeforeFunctionParenthesis": false, | |
"emmet.syntaxProfiles": { | |
"javascript": "jsx" | |
}, | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.fontFamily": "Monaco", | |
"editor.fontSize": 14, |
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": false, | |
"es6": true, | |
"node": true | |
}, | |
"extends": [ | |
"eslint:recommended", | |
"plugin:react/recommended", |
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, { PureComponent } from 'react'; | |
import { View, Text } from 'react-native'; | |
import { graphql, compose } from 'react-apollo'; | |
import ErrorComponent from './components/ErrorComponent'; | |
import LoadingComponent from './components/Loader'; | |
import GET_LINEITEMS from './query/LineItem/GET_LINEITEMS'; | |
import GET_DELIVERABLE_LIST from './query/Deliverables/GET_DELIVERABLE_LIST'; | |
import GET_PROJECTROLE from './query/ProjectRoles/GET_PROJECTROLE'; |
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 { graphql, compose } from 'react-apollo'; | |
// Common Loading Component | |
import LoadingComponent from './../components/Loader'; | |
// Common Error Component | |
import ErrorComponent from './../components/ErrorComponent'; | |
const withCommonQueries = ({ queries }) => SuccessComponent => { | |
const CommonQueryComponent = props => { | |
try { |
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, { PureComponent } from 'react'; | |
import { View, Text } from 'react-native'; | |
// No Need to Import Loading and error component every where | |
import withCommonQuery from './hoc/withCommonQueries'; | |
import GET_LINEITEMS from './query/LineItem/GET_LINEITEMS'; | |
import GET_DELIVERABLE_LIST from './query/Deliverables/GET_DELIVERABLE_LIST'; | |
import GET_PROJECTROLE from './query/ProjectRoles/GET_PROJECTROLE'; | |
class Dummy extends PureComponent { |
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
[ | |
{ | |
"title": "100", | |
"symbol": "💯", | |
"keywords": | |
"hundred points symbol symbol wow wow win win perfect perfect parties parties" | |
}, | |
{ | |
"title": "1234", | |
"symbol": "🔢", |
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
{ | |
"git.enableSmartCommit": true, | |
"emmet.syntaxProfiles": { | |
"javascript": "jsx" | |
}, | |
"editor.fontFamily": "Avenir Light, Monaco, 'Courier New', monospace", | |
"editor.fontSize": 13, | |
"eslint.enable": true, | |
"eslint.autoFixOnSave": true, |
NewerOlder