Skip to content

Instantly share code, notes, and snippets.

View naczu's full-sized avatar
😶

Oğuz Can SERTEL naczu

😶
View GitHub Profile
@naczu
naczu / gist:ee8c2499f0ce9c99876d4f4c883f9968
Created February 22, 2026 16:05 — forked from gulbaki/gist:a64010915eccda2ccaa527199bcfd323
Claude Code’un arkasındaki ekipten paylaşılan gerçek kullanım alışkanlıkları bir araya getirilmiş ve tek bir dosyada toplanmış: CLAUDE.md
# Workflow Orchestration
## 1. Plan Mode Default
- Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions)
- If something goes sideways, STOP and re-plan immediately — don't keep pushing
- Use plan mode for verification steps, not just building
- Write detailed specs upfront to reduce ambiguity
## 2. Subagent Strategy
@naczu
naczu / test-memory-limit.php
Created November 10, 2019 22:49 — forked from thonixx/test-memory-limit.php
Test PHPs memory limit
<pre>
<?php
$megabyte = 1528; // define the max megabytes which should be tested
function tryAlloc($megabyte){
echo "try allocating {$megabyte} megabyte...";
$mb = $megabyte;
$dummy = str_repeat("-",1048576*$mb);
echo "pass.";
echo "Usage: " . memory_get_usage(true)/1048576;