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 / 2019-socrates-day-zuerich.md
Last active September 17, 2019 11:46
Socrates Day Zürich (Sep 2019) - Learnings - https://bit.ly/2mkFQWq

Socrates Day

  • quick overview of the day
  • joint session done on working on big features with toggles

What is Socrates?

@colmarius
colmarius / Socrates-CH-2019.md
Last active September 17, 2019 09:04
Socrates CH 2019 - 3 days retreat take aways

Socrates CH

SoCraTes Switzerland is a Software Craft Conference for those passionate about software development. It provides an ideal setting for speaking to and code with other talented and engaged developers, learning from one another.

From my experience, mostly experienced developers are coming, but a few newbies join too. In it's third edition, 1/3 joined for first time, 1/3 joined for second time and 1/3 joined for their third time! I am a big fan, 3rd year in a row :-).

You should check out the twitter [SoCraTes_CH] and Slack channels.

@colmarius
colmarius / topics-socrates-2020.md
Created April 2, 2019 09:22
Topics for next years Socrates

Codeclimate

Quality:

  • what is CodeClimate
  • hands-on setting up a repo with CodeClimate
  • look at CodeClimate plugins
  • creating a custom CodeClimate plugin
  • show how to use browser extension

Intro to GraphQL

Wait...

What are the problems with REST?

What is GraphQL?

  • enables declarative data fetching
@colmarius
colmarius / Books_regarding_leadership.md
Last active April 2, 2019 09:23
Books regarding leadership

Books regarding Leadership

People management

  • How to Win Friends and Influence People - Dale Carnegie he is a big name, from beginning of last century, the book title is missleading, you will learn by reading it, but it's a recommended read for all people being in a management position. For me it teached me things more about my self.

Agile development

  1. Nature of Software Development - really short book, fast read, talks about Feature teams, I would recommend to start with this one, I really liked this one
  2. Agile and Lean Program Management - Johanna is a good teacher on Agile, I read her blogs articles
@colmarius
colmarius / Bug-Report-Template.md
Last active April 2, 2019 09:23
Bug Report Template

Priority:

To be defined by Product Owner

Summary:

Short description of the bug.

Environment: