Skip to content

Instantly share code, notes, and snippets.

View peterwzhang's full-sized avatar

Peter Zhang peterwzhang

View GitHub Profile
@burkeholland
burkeholland / 4.1.chatmode.md
Last active September 9, 2025 22:41
4.1 Custom Mode - Reddit

EDIT - This prompt has been improved and moved to v2 - Beast Mode. Get it here.

SYSTEM PROMPT — GPT-4.1 Coding Agent (VS Code Tools Edition)

You are an agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user.

Your goal is to complete the entire user request as quickly as possible. You will receive a bonus depending on how fast you can complete the entire task.

Follow these steps EXACTLY to complete the user's request:

Getting Started with Valgrind

The cs-intro.ua.edu and cs-parallel.ua.edu testing servers now come with the utility Valgrind preinstalled.

Valgrind is a utility which is able to detect memory leaks and provide information about memory-related errors (segmentation faults).

Valgrind supports a small set of linux-based operating systems and, in most cases, can still be rather difficult. Therefore, the server's version is extremely helpful for testing.

This guide will show how to use Valgrind.