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
I1106 21:51:54.029492 1 start.go:63] starting cert-manager v0.4.1 (revision ad30555d3aebaafa1524272a44ba80ffcdc01d2f) | |
I1106 21:51:54.031025 1 controller.go:111] Using the following nameservers for DNS01 checks: [10.31.240.10:53] | |
I1106 21:51:54.031734 1 server.go:68] Listening on http://0.0.0.0:9402 | |
I1106 21:51:54.032235 1 leaderelection.go:175] attempting to acquire leader lease prod-inf/cert-manager-controller... | |
I1106 21:52:09.671979 1 leaderelection.go:184] successfully acquired lease prod-inf/cert-manager-controller | |
I1106 21:52:09.673358 1 controller.go:53] Starting certificates controller | |
I1106 21:52:09.673485 1 controller.go:53] Starting clusterissuers controller | |
I1106 21:52:09.673645 1 controller.go:53] Starting ingress-shim controller | |
I1106 21:52:09.674307 1 controller.go:53] Starting issuers controller | |
I1106 21:52:09.784039 1 controller.go:138] clusterissuers controller: syncing item 'letsencrypt-staging' |
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
#!/usr/bin/env node | |
const util = require('util') | |
const exec = util.promisify(require('child_process').exec) | |
const args = process.argv.slice(2) | |
const omitComponentArgsIndexes = [] | |
const omitModuleArgsIndexes = [] | |
const propagateArgs = [] | |
const options = { |
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 { __extends, __rest, __assign } from 'tslib'; | |
import { func, oneOfType, object, string, element, arrayOf, bool, node, oneOf, number, instanceOf, any, shape } from 'prop-types'; | |
import { createContext, createElement, Component, forwardRef, Fragment, PureComponent } from 'react'; | |
import MaskedInput from 'react-text-mask'; | |
import Icon from '@material-ui/core/Icon'; | |
import IconButton from '@material-ui/core/IconButton'; | |
import InputAdornment from '@material-ui/core/InputAdornment'; | |
import TextField from '@material-ui/core/TextField'; | |
import Button from '@material-ui/core/Button'; | |
import Dialog from '@material-ui/core/Dialog'; |
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
#!/usr/bin/env bash | |
# This function checks if the service is in Running state | |
check_service_is_running() { | |
local SERVICE_NAME=$1 | |
local STATE=$(docker service ps --format '{{json .CurrentState}}' $SERVICE_NAME) | |
if [[ $STATE = \"Running* ]]; then | |
echo 1 | |
else | |
echo 0 |
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 findQueryName from '@alienfast/common/apollo/findQueryName' | |
import Logger from '@alienfast/common/Logger' | |
import * as React from 'react' | |
import { ErrorInfo } from 'react' | |
import { | |
OperationVariables, | |
Query as ApolloQuery, | |
QueryProps as ApolloQueryProps, | |
QueryResult, | |
} from 'react-apollo' |
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 { | |
StyledComponentProps, | |
StyleRules, | |
StyleRulesCallback, | |
WithStyles, | |
} from '@material-ui/core/styles' | |
import withStyles, { WithStylesOptions } from '@material-ui/core/styles/withStyles' | |
import * as React from 'react' | |
import { PropInjector } from "@material-ui/core"; |
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
// @flow | |
declare module 'react-relay' { | |
declare export type RecordState = 'EXISTENT' | 'NONEXISTENT' | 'UNKNOWN'; | |
declare export type onCompleted = (response: ?Object, errors: ?Array<PayloadError>) => void | |
declare export type onError = (error: Error) => void | |
declare export type CommitOptions = { | |
onCompleted: onCompleted, |
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 Grid from 'material-ui/Grid' | |
import { CardNumberElement, CardExpiryElement, CardCVCElement } from 'react-stripe-elements' | |
import StripeElementWrapper from './StripeElementWrapper' | |
export default class extends PureComponent { | |
static displayName = 'StripeCardsSection' |
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
namespace :db do | |
# Rake::Task['db:load_config'].enhance [:environment] | |
desc 'Truncate all tables' | |
task :truncate => :environment do | |
puts 'Truncating: ' | |
ActiveRecord::Base.connection.tables.each do |table| | |
unless %w(schema_migrations rails_admin_histories).include? table |
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 * as React from 'react' | |
import * as classNames from 'classnames' | |
import { StandardProps } from '@alienfast/material-ui' | |
import { withStyles } from '@alienfast/material-ui/styles' | |
import Text from '../Text' | |
import Logger from '../util/Logger' | |
const decorate = withStyles( | |
({ palette, shadows, transitions }) => ({ | |
root: { |