Skip to content

Instantly share code, notes, and snippets.

View aureateAnatidae's full-sized avatar

aureateAnatidae aureateAnatidae

View GitHub Profile
@ZhuoyunZhong
ZhuoyunZhong / 01_Overview.md
Last active December 4, 2025 15:44
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.

@kirelagin
kirelagin / rssi.sh
Last active March 6, 2025 04:04
Monitor signal strength (RSSI) of a Wi-Fi network on Linux
#!/bin/sh
# SPDX-FileCopyrightText: 2019 Kirill Elagin <https://kir.elagin.me/>
# SPDX-License-Identifier: MPL-2.0
###
#
# Monitor signal strength (RSSI) of a Wi-Fi network on Linux.
#
# Given an SSID, the script outputs the signal strength of the
@justineuro
justineuro / mdTable-ghp.md
Last active June 23, 2025 00:48
Markdown Tables on GitHub: Empty Cells

Creating Markdown Tables on GitHub: Empty Cells

Simply leave the cell empty if that cell is not the first cell of a row.
If the empty cell is the first cell of a row, render the cell empty by including an empty link, i.e., []() within the desired empty cell.
In the Table 1 example below, Cells 1,2 and 3,2 are left blank, hence, rendered empty. Cells 3,2, and 4,2 are rendered as empty cells with []() although we could have left Cell 4,2 empty.
In the Table 2 example, which has an error, note how leaving Cell 2,1 empty renders an incorrect table.

Hence the markup:

### Table 1
Header 1 | Header 2
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active December 6, 2025 07:50
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example