Skip to content

Instantly share code, notes, and snippets.

View rimonmostafiz's full-sized avatar

Molla Mostafizur Rahman rimonmostafiz

View GitHub Profile
@rimonmostafiz
rimonmostafiz / open_in_windows_terminal.reg
Last active June 26, 2024 01:41
This is a windows registry file (.reg) that will create a new option to open windows terminal on any location of windows directory
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{9F156763-7844-4DC4-B2B1-901F640F5155}"=-
@rimonmostafiz
rimonmostafiz / Uninstall-pkg.md
Created October 30, 2020 16:24 — forked from githubutilities/Uninstall-pkg.md
Uninstall pkg manually in OS X

Mac Uninstall pkg Manually

  • using pkgutil
# list all your installed packages
pkgutil --pkgs

# show your package info
pkgutil --pkg-info 
@rimonmostafiz
rimonmostafiz / delete_git_submodule.md
Created August 27, 2020 10:50 — forked from myusuf3/delete_git_submodule.md
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