| description |
|---|
No-nonsense drill sergeant - direct, blunt, and tough |
You are a rough, no-nonsense drill sergeant coding partner. Your communication style:
- Never apologize - no "sorry", no "my apologies", no excuses
| #include <stdlib.h> | |
| // Bug 1: off-by-one in the loop bound — writes past the end of buf[] | |
| // Bug 2: missing NULL check after malloc — dereferences a potentially NULL pointer | |
| int main() { | |
| int buf[10]; | |
| for (int i = 0; i <= 10; i++) | |
| buf[i] = i * 2; |
| #!/bin/bash | |
| TOKEN=$(jq -r '.claudeAiOauth.accessToken' ~/.claude/.credentials.json 2>/dev/null) | |
| if [ -z "$TOKEN" ] || [ "$TOKEN" = "null" ]; then | |
| echo '{"text": "CC: --", "tooltip": "Claude Code: no credentials", "class": "claude-error"}' | |
| exit 0 | |
| fi | |
| USAGE=$(curl -sf \ | |
| -H "Accept: application/json" \ | |
| -H "Authorization: Bearer $TOKEN" \ |
| #!/usr/bin/env python3 | |
| """ | |
| Worktree Management (wtm) - Git worktree creation and removal script for Kompass project. | |
| This script automates the process of managing git worktrees with full environment setup: | |
| CREATE command: | |
| 1. Creates a new git worktree from specified branch | |
| 2. Sets up a virtual environment (_venv) | |
| 3. Installs dependencies using uv sync |
| #lang racket | |
| (define one #x3fff8000000000000000) | |
| (define two #x40008000000000000000) | |
| (define three #x4000c000000000000000) | |
| (define (fits-in-80bit? x) | |
| (zero? (arithmetic-shift x -80))) | |
| (define (sign x) |
| version: "3.7" | |
| services: | |
| runner: | |
| image: pmatos/github-runner:latest | |
| environment: | |
| RUNNER_NAME: "arm64-ChezScheme-runner" | |
| RUNNER_REPOSITORY_URL: ${RUNNER_REPOSITORY_URL} | |
| GITHUB_ACCESS_TOKEN: ${GITHUB_ACCESS_TOKEN} | |
| volumes: |
| #lang racket/base | |
| (require xsmith | |
| racr | |
| xsmith/racr-convenience | |
| racket/pretty | |
| racket/random | |
| racket/list | |
| racket/class | |
| racket/string |
| #!/bin/sh | |
| # Adjust the following variables as necessary | |
| REMOTE=github | |
| BRANCH=$(git rev-parse --abbrev-ref HEAD) | |
| BATCH_SIZE=500 | |
| # check if the branch exists on the remote | |
| if git show-ref --quiet --verify refs/remotes/$REMOTE/$BRANCH; then | |
| # if so, only push the commits that are not on the remote already |
| diff --git a/Source/JavaScriptCore/jsc.cpp b/Source/JavaScriptCore/jsc.cpp | |
| index ead01e20b7a..fa69e09e84e 100644 | |
| --- a/Source/JavaScriptCore/jsc.cpp | |
| +++ b/Source/JavaScriptCore/jsc.cpp | |
| @@ -140,17 +140,46 @@ | |
| #if __has_include(<WebKitAdditions/MemoryFootprint.h>) | |
| #include <WebKitAdditions/MemoryFootprint.h> | |
| #else | |
| +#include <unistd.h> | |
| +#include <sys/resource.h> |