Place launch.json file in .vscode/ directory in the root of your CDK application
It assumes the entry point of your CDK app is in
bin/app.ts.Adjust
argsattribute accordingly if you use something else.
| name: Daily Build | |
| on: | |
| # Trigger build manually | |
| workflow_dispatch: | |
| # Runs every day at 3pm GMT | |
| schedule: | |
| - cron: '0 15 * * *' |
| AWSTemplateFormatVersion: 2010-09-09 | |
| Description: S3 bucket remediation automation using AWS Config and AWS Service Manager | |
| Parameters: | |
| Versioning: | |
| Type: String | |
| AllowedValues: [ "true", "false" ] | |
| Default: "true" |
| #!/bin/bash | |
| # | |
| # RUN: | |
| # AWS_PROFILE=[profile] AWS_REGION=[region] ./check-ebs-snapshots.sh | |
| # | |
| AWS_ACCOUNT_ID=$(aws sts get-caller-identity --output text --query 'Account') | |
| snapshots=$(aws ec2 describe-snapshots \ |
| const uuidv1 = require('uuid/v1'); | |
| class OrderId { | |
| id: string | |
| constructor(id: string) { | |
| this.id = id | |
| } | |
| static fromString(id: string): OrderId { |
| [ | |
| { | |
| "action": "talk", | |
| "text": "Hello! This is an automated call from ACME company.", | |
| "voiceName": "Brian", | |
| "bargeIn": false | |
| }, | |
| { | |
| "action": "talk", | |
| "text": "Please confirm the service request for Max Mustermann, PNR: B, C, X, 4, 5, 1, 3.", |
| import request from 'superagent'; | |
| export const getWeatherForCity = (city, country) => { | |
| return new Promise((resolve, reject) => { | |
| request | |
| .get('http://api.openweathermap.org/data/2.5/weather') | |
| .query({ | |
| q: `${city},${country}`, | |
| units: 'metric', | |
| APPID: 'ABC123' |
| import React from 'react'; | |
| import {Route, Redirect} from 'react-router'; | |
| import { | |
| App, | |
| NotFound, | |
| Panel | |
| } from 'containers'; | |
| export default () => { | |
| return ( |
| # | |
| # ANAGRAM GENERATOR | |
| # | |
| # Author: Mauricio Klein (mauricio [dot] klein [dot] msk [at] gmail [dot] com) | |
| # Date: October 6th, 2016 | |
| # | |
| # | |
| # USAGE: | |
| # $ ruby anagram.rb <a word> |
| require 'equalizer' | |
| require 'dry/data' | |
| module Entities | |
| class Friend < Dry::Data::Struct | |
| include Equalizer.new(:id, :source_id, :target_id) | |
| attribute :id, 'int' | |
| attribute :source_id, 'int' | |
| attribute :target_id, 'int' |