I hereby claim:
- I am moofish32 on github.
- I am moofish32 (https://keybase.io/moofish32) on keybase.
- I have a public key ASBl4zn7ZSZKszjGuc7vW97e0-GlyuUtSmKYUHm49fSTGAo
To claim this, I am signing this object:
// Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
// Generated from the AWS CloudFormation Resource Specification | |
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html | |
// @cfn2ts:meta@ {"generated":"2019-06-17T20:08:49.014Z","fingerprint":"Y9UchU9pctC6/xWTm7rE/XBp8d05mvBX9wvFf2MixrM="} | |
// tslint:disable:max-line-length | This is generated code - line lengths are difficult to control | |
import cdk = require('@aws-cdk/cdk'); | |
/** |
// Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
// Generated from the AWS CloudFormation Resource Specification | |
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html | |
// @cfn2ts:meta@ {"generated":"2019-06-17T20:08:04.438Z","fingerprint":"RRaQrKXriTRnT5GDKdzJRqLngFMESa0HgUFjHJUl2rM="} | |
// tslint:disable:max-line-length | This is generated code - line lengths are difficult to control | |
import cdk = require('@aws-cdk/cdk'); | |
/** |
import cdk = require('@aws-cdk/cdk'); | |
import ec2 = require('@aws-cdk/aws-ec2'); | |
export class IngressControlCheck implements cdk.IAspect { | |
constructor(private readonly cidr: string, private readonly port: number) { } | |
public visit(construct: cdk.Construct) { | |
if (cdk.CfnResource.isCfnResource(construct) && this.isCfnSecurityGroup(construct)) { | |
this.check(construct); |
import codebuild = require('@aws-cdk/aws-codebuild'); | |
import codepipeline = require('@aws-cdk/aws-codepipeline'); | |
import s3 = require('@aws-cdk/aws-s3'); | |
import iam = require('@aws-cdk/aws-iam'); | |
import ec2 = require('@aws-cdk/aws-ec2'); | |
import cdk = require('@aws-cdk/cdk'); | |
import cicd = require('@aws-cdk/app-delivery'); | |
const app = new cdk.App(); |
import dyn = require('@aws-cdk/aws-dynamodb'); | |
import cdk = require('@aws-cdk/cdk'); | |
export class DynamoExport extends cdk.Stack { | |
public readonly tableNameOutput: cdk.Output; | |
public readonly tableArnOutput: cdk.Output; | |
constructor(parent: cdk.App, name: string, props?: cdk.StackProps) { | |
super(parent, name, props); |
export class Helper { | |
public help(): string { | |
return 'your welcome for the help'; | |
} | |
} | |
export interface Helpable { | |
help: Helper; | |
} |
Adding the above rm command to the end of the script will result in cleaning up the PID file after a successful execution. If the script exits any other places this step should be included before the exit command. | |
Summary of Changes | |
Now that we have made our changes let's take another look at this script. | |
#!/bin/bash | |
PIDFILE=/home/vagrant/forever.pid | |
if [ -f $PIDFILE ] | |
then |
I hereby claim:
To claim this, I am signing this object:
FROM alpine:3.2 | |
ENV JRE=jre1.8.0_60 \ | |
JAVA_HOME=/opt/jre \ | |
JRUBY_VERSION=1.7.20.1 \ | |
JRUBY_SHA1=6a6e701a3a5769ec5d53a78660521c37da36e41f | |
# That's an 1.8.0_60 JRE from OpenJDK.net | |
# Courtesy to https://github.com/frol/docker-alpine-oraclejdk8 from where | |
# the setup of glibc is borrowed | |
RUN apk add --update wget bash ca-certificates && \ | |
cd /tmp && \ |
2014-01-15 17:48:24.040 F [9936:RubyThread-258: <redacted>/shared/bundle/jruby/1.9/gems/puma-2.7.1-java/lib/puma/server.rb:292] [[]] Rails -- | |
activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:190:in `wait_poll' | |
org/jruby/RubyKernel.java:1519:in `loop' | |
activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `wait_poll' | |
activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:136:in `poll' | |
/opt/ruby/jruby-1.7.8/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize' | |
/opt/ruby/jruby-1.7.8/lib/ruby/1.9/monitor.rb:210:in `mon_synchronize' | |
activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:146:in `synchronize' | |
activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:134:in `poll' | |
activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:423:in `acquire_connection' |