Cheatsheet for image / video metadata manipulation.
Last updated 2019-07-24
until more specific license...
THE CONTENT BELOW IS PROVIDED "AS-IS",
WE DISCLAIM LIABILITY FOR ALL USES TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW.
This script fetches all of the files from the currently deployed version of a Firebase Hosting site. You must be signed in via the Firebase CLI and have "Site Viewer" permission on the site in question to be able to properly run the script.
npx https://gist.github.com/mbleigh/9c8680cf319ace2f506f57380da66e7d <site_name>
| // one can also use Google Cloud Firestore library, | |
| // with a slight change in semantics | |
| import { firestore } from 'firebase-admin'; | |
| import { EventContext, runWith } from 'firebase-functions'; | |
| import { promisify } from 'util'; | |
| const eventCollection = 'function-events'; | |
| enum EventStatus { | |
| RUNNING = 'running', |
| import { inject, InjectionToken } from '@angular/core'; | |
| import type { AppRouter } from '@evorto/server/appRouter'; | |
| import { HttpClient } from '@angular/common/http'; | |
| import { CreateTRPCClient, createTRPCClient, TRPCLink } from '@trpc/client'; | |
| import type { AnyRouter } from '@trpc/server'; | |
| import { observable } from '@trpc/server/observable'; | |
| import superjson, { SuperJSONResult } from 'superjson'; | |
| const TRPC_CLIENT = new InjectionToken<CreateTRPCClient<AppRouter>>( | |
| 'TRPC_CLIENT', |
| // ----------------------------------------------------------------------------- | |
| // Azure RG Janitor - Spectre Edition | |
| // Run with: dotnet run cleanup-rg.cs | |
| // Targets: .NET 10 Preview 4+ | |
| // ----------------------------------------------------------------------------- | |
| #:package Azure.Identity@1.* | |
| #:package Azure.ResourceManager@1.* | |
| #:package Spectre.Console@0.50.0 |
These rules define how an AI coding agent should plan, execute, verify, communicate, and recover when working in a real codebase. Optimize for correctness, minimalism, and developer experience.