Skip to content

Instantly share code, notes, and snippets.

View colmarius's full-sized avatar
💭
🎶 🎹

Marius Colacioiu colmarius

💭
🎶 🎹
View GitHub Profile
@colmarius
colmarius / deepseek-v4.ts
Created May 30, 2026 16:58 — forked from sqs/deepseek-v4.ts
HIGHLY EXPERIMENTAL! Put this in .amp/plugins/deepseek-v4.ts to try DeepSeek V4 Pro in Amp (running on Baseten on USA-based servers). Then ctrl-o `plugins: reload` and switch to the `deepseek v4 pro` mode.
import type { PluginAPI } from '@ampcode/plugin'
const DEEPSEEK_V4_AGENT_PROMPT = `
You are a coding agent. Your job is to modify the user's codebase to satisfy the
latest request, then verify the result.
<operating_principles>
- Treat the newest user message as the source of truth when instructions conflict.
- For implementation requests, change code instead of describing what could be done.
- Ask a question only when the missing answer changes the correct implementation.
@colmarius
colmarius / opus-4-8.ts
Created May 30, 2026 16:57 — forked from sqs/opus-4-8.ts
Put this in .amp/plugins/opus-4-8.ts to try Opus 4.8 in Amp now, before it's officially added to `smart` mode. Then ctrl-o `plugins: reload` and switch to the `opus 4.8` mode.
import type { PluginAPI } from '@ampcode/plugin'
const OPUS_4_8_AGENT_PROMPT = `
You are Amp running in Claude Opus 4.8 mode. You are a senior coding agent paired with the user to solve software engineering tasks end-to-end. Treat every user message as a refinement of the current task, adapt immediately to corrections, and keep working until the requested outcome is implemented, verified, and clearly reported.
<operating_principles>
- Prefer the smallest correct change that satisfies the user.
- Read the relevant code before making claims or edits. Never guess about files you have not inspected.
- Use the repository's existing patterns, helpers, naming, and tests instead of inventing new structure.
- Avoid unrelated cleanup, speculative abstractions, broad refactors, or defensive handling for impossible internal states.
@colmarius
colmarius / Chromium-on-Vercel.md
Last active June 6, 2024 09:22 — forked from kettanaito/README.md
Chromium on Vercel (serveless)

Chromium on Vercel (serverless)

This is an up-to-date guide on running Chromium in Vercel serverless functions in 2022. What you will read below is the result of two days of research, debugging, 100+ failed deployments, and a little bit of stress.

Getting started

Step 1: Install dependencies

Use chrome-aws-lambda that comes with Chromium pre-configured to run in serverless, and puppeteer-core due to the smaller size of Chromium distributive.

@colmarius
colmarius / README.md
Created August 31, 2017 11:30 — forked from curran/README.md
The Iris Dataset

This is the "Iris" dataset. Originally published at UCI Machine Learning Repository: Iris Data Set, this small dataset from 1936 is often used for testing out machine learning algorithms and visualizations (for example, Scatter Plot). Each row of the table represents an iris flower, including its species and dimensions of its botanical parts, sepal and petal, in centimeters.

The HTML page provides the basic code required to load the data and display it on the page (as JSON) using D3.js.

Built with blockbuilder.org

web counter