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
| *.swp | |
| *.swo | |
| .DS_Store | |
| node_modules/ | |
| .meteor/local/ | |
| .coverage/ | |
| production/ | |
| development/ |
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
| language: node_js | |
| node_js: | |
| - 9 | |
| cache: | |
| directories: | |
| - $HOME/app/node_modules | |
| - $HOME/app/.meteor/ | |
| before_install: |
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
| const typeDef = ` | |
| type FeatureCollection { | |
| type: String! | |
| Features: [Feature]! | |
| } | |
| type Feature { | |
| type: String! | |
| geometry: Geometry! | |
| properties: Properties |
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
| if (Meteor.isDevelopment) { | |
| checkProps = (propTypes, props) => { | |
| let matchPropTypes = Object.keys(propTypes).every((a, index) => a === Object.keys(props)[index]) | |
| if (!matchPropTypes) { | |
| console.info(`[!] propTypes do not match props`, `[propTypes]`, Object.keys(propTypes), `[props]`, Object.keys(props)) | |
| } | |
| }; | |
| } else { | |
| checkProps = (propTypes, props) => {}; |
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 gql from 'graphql-tag'; | |
| import { Query } from 'react-apollo'; | |
| const query = gql` | |
| query SomeQuery { | |
| foo { | |
| bar | |
| baz | |
| } | |
| } |
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, { Component } from 'react'; | |
| import EsriLoader from 'esri-loader-react'; | |
| import { Map } from 'react-arcgis'; | |
| class EsriMapComponent extends Component { | |
| constructor(props) { | |
| super(props); | |
| this.state = { | |
| loaded: false |
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
| const mgConfig = { | |
| mgHost: 'localhost', | |
| mgPort: 27017, | |
| mgDb: '' | |
| }; | |
| const mgLocalConfig = `mongodb://${mgConfig.mgHost}:${mgConfig.mgPort}/${mgConfig.mgDb}`; | |
| export default mgLocalConfig; |
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
| const msLocalConfig = { | |
| msHost: '', | |
| msDb: '', | |
| msUser: '', | |
| msPassword: '', | |
| msPort: 1433, | |
| msTimeoutMilli: 20000, | |
| msMaxPoolClients: 10, | |
| msPoolTimeoutMilli: 30000 | |
| }; |
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
| const pgLocalConfig = { | |
| pgUser: '', | |
| pgDatabase: '', | |
| pgPassword: '', | |
| pgHost: 'localhost', | |
| pgPort: 5432, | |
| pgMaxPoolClients: 10, | |
| pgTimeoutMilli: 5000 | |
| }; |
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
| # bash/zsh git prompt support | |
| # | |
| # Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]> | |
| # Distributed under the GNU General Public License, version 2.0. | |
| # | |
| # This script allows you to see repository status in your prompt. | |
| # | |
| # To enable: | |
| # | |
| # 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh). |