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
| source 'https://rubygems.org' | |
| gem "graphql", github: "rmosolgo/graphql-ruby", branch: "subscriptions" | |
| gem "sinatra" | |
| gem "thin" |
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
| ######################## | |
| ## Variables | |
| ######################## | |
| variable "environment_name" { | |
| description = "The name of the environment" | |
| } | |
| variable "vpc_id" { |
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
| Gem::Version.new('0.3.2') < Gem::Version.new('0.10.1') | |
| => true | |
| Gem::Version.new('0.3.0') == Gem::Version.new('0.3') | |
| => true |
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
| #!/bin/bash | |
| # Usage: ./init.sh once to initialize remote storage for this environment. | |
| # Subsequent tf actions in this environment don't require re-initialization, | |
| # unless you have completely cleared your .terraform cache. | |
| # | |
| # terraform plan -var-file=./production.tfvars | |
| # terraform apply -var-file=./production.tfvars | |
| tf_env="production" |
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
| FROM phusion/baseimage:0.9.22 | |
| CMD ["/sbin/my_init"] | |
| RUN add-apt-repository -y ppa:brightbox/ruby-ng | |
| RUN apt-get update | |
| RUN apt-get install -y libpq-dev git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev nodejs wget autoconf tzdata ruby2.4 ruby2.4-dev rubygems ruby-switch | |
| RUN ruby-switch --set ruby2.4 | |
| RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* |
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
| // Define all your icons once, | |
| // load them once, | |
| // and use everywhere | |
| import Ionicons from 'react-native-vector-icons/Ionicons'; | |
| import FontAwesome from 'react-native-vector-icons/FontAwesome'; | |
| // define your suffixes by yourself.. | |
| // here we use active, big, small, very-big.. | |
| const replaceSuffixPattern = /--(active|big|small|very-big)/g; |
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 admin = require('./node_modules/firebase-admin'); | |
| const serviceAccount = require("./service-key.json"); | |
| const data = require("./data.json"); | |
| admin.initializeApp({ | |
| credential: admin.credential.cert(serviceAccount), | |
| databaseURL: "https://YOUR_DB.firebaseio.com" | |
| }); |
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
| --- | |
| format_version: 1.1.0 | |
| default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
| trigger_map: | |
| - push_branch: "*" | |
| workflow: tests | |
| workflows: | |
| _tests_setup: | |
| steps: | |
| - activate-ssh-key: {} |
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
| --- | |
| format_version: 1.1.0 | |
| default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
| trigger_map: | |
| - push_branch: "*" | |
| workflow: tests | |
| workflows: | |
| _tests_setup: | |
| steps: | |
| - activate-ssh-key: {} |