Skip to content

Instantly share code, notes, and snippets.

View avin's full-sized avatar
🐒
Code Monkey

Avin Lambrero avin

🐒
Code Monkey
View GitHub Profile
@avin
avin / acp-config.txt
Last active August 28, 2026 17:14
Disable FAST mode for composer 2.5 in ACP
{
"agent_servers": {
"MySimpleAgent": {
"command": "C:\\Program Files\\Volta\\node.exe",
"args": [
"C:\\Users\\avin\\.cursor\\cursor-acp-nonfast.js"
]
}
}
}
@avin
avin / config.toml
Last active August 4, 2026 06:18
Codex no freezes anymore
[features]
browser_use_external = false
in_app_browser = false
computer_use = false
[analytics]
enabled = false
[features]
browser_use = false
browser_use_full_cdp_access = false
browser_use_external = false
in_app_browser = false
computer_use = false
[plugins."chrome@openai-bundled"]
enabled = false
@avin
avin / fix.reg
Created February 21, 2026 09:46
ICS broke after reboot fix
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedAccess]
"EnableRebootPersistConnection"=dword:00000001
@avin
avin / git-full-squash.sh
Last active February 7, 2026 07:22
Squash all Git commits into a single commit
git checkout --orphan __squash_tmp
git add -A
git commit -m "init"
git branch -M master
git push -f origin master
@avin
avin / prep.cmd
Last active February 1, 2026 08:56
Universal agent rules in project
del AGENTS.md CLAUDE.md GEMINI.md .cursorrules .windsurfrules .clinerules
mklink AGENTS.md .rules
mklink CLAUDE.md .rules
mklink GEMINI.md .rules
mklink .cursorrules .rules
mklink .windsurfrules .rules
mklink .clinerules .rules
@avin
avin / 1_jetbrains-to-cursor.md
Last active January 26, 2026 15:21
Jump to Cursor from JetBrains IDEs and back

File -> Settings -> Tools -> External Tools -> (Add)

Name: Cursor
Program: C:\Users\avin\AppData\Local\Programs\cursor\Cursor.exe
Arguments: $ProjectFileDir$ --goto $FilePath$:$LineNumber$:$ColumnNumber$
Working directory: $ProjectFileDir$

Advanced options:
Open console for tool output: Disabled
@avin
avin / collapse.svelte
Created January 9, 2026 18:24
svelte WrappedUp transition
<script lang="ts">
import { linear } from "svelte/easing";
import type { TransitionConfig } from "svelte/transition";
let visible = $state(true);
function slideFade(
node: Element,
options: { duration?: number; easing?: (t: number) => number } = {},
): TransitionConfig {
@avin
avin / .clang-format
Last active December 31, 2025 18:32
Best Modern C++ clang-format
Language: Cpp
BasedOnStyle: LLVM
IndentWidth: 4
ColumnLimit: 120
PointerAlignment: Left
Standard: Auto
FixNamespaceComments: true
BreakBeforeBraces: Attach
AllowShortFunctionsOnASingleLine: Empty
BinPackArguments: false
@avin
avin / ExplorerPatcher.reg
Created December 27, 2025 16:20
ExplorerPatcher settings
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\ExplorerPatcher]
"ImportOK"=dword:00000001
[HKEY_CURRENT_USER\Software\ExplorerPatcher]
"OldTaskbar"=dword:00000002
[HKEY_CURRENT_USER\Software\ExplorerPatcher]
;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_TaskbarPosition"=dword:00000001
[HKEY_CURRENT_USER\Software\ExplorerPatcher]
;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_MMTaskbarPosition"=dword:00000003