Skip to content

Instantly share code, notes, and snippets.

@titobundy
titobundy / copilot-instructions.md
Last active April 16, 2025 14:35 — forked from burkeholland/copilot-instructions.md
Custom Instructions Example

Vite / React / Tailwind / Nanostores / Astro Best Practices

This guide outlines best practices for building a Vite / React / Tailwind / Nanostores / Astro application. The goal is readability and maintainability, minimizing abstraction to keep the codebase clear.

Tech Stack Overview

  • Astro
  • Preact
  • Nanostores
  • Tailwind CSS
  • Postgres
@adieuadieu
adieuadieu / create-tables-locally.js
Last active January 7, 2025 01:50
Using DynamoDB Locally in a Serverless Framework Project
const fs = require('fs')
const DynamoDB = require('aws-sdk/clients/dynamodb')
const yaml = require('js-yaml')
const cloudformationSchema = require('@serverless/utils/cloudformation-schema')
const SERVERLESS_CONFIG = __dirname + '/serverless.yml'
const ddb = new DynamoDB({
accessKeyId: 'fake-key',
endpoint: 'http://localhost:8001',