Skip to content

Instantly share code, notes, and snippets.

View jackiboi307's full-sized avatar
🐥

Jack jackiboi307

🐥
  • Stockholm
View GitHub Profile
@fnky
fnky / ANSI.md
Last active August 26, 2025 14:26
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@ZhuoyunZhong
ZhuoyunZhong / 01_Overview.md
Last active August 18, 2025 16:24
Include only parts of others' repository as submodule in your project and arrange them to desired locations.

This gist provides an example of how to only include parts of others' repository as submodule in your project.

What is more, it will also show how to "put" the folders of submodule to desired location (e.g. under your project's root), without breaking the submodule.

Consider we have a repository

Simulation

  • README.md

There is one another repository we want to use, but only the algorithm folder is needed.