This is simply a re-post of How to find out which processes are using swap space in Linux? which in return is based on northernmost.org’s Swap Usage – 5 Years Later Use like this:
Just as a reminder to myself, I will repost this post on baeldung: Recursively Deleting Files With a Specific Extension Get an idea of what you’ll be deleting: Reminder: Do backups and check that you’re in the correct location before starting the execution.
If you find yourself in a situation like us, wanting to know how many and which services in a docker swarm are using a specific secret, this might help you:
Currently my main editor is Visual Studio Code, which Microsoft has done a marvellous job on. Despite installing various extensions for the various things I’m working with, I will collect some tweaks here that I usually do, so I can remember them later: Navigate between tabs with Cmd+<number> Add the Cmd+<number> keybinding to your keybindings.json… Continue Reading vs code tweaks
Install Docker-Desktop: https://www.docker.com/products/docker-desktop Enable Kubernetes Cluster bundled with Docker: https://docs.docker.com/docker-for-mac/#kubernetes Install helm: https://helm.sh/docs/intro/quickstart/ Add kubectl and helm commandline completion to .zshrc: source <(kubectl completion zsh)source <(helm completion zsh)
I am currently debugging a 10+ year old PHP project, trying to migrate it to PHP 7.2 While debugging VSCode would start giving me “error evaluating code” and jump out of the debug session after the first step. When I stopped the debugger and reloaded the page, the page would load fine. So it didn’t… Continue Reading debugging in vscode
Just a repost of SSH jump host. To remember in the future.
I’ve had this issue a couple of times and I formulated a devops-stackexchange question eventually. Although I do not yet really have a way to debug the NEW state, there is some information there: Docker container stuck in “new” state – Docker swarm – service stack
It’s quite easy. It’s also basically not findable on the web. Probably because a simple Provides the answer.
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