Alexa, what's the easiest way to create a Skill?
- Split out what I have for private project
projen, but for dotfiles!
| FROM debian:12 | |
| RUN apt-get update && apt-get install -y \ | |
| gcc \ | |
| build-essential \ | |
| git \ | |
| wget \ | |
| curl \ | |
| vim \ | |
| && rm -rf /var/lib/apt/lists/* |
| #!/usr/bin/env node | |
| const { spawnSync } = require("node:child_process"); | |
| const fs = require("node:fs"); | |
| const os = require("node:os"); | |
| const path = require("node:path"); | |
| const spawny = (command, cwd) => { | |
| rawny(command.split(" "), cwd); | |
| } |
| #!/usr/bin/env node | |
| const { spawnSync } = require("node:child_process"); | |
| const fs = require("node:fs"); | |
| const path = require("node:path"); | |
| const spawny = (command) => { | |
| const [cmd, ...rest] = command.split(" "); | |
| console.log(command); | |
| spawnSync(cmd, rest, { stdio: 'inherit', cwd: process.cwd() }); |
| import { Component, DependencyType, typescript } from 'projen'; | |
| /** | |
| * This component adds support for using `integ-runner` and `integ-tests` | |
| * in a construct library. | |
| */ | |
| export class IntegRunner extends Component { | |
| constructor(project: typescript.TypeScriptProject, cdkVersion: string) { | |
| super(project); |
| function stringify(data, indentation = 2) { | |
| if (typeof indentation === "number") { | |
| return doStringify(data, 0, " ".repeat(indentation)) | |
| } | |
| return doStringify(data, 0, indentation) | |
| } | |
| function doStringify(data, level = 0, idt = " ") { |
| import { | |
| DefaultStackSynthesizer, | |
| FileAssetLocation, | |
| FileAssetSource, | |
| } from 'aws-cdk-lib'; | |
| import { DefaultStackSynthesizerProps } from 'aws-cdk-lib/core/lib/stack-synthesizers/default-synthesizer'; | |
| import * as path from 'path'; | |
| export interface FileAssetSynthesizerProps | |
| extends DefaultStackSynthesizerProps {} |
| From 7a780eed2b9020ccf67e0797e746c9a904370fc4 Mon Sep 17 00:00:00 2001 | |
| From: Momo Kornher <[email protected]> | |
| Date: Wed, 19 Oct 2022 17:16:00 +0100 | |
| Subject: [PATCH] feat: csharp & fsharp | |
| --- | |
| .../lib/runner/integration-tests.ts | 4 +- | |
| .../integ-runner/lib/runner/runner-base.ts | 4 +- | |
| .../test/test-data-csharp/.gitignore | 11 ++ | |
| .../test/test-data-csharp/IntegTestCsharp.cs | 20 ++++ |
| name: Deploy via ssh | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-20.04 | |
| steps: |
| #!/bin/sh | |
| COMMAND="op read $OP_PIN_ITEM" | |
| echo "OK" | |
| while read cmd rest; do | |
| echo "cmd=$cmd rest=$rest" >&2 | |
| echo "cmd=$cmd rest=$rest" >> $LOG | |
| case "$cmd" in | |
| \#*) |