Skip to content

Instantly share code, notes, and snippets.

@mtimbs
mtimbs / cdk.json
Created February 23, 2021 10:59
CDK template - cdk.json
{
"app": "npx ts-node --prefer-ts-exts bin/example-cdk.ts",
"context": {
"@aws-cdk/core:enableStackNameDuplicates": "true",
"aws-cdk:enableDiffNoFail": "true",
"@aws-cdk/core:stackRelativeExports": "true",
"@aws-cdk/aws-ecr-assets:dockerIgnoreSupport": true,
"@aws-cdk/aws-secretsmanager:parseOwnedSecretName": true,
"@aws-cdk/aws-kms:defaultKeyPolicies": true,
"@aws-cdk/aws-s3:grantWriteWithoutAcl": true
@mtimbs
mtimbs / example-coupling-todos.vue
Last active March 17, 2021 13:27
Example of data coupling in Vue component
// TODO's Index
<template>
<ToDo v-for="todo in todos" :data="todo"/>
</template>
<script>
export default {
data() {
return {
todos: []
@mtimbs
mtimbs / dynamicUpdate.ts
Last active October 5, 2021 02:10
Recursive Dynamic Update DynamoDB (WIP)
import { NativeAttributeValue } from '@aws-sdk/util-dynamodb/src/models';
import { AttributeValue } from '@aws-sdk/client-dynamodb';
import { marshall } from '@aws-sdk/util-dynamodb';
interface DynamoUpdateParams {
UpdateExpression: string;
ExpressionAttributeNames: Record<string, string>;
ExpressionAttributeValues: Record<string, AttributeValue>;
}
@mtimbs
mtimbs / create-claude-issue.md
Last active September 7, 2025 04:47
claude task workflow

name: create-claude-issue description: Create a detailed Linear issue optimized for Claude execution from high-level requirements version: 1.0

prompt: | You are creating Linear issues that will be executed by Claude (not humans). Follow this approach:

PHASE 1: GATHER HIGH-LEVEL REQUIREMENTS