Skip to content

Instantly share code, notes, and snippets.

View Denubis's full-sized avatar

Brian Ballsun-Stanton Denubis

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@J2TEAM
J2TEAM / sublime-text-scopes.md
Last active June 25, 2025 08:34 — forked from iambibhas/scopes.txt
Sublime Text 2/3: Snippet scopes

Here is a list of scopes to use in Sublime Text 2/3 snippets -

ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
@bengarrett
bengarrett / thumbs.md
Last active June 20, 2022 14:23
Generate and optimise thumbnails using GraphicsMagick and pngquant

Generate and optimise thumbnails using GraphicsMagick and pngquant

Install

Install gm and pngquant.

apt-get install gm pngquant

Generate

Generate a thumbnail. You can replace -thumbnail with -resize for a clearer thumbnail that will result in a larger file size.

@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