https://www.google.com/search?q=bunsenlabs+rescue
https://forums.bunsenlabs.org/viewtopic.php?id=4555
https://forums.bunsenlabs.org/viewtopic.php?id=1192
https://www.google.com/search?q=arch+Warning+.devname+not+found+ignoring
| import { writeFile } from 'fs/promises' | |
| import { dirname, join } from 'path' | |
| import PDFDocument from 'pdfkit' | |
| import SVGToPdf from 'svg-to-pdfkit' | |
| // 96.75 | |
| // 8 x 7.5 | |
| const in__px = 96 | |
| const page__width__in = 11 | |
| const page__height__in = 8.5 | |
| const page__margin_x__in = .5 |
| <main data-hk="0.0.0.0.0.0.0.0.1.0" class="_layout "><div | |
| data-hk="0.0.0.0.0.0.0.0.1.1.0.0.0.0.2.0.5" class="Company_Page companies_index_route"><!--#--><!--/--><!--#--><div | |
| data-hk="0.0.0.0.0.0.0.0.1.1.0.0.0.0.2.0.7.0" class="Layout_companies " class=" "><a class="ctx-ribbon" | |
| href="https://docs.google.com/forms/d/e/1FAIpQLScdm8Sf4yBGNpUCES2j6T-DDuqO2A5JDyiWj1PzS5aPd5VEfQ/viewform" | |
| title="&#946&#949&#932&#913 &#8594 Please send your feedback!" | |
| target="_blank">BETA: Please send your feedback!</a> | |
| <!--#--><div data-hk="0.0.0.0.0.0.0.0.1.1.0.0.0.0.2.0.7.1.0" class="Layout_app"><div | |
| data-hk="0.0.0.0.0.0.0.0.1.1.0.0.0.0.2.0.7.1.2.0" class="Layout_company"><div | |
| data-hk="0.0.0.0.0.0.0.0.1.1.0.0.0.0.2.0.7.1.2.1.0" class="companies_index_route_content"><!--#--><!--/--><div></div> | |
| <!--#--><div data-hk="0.0.0.0.0.0.0.0.1.1.0.0.0.0.2.0.7.1.2.1.1.0" class="blank" |
| <Placemark> | |
| <name>Property</name> | |
| <LineString> | |
| <tessellate>1</tessellate> | |
| <altitudeMode>clampToGround</altitudeMode> | |
| <coordinates> | |
| 29.7479,-103.7888 | |
| 29.7444,-103.7888 | |
| 29.7480,-103.7846 | |
| 29.74444,-103.7846 |
| ┌───┬────────────────────────────────────────────────────────────┬────────┬────────────────┬──────────────────────────────────┬───────────┐ | |
| │ │ Resource │ Effect │ Action │ Principal │ Condition │ | |
| ├───┼────────────────────────────────────────────────────────────┼────────┼────────────────┼──────────────────────────────────┼───────────┤ | |
| │ + │ ${menu-dev/dev.pay.menu.com-apigateway/CloudWatchRole.Arn} │ Allow │ sts:AssumeRole │ Service:apigateway.amazonaws.com │ │ | |
| ├───┼────────────────────────────────────────────────────────────┼────────┼────────────────┼──────────────────────────────────┼───────────┤ | |
| │ + │ ${menu-dev/dev.pay.menu.com.images_assets.Arn}/* │ Allow │ s3:GetObject │ * │ │ | |
| └───┴────────────────────────────────────────────────────────────┴────────┴────────────────┴─────── |
| export const pay_apigateway_b = _b('pay_apigateway', (ctx: aws_run_ctx_type) => { | |
| const { construct } = ctx | |
| const pay_host = pay_host_b(ctx) | |
| const local_az_certificate = local_az_certificate_b(ctx) | |
| const pay_apigateway = new RestApi(construct, `${pay_host}-apigateway`, { | |
| restApiName: `${pay_host}-apigateway`, | |
| deploy: true, | |
| defaultCorsPreflightOptions: { | |
| allowOrigins: ['*'], | |
| allowHeaders: [ |
| import { CfnOutput } from '@aws-cdk/core'; | |
| import { _b } from '@ctx-core/object'; | |
| import { ctx_type } from './ctx_type'; | |
| import { host_b } from './host_b'; | |
| import { lambdaVersion_b } from './lambdaVersion_b'; | |
| import { lambdaFunction_b } from './lambdaFunction_b'; | |
| import { | |
| AwsIntegration, | |
| LambdaIntegration, LambdaRestApi, MethodLoggingLevel, | |
| } from '@aws-cdk/aws-apigateway'; |
| #!/usr/bin/env node | |
| // See https://github.com/aws-samples/aws-cdk-examples/tree/master/typescript/static-site/ | |
| import { Stack, App, StackProps } from '@aws-cdk/core' | |
| import { CONTEXT_ENV } from '@aws-cdk/cx-api' | |
| import { StaticSite } from './static-site' | |
| type Context = { | |
| domain: string, | |
| subdomain: string, | |
| } | |
| const ctx = JSON.parse(process.env[CONTEXT_ENV] as string) as Context |