Skip to content

Instantly share code, notes, and snippets.

View lanimall's full-sized avatar

Fabien Sanglier lanimall

View GitHub Profile
/* JS script to share all albums in Immich with another user.
* Login to Immich as admin, paste following code into Chrome DevTools console and run.
* Can be run multiple times, e.g. after adding new albums on changing user's role.
*
* Change the user login and assigned role to suit needs on the first 2 lines
*/
let login = "[email protected]"
let role = "editor" // Possible values: [editor, viewer]
@bvis
bvis / Jenkinsfile
Last active March 31, 2025 22:37
Jenkin pipeline definition example to be integrated with Docker Swarm cluster in our CI/CD environment
pipeline {
agent { node { label 'swarm-ci' } }
environment {
TEST_PREFIX = "test-IMAGE"
TEST_IMAGE = "${env.TEST_PREFIX}:${env.BUILD_NUMBER}"
TEST_CONTAINER = "${env.TEST_PREFIX}-${env.BUILD_NUMBER}"
REGISTRY_ADDRESS = "my.registry.address.com"
SLACK_CHANNEL = "#deployment-notifications"