Skip to content

Instantly share code, notes, and snippets.

View yushangdi's full-sized avatar
🎯
Focusing

Shangdi Yu yushangdi

🎯
Focusing
  • Meta
  • CA
View GitHub Profile
@bmaupin
bmaupin / free-backend-hosting.md
Last active December 11, 2025 00:11
Free backend hosting
@myusuf3
myusuf3 / delete_git_submodule.md
Created November 3, 2014 17:36
How effectively delete a git submodule.

To remove a submodule you need to:

  • Delete the relevant section from the .gitmodules file.
  • Stage the .gitmodules changes git add .gitmodules
  • Delete the relevant section from .git/config.
  • Run git rm --cached path_to_submodule (no trailing slash).
  • Run rm -rf .git/modules/path_to_submodule (no trailing slash).
  • Commit git commit -m "Removed submodule "
  • Delete the now untracked submodule files rm -rf path_to_submodule
@barszczmm
barszczmm / icb_industries.json
Last active November 1, 2021 20:37
Industry Classification Benchmark (http://en.wikipedia.org/wiki/Industry_Classification_Benchmark) in JSON format.
[
{
"icb": "0001",
"supersectors": [
{
"icb": "0500",
"name": "Oil & Gas",
"sectors": [
{
"icb": "0530",