Skip to content

Instantly share code, notes, and snippets.

@nezuo
nezuo / testez-selene.md
Last active June 10, 2022 00:00
TestEZ standard library for selene
View testez-selene.md

Instructions

  1. Copy the file below into one called testez.yml
  2. In selene.toml, replace std = "roblox" with std = "roblox+testez"
View RadialImage.lua
--[[
CC BY-SA 4.0 - creativecommons.org/licenses/by-sa/4.0
Roact.createElement(RadialImage, {
Clockwise = true,
Progress = 0.6,
Image = "rbxassetid://3942975478",
ImageSize = Vector2.new(640, 624),
@myusuf3
myusuf3 / delete_git_submodule.md
Created November 3, 2014 17:36
How effectively delete a git submodule.
View delete_git_submodule.md

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