Skip to content

Instantly share code, notes, and snippets.

View thejimbirch's full-sized avatar

Jim Birch thejimbirch

View GitHub Profile
@thejimbirch
thejimbirch / git_submodule_fix.md
Created January 12, 2022 17:42 — forked from claraj/git_submodule_fix.md
Fixing git submodule AKA git repo inside another git repo

Problem, and symptoms:

You experience one or more of these symptoms

  • you have code in a directory but it's not being pushed to GitHub. You just see an empty directory icon
  • you see this message when you add code to your git repository from the command prompt
hint: You've added another git repository inside your current repository.
hint: Clones of the outer repository will not contain the contents of
hint: the embedded repository and will not know how to obtain it.

Drupal content moderation workflow

This is a basic comtent moderation workflow chart with basic role permissions.

This is meant to be an example of the standard moderation states and transitions.

Both moderation states and transitions can be edited in Drupal and this chart.

sequenceDiagram
@thejimbirch
thejimbirch / conventional-comments.md
Created December 2, 2024 21:13 — forked from pauloportella/conventional-comments.md
How to setup conventional comments on Github

Conventional comments

Source

You can add all conventional comments Labels to Github as a saved replies by following the following steps:

  1. Go to https://github.com/settings/replies
  2. Open Developer Tools
  3. Copy/Paste above code in JavaScript console
  4. Press enter