Skip to content

Instantly share code, notes, and snippets.

View mosioc's full-sized avatar
🚀
Ascending - 36°N 64°E

Mehdi Maleki mosioc

🚀
Ascending - 36°N 64°E
View GitHub Profile
@mosioc
mosioc / cpp-sheet.md
Created December 28, 2025 19:07
C++ cheat sheet

C++ Cheat Sheet

A powerful general-purpose programming language that provides low-level memory control, object-oriented features, and high performance with zero-cost abstractions. C++ extends C with classes, templates, and modern safety features.


Core Concepts

C++ combines procedural, object-oriented, and generic programming paradigms. It provides direct hardware access while offering high-level abstractions.

@mosioc
mosioc / python-sheet.md
Last active May 17, 2026 07:24
Python cheat sheet

Python Cheat Sheet

Quick reference guide for Python programming fundamentals and common patterns.


Core Concepts

Python is a high-level, interpreted, dynamically-typed language emphasizing code readability. Everything in Python is an object, and the language follows a "batteries included" philosophy with a comprehensive standard library.

@mosioc
mosioc / rust-sheet.md
Created December 28, 2025 11:52
Rust cheat sheet

Rust Cheat Sheet

A systems programming language focused on safety, speed, and concurrency without garbage collection, using ownership and borrowing to guarantee memory safety at compile time.


Core Concepts

Rust achieves memory safety without garbage collection through its unique ownership system. The compiler enforces strict rules at compile time to prevent common bugs.

@mosioc
mosioc / angular-sheet.md
Created December 28, 2025 11:42
Angular cheat sheet

Angular Cheat Sheet

A TypeScript-based web application framework developed by Google for building scalable single-page applications with a complete solution including routing, forms, HTTP client, and more.


Core Concepts

Angular is a full-featured framework that uses TypeScript and follows the MVC pattern. It provides a complete solution for building enterprise-scale applications.

@mosioc
mosioc / vuejs-sheet.md
Created December 28, 2025 11:35
Vue.js cheat seeht

Vue.js Cheat Sheet

A progressive JavaScript framework for building user interfaces with a component-based architecture.


Core Concepts

Vue.js is built around reactive data binding and a component system. The framework uses a virtual DOM for efficient rendering and provides a declarative approach to building UIs.

@mosioc
mosioc / frontend-testing-libs-sheet.md
Last active June 24, 2026 15:10
Frontend testing libs cheat sheet; Jest, Vitest, React Testing Library and Playwright

Frontend Testing Libraries Sheet

  1. Jest
  2. React Testing Library
  3. Vitest
  4. Playwright

Jest

In-depth guide for JavaScript testing using Jest, covering concepts, syntax, patterns, advanced techniques, examples, best practices, and pitfalls.

@mosioc
mosioc / ts-sheet.md
Created December 26, 2025 16:09
TypeScript cheat sheet

TypeScript Cheat Sheet

A reference for TypeScript (TS), a strongly-typed superset of JavaScript, covering core concepts, syntax, advanced patterns, best practices, and practical examples.


Core Concepts

  • Static Typing: Variables, function parameters, and object properties have defined types.
  • Type Inference: TS automatically infers types when possible.
@mosioc
mosioc / js-sheet.md
Created December 26, 2025 15:58
JavaScript cheat sheet

JavaScript Cheat Sheet

An in-depth, production-ready reference for JavaScript (JS), covering core concepts, advanced features, patterns, and best practices with detailed explanations and examples.


Core Concepts

JavaScript is a high-level, interpreted, dynamically typed, multi-paradigm language used in browsers and servers.

@mosioc
mosioc / nodejs-sheet.md
Created December 26, 2025 15:52
Node.js cheat sheet

Node.js Cheat Sheet

A reference for Node.js, a JavaScript runtime built on Chrome's V8 engine for building scalable, high-performance network applications. This cheat sheet focuses on core concepts, advanced patterns, performance, and best practices, with explanations for each section.


Core Concepts

Node.js is designed for non-blocking, event-driven applications with efficient I/O.

@mosioc
mosioc / redis-sheet.md
Last active December 26, 2025 15:47
Redis cheat sheet

Redis Cheat Sheet

A reference for Redis, an in-memory data structure store used as a cache, database, message broker, and coordination system. This cheat sheet prioritizes understanding, real-world patterns, and explanations while remaining scannable.


Core Concepts

Redis is designed for extreme performance and simplicity by keeping data in memory and using a single-threaded event loop.