Skip to content

Instantly share code, notes, and snippets.

View RupertBarrow's full-sized avatar

Rupert Barrow RupertBarrow

View GitHub Profile
RupertBarrow / Publishing to Github Packages NPM
Last active January 2, 2024 22:18
Publishing to Github Packages NPM

Publishing to the Github Packages registry for npm


This is about :

  • publishing to an NPM registry
  • ... which is the Github Packaged registry (for NPM)
  • ... with semantic-release
  • ... in a Github Actions CI workflow
RupertBarrow / multiline Github Actions
Last active December 29, 2023 10:04
Github Actions - multiline output from a step, with GITHUB_OUTPUT
CumulusCI version: 3.69.0
Python version: 3.10.2 (/Users/rupert/.local/pipx/venvs/cumulusci/bin/python)
Environment Info: Darwin / x86_64
Last Command Run
/Users/rupert/.local/bin/cci task run push_qa --orgs orgs/qa_orgs.txt --org devhub --metadata_package_id 0337S000000PXXXXXX --debug
[11/23/22 20:14:07] DEBUG Added rich.logging.RichHandler to logger: urllib3 ]8;id=90308;file:///Users/rupert/.local/pipx/venvs/cumulusci/lib/python3.10/site-packages/cumulusci/cli/\]8;;\:]8;id=255804;file:///Users/rupert/.local/pipx/venvs/cumulusci/lib/python3.10/site-packages/cumulusci/cli/\53]8;;\
[11/23/22 20:14:08] DEBUG Starting new HTTPS connection (1): ]8;id=785739;file:///Users/rupert/.local/pipx/venvs/cumulusci/lib/python3.10/site-packages/urllib3/\]8;;\:]8;id=716435;file:///Users/rupert/.local/pipx/venvs/cumulusci/lib/python3.10/s
RupertBarrow /
Created May 11, 2022 08:05 — forked from olih/
jq Cheet Sheet

Processing JSON using jq

jq is useful to slice, filter, map and transform structured json data.

Installing jq

On Mac OS

brew install jq

RupertBarrow / diagram.css
Created January 3, 2022 07:19 — forked from isaacplmann/diagram.css
D3 Diagram with left/right aligned links
#chart text {
fill: white;
font: 10px Helvetica;
text-anchor: end;
line {
/*stroke: black;*/
RupertBarrow /
Last active July 15, 2024 02:09
Gestion des badges de test

Gestion des badges générés par Github Actions

RupertBarrow / SFDX - how to reinstall a new version on
Last active July 26, 2020 12:34
SFDX - reinstall a new version on MacOS

Type the following commands to uninstall the current version (taken from here):

sudo rm -rf /usr/local/sfdx
sudo rm -rf /usr/local/lib/sfdx
sudo rm -rf /usr/local/bin/sfdx
sudo rm -rf ~/.local/share/sfdx ~/.config/sfdx ~/.cache/sfdx
sudo rm -rf ~/Library/Caches/sfdx