Skip to content

Instantly share code, notes, and snippets.

View everget's full-sized avatar
🎯
Focusing

Alex Orekhov everget

🎯
Focusing
View GitHub Profile
@everget
everget / git-command-workflow-sequence-diagram.md
Last active December 18, 2024 15:24
A detailed Mermaid sequence diagram illustrating the complete Git workflow, showcasing command interactions across local and remote repositories, including setup, branching, staging, committing, pushing, pulling, and various advanced Git operations.

Git Command Workflow Sequence Diagram

%% https://mermaid.js.org/syntax/sequenceDiagram.html#styling
%% It would be cool to add sequences to the top from the column names
%%{
  init: {
	"theme": "base",
	"sequence": {
	  "actorFontFamily": "monospace",
@everget
everget / clean_code.md
Created December 20, 2024 18:29 — forked from wojteklu/clean_code.md
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@everget
everget / js-1-2-3-4-5-6.md
Created July 24, 2025 03:53
Creating [1, 2, 3, 4, 5, 6] in JavaScript

This document outlines various methods to produce the array [1, 2, 3, 4, 5, 6] in JavaScript, including combining arrays, generating sequences, and literal declarations.

Array literal

[1, 2, 3, 4, 5, 6];

Array.of

@everget
everget / grep-friendly-codebases.md
Last active March 22, 2026 05:24
Designing Grep-Friendly Codebases for AI Agents

🔍 Your codebase is a Search API for AI agents

AI agents don't understand your system - they search it.

This gist breaks down the cause-and-effect chain from grep-based code discovery to architecture decisions, showing why:

  • naming > abstraction
  • locality > layering
  • predictability > cleverness
@everget
everget / cypress_vs_playwright.md
Last active April 26, 2026 05:41
Cypress vs Playwright

Cypress vs Playwright (2026)

Executive Summary for CTO, Stakeholders, and Engineering Teams

1) Core Architectural Difference

Approach Description Impact
Cypress Runs inside the browser Limited by browser sandbox
Playwright Runs outside the browser (CDP) Full control, no sandbox limits