It’s quite easy. It’s also basically not findable on the web. Probably because a simple Provides the answer.
use jenkin’s ExtendedChoiceParameterDefinition for multi-select user input
Check Jenkins’ own documentation for an unnecessarily complicated but at least almost complete overview of available input declarations: https://jenkins.io/doc/pipeline/steps/pipeline-input-step/ Get a list of available types here: https://github.com/jenkinsci/extended-choice-parameter-plugin/blob/master/src/main/java/com/cwctravel/hudson/plugins/extended_choice_parameter/ExtendedChoiceParameterDefinition.java#L90 Get a list of all parameters of the ExtendedChoiceParamterDefinition here: https://github.com/jenkinsci/extended-choice-parameter-plugin/blob/master/src/main/java/com/cwctravel/hudson/plugins/extended_choice_parameter/ExtendedChoiceParameterDefinition.java#L344 This SO was useful to get an idea of how to use it in pipelines and resulted… Continue Reading use jenkin’s ExtendedChoiceParameterDefinition for multi-select user input
ERROR: Service failed to build: invalid reference format
Docker gave me this error today when running a Running the build command manually instead of using docker-compose gave me: The issue is with the image tag: “:1.16:1“. It must be “:1.16.1“. Just as a reminder of how important it is to be thorough and, of course, what the error might mean if you encounter… Continue Reading ERROR: Service failed to build: invalid reference format
Install docker-machine on osx
Because since recently, whenever I update Docker, my docker-machine command is gone and I keep forgetting how to re-install it: This is to save time next time it happens. Instructions provided on docker/machine Github.
talking ssl-enabled smtp with php
This is just a repost so I remember. When talking SMTP via a PHP script with a webserver, remember to initiate with “EHLO” instead of the usual “HELO”. HELO does not allow for STARTTLS. Details: fwrite(): SSL operation failed with code 1. OpenSSL Error messages:error:1420C0CF:SSL routines:ssl_write_internal:protocol is shutdown
repost: remember how to manage root cas in centos
Basically this: How to add Certificate Authority file in CentOS 7 But more importantly: Check if the so installed new CA has made it into the recognized system CAs by doing this: Reference: How do I list all available SSL CA certificates on CentOS 6
clear all open panes in iterm2
These shortcuts and functions in iterm2 just made my life so much easier: clear buffer Cmd + k clear lines (Bash command) Ctrl + l input to all panes in current tab Cmd + Alt + i I clear panes quite often when working with containers and I usually have quite a number of panes open. Being able… Continue Reading clear all open panes in iterm2
managing disks and using lvm (and other tools)
This is probably one of the best posts:https://www.rootusers.com/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk/ Just a collection of some links that I found nifty, dealing with disks on Linux: fdisk -l or parted -l, lsblk (aka list block devices)List all hard disks connected to a CentOS system – lshwCheck for hard disk errors / signs of failure on CentOS ServerCentOS /… Continue Reading managing disks and using lvm (and other tools)
human progress
If you ever feel like the world is falling apart, that every outlook is pessimistic, keep in mind that: Now this does NOT mean that complacency should be your aim. Always stay critical. But do a situation check from time to time, to keep in touch.
a very cool video from open-ai
Just throwing this out there, as I found it pretty impressive: OpenAI Plays Hide and Seek…and Breaks The Game!