This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Commitizen custom configuration. | |
# Here we extend it to add all our recognised types into the changelog. | |
# The default ignores pretty-much anything other than 'feat' and 'fix'. | |
# | |
# See the default at... | |
# https://github.com/commitizen-tools/commitizen/ | |
# blob/095f02e6c419b60c90aa84b8cebc9e9eacc8a391/commitizen/defaults.py#L83 | |
commitizen: | |
name: cz_customize |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See https://docs.docker.com/buildx/working-with-buildx | |
# Here I'm on macOS (11.6.5) | |
# and using Docker Desktop (4.7.1) | |
# Multi-architecture build (Docker Desktop) | |
# Create an isolated buildx instance... | |
docker buildx create --name mybuilder | |
docker buildx use mybuilder | |
# Build something for amd64 and arm64... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
"""A recursive Python 3 utility to combine ('contract') a numerical sequence of | |
'objects' ensuring that combinations of consecutive objects only occurs once. | |
The sequence of objects is referred to by a numerical index with a minimum value of | |
'1' and a contiguous unbroken sequence of values up to 'N'. | |
This optimises the calculation of different combinations by ensuring that | |
no two consecutive combinations are computed more than once. The user is expected to | |
iteratively combine 'M' groups of objects using different 'partitions'. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I find the following VisualStudio Code extensions useful for general development. | |
- Python Extensions Pack (Don Jayamanne) | |
- SQLTools (Matheus Teixeira) | |
- SQLTools PostgreSQL/Cockroach Driver (Matheus Teixeira) | |
- Code Spell Checker (Street Side Software) | |
- Conventional Commits (vivaxy) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"folders": [ | |
{ | |
"path": "squonk2-data-manager.wiki" | |
}, | |
{ | |
"path": "squonk2-data-manager" | |
}, | |
{ | |
"path": "squonk2-data-manager-ansible" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"folders": [ | |
{ | |
"path": "squonk2-account-server.wiki" | |
}, | |
{ | |
"path": "squonk2-account-server" | |
}, | |
{ | |
"path": "squonk2-account-server-ansible" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"folders": [ | |
{ | |
"path": "squonk2-data-manager-job-tester" | |
}, | |
{ | |
"path": "squonk2-data-manager-job-decoder" | |
}, | |
{ | |
"path": "squonk2-data-manager-job-utilities" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import os | |
import base64 | |
# Use the Python requests module | |
# (you'll need to have PIP-installed this - it's not part of core Python) | |
import requests | |
# The keycloak credentials (sensitive). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"folders": [ | |
{ | |
"path": "Diamond/fragalysis-backend" | |
}, | |
{ | |
"path": "Diamond/dls-fragalysis-stack-kubernetes" | |
}, | |
{ | |
"path": "Diamond/fragalysis-stack" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"folders": [ | |
{ | |
"path": "squonk2-python-cl-tools" | |
}, | |
{ | |
"path": "squonk2-admin" | |
}, | |
{ | |
"path": "squonk2-deck" |