Skip to content

Instantly share code, notes, and snippets.

@gugadev
gugadev / install-android-sdk-windows.md
Last active July 20, 2026 18:44
Guide: Install Android SDK on Windows (without AndroidStudio)

Android SDK setup - Windows guide

If you are a React Native, NativeScript, Flutter or Ionic developer maybe you don't want to install the entire Android Studio just to have your environment ready. If this is your case, this guide will help you to setup your minimal Android SDK environment in Windows.


@wojteklu
wojteklu / clean_code.md
Last active July 20, 2026 18:41
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

@Ashur-D
Ashur-D / index.md
Created December 9, 2023 04:29
Trial Reset - StartAllBack

Note

I do not condone piracy, if you find StartAllBack to be truly useful and have some money to spare, consider buying a license key: https://www.startisback.com/#buy-tab


Reset Trial

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@flatlinebb
flatlinebb / mpv keyboard shortcuts
Last active July 20, 2026 18:35
mpv keyboard shortcuts
Keyboard Control
LEFT and RIGHT
Seek backward/forward 5 seconds. Shift+arrow does a 1 second exact seek (see --hr-seek).
UP and DOWN
Seek forward/backward 1 minute. Shift+arrow does a 5 second exact seek (see --hr-seek).
Ctrl+LEFT and Ctrl+RIGHT
Seek to the previous/next subtitle. Subject to some restrictions and might not always work; see sub-seek command.
Ctrl+Shift+Left and Ctrl+Shift+Right
Adjust subtitle delay so that the next or previous subtitle is displayed now. This is especially useful to sync subtitles to audio.
[ and ]
@Muzammil-Bilwani
Muzammil-Bilwani / pakistan_areas.json
Last active July 20, 2026 18:33
Pakistan City Areas
[
{ "province": "KPK", "city": "Abbottabad", "area": ["Abbottabad"] },
{ "province": "KPK", "city": "Adezai", "area": ["Adezai"] },
{ "province": "Punjab", "city": "Ahmedpur East", "area": ["Ahmedpur East"] },
{ "province": "Sindh", "city": "Ali Bandar", "area": ["Ali Bandar"] },
{ "province": "Punjab", "city": "Ali Pur", "area": ["Ali Pur"] },
{ "province": "Balochistan", "city": "Amir Chah", "area": ["Amir Chah"] },
{ "province": "Punjab", "city": "Arifwala", "area": ["Arifwala"] },
{ "province": "Gilgit & Baltistan", "city": "Astor", "area": ["Astor"] },
{ "province": "Punjab", "city": "Attock", "area": ["Attock"] },
@Kotchermik
Kotchermik / gist:a5a9b4bcbeb0a04c0329dc03ef6e6c71
Last active July 20, 2026 18:32
fix too many apps when there is no "Too many apps" string
Как убрать окно «Too many apps» в CryEngine
Суть проблемы
При запуске второго окна игра видит мьютекс `CrytekApplication`, вызывает функцию показа окна `sub_140098170` и ждет, пока игрок нажмет «Да» (код `6` / `IDYES`).
Наша задача — подменить эту функцию хуком, чтобы она всегда молча возвращала `6`.
Как найти нужную функцию в IDA Pro
╭─── Claude Code v2.1.12 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │ Tips for getting started │
│ Welcome back Jonny! │ Run /init to create a CLAUDE.md file with instructions for Claude │
│ │ │
│ │ ───────────────────────────────────────────────────────────────── │
│ ▐▛███▜▌ │ Recent activity
@Esyottil
Esyottil / enable_hidden_wall
Last active July 20, 2026 18:30
Включение видимости невидимых стен в CryEngine!
# Включение невидимых стен в играх на CryEngine (пример: "Лицо войны")
В этом руководстве показано, как активировать отображение невидимых стен (collision proxy) путём патча памяти в CryEngine-игре. Пример основан на билде ПДБ известной игры "Лицо войны".
## Инструменты
- IDA Pro (с загруженным дампом игры)
- Visual Studio (для создания DLL)
- Инжектор DLL (например, любой публичный)
## Шаги