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
| #cloud-config | |
| write_files: | |
| - | |
| content: | | |
| [mysqld] | |
| max_heap_table_size=64M | |
| tmp_table_size=64M | |
| join_buffer_size=64M | |
| innodb_doublewrite=OFF | |
| innodb_buffer_pool_size=242M |
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
| container_commands: | |
| 01_build: | |
| command: "PATH=$NODE_HOME/bin:$PATH $NODE_HOME/bin/npm run build" |
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
| packages: | |
| yum: | |
| libjpeg-turbo-devel: [] | |
| libpng-devel: [] | |
| libcurl-devel: [] | |
| commands: | |
| 01_install_rhel_pg: | |
| command: "(yum repolist |grep -q pgdg96) || sudo yum install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6-x86_64/pgdg-ami201503-96-9.6-2.noarch.rpm -y" | |
| 02_install_pg_devel: |
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
| resource "aws_api_gateway_rest_api" "myApi" { | |
| name = "myApi-${var.env}" | |
| description = "My awesome API (${var.env} environment)" | |
| } | |
| resource "aws_api_gateway_deployment" "myApi" { | |
| depends_on = [ | |
| "aws_api_gateway_integration.myApi_myEndpoint_post", | |
| "aws_api_gateway_integration_response.myApi_myEndpoint_post", | |
| "aws_api_gateway_integration_response.myApi_myEndpoint_post_400", |
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 noop = () => {}; | |
| const actionsToIgnore = new Set(['SOME_ACTION', 'SOME_OTHER_ACTION']); | |
| function createWrappedSagaMiddleware() { | |
| const delegate = createSagaMiddleware(); | |
| const sagaMiddleware = props => next => { | |
| const actionHandler = delegate(props)(noop); | |
| return action => { | |
| // send to reducers, keep the result | |
| const result = next(action); |
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
| #!/usr/bin/env ruby | |
| require 'spaceship' | |
| Spaceship::Tunes.login(ENV['FASTLANE_USER'], ENV['FASTLANE_PASSWORD']) | |
| app_id = ARGV.shift | |
| if app_id.nil? | |
| abort('Usage: release.rb com.mycompany.myapp') |
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 spawn = require('child_process').spawn; | |
| const command = process.argv[2]; | |
| const args = process.argv.slice(3); | |
| const child = spawn(command, args); | |
| console.log(`heartbeat: running command ${command} with args ${args}`); | |
| const heartbeat = setInterval(() => { | |
| console.log('❤️'); | |
| }, 1000 * 60); |
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 from 'react'; | |
| import Formsy from 'formsy-react'; | |
| import ReactSelect from 'react-select'; | |
| import './Select.less'; | |
| const Select = React.createClass({ | |
| mixins: [Formsy.Mixin], |
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/sh | |
| pushd ~/src/github/ssh-config-aws | |
| bundle exec ./ssh-servers-from-aws.rb spright | |
| ./rebuild-ssh-config.sh | |
| popd |