I hereby claim:
- I am v0rts on github.
- I am v0rts (https://keybase.io/v0rts) on keybase.
- I have a public key whose fingerprint is C6AE 2758 790A F85B F7A3 15E2 FC87 A177 0A24 A87C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# minute (0-59), | |
# | hour (0-23), | |
# | | day of the month (1-31), | |
# | | | month of the year (1-12), | |
# | | | | day of the week (0-6 with 0=Sunday). | |
# | | | | | commands |
# Jenkins delete all projects for a job | |
java -jar jenkins-cli.jar -s http://my.jenkins.host delete-builds myproject '1-7499' --username $user --password $password | |
# Retrieve slave secret key via cli or console | |
# ------------------------------------------- | |
for (aSlave in hudson.model.Hudson.instance.slaves) | |
{ println aSlave.name + "," + aSlave.getComputer().getJnlpMac() } |
Starting a terminal shell for a container ( different than attaching in that you can have multiple terminals attached )
#!/bin/bash | |
# | |
# Ansible role test shim. | |
# | |
# Usage: [OPTIONS] ./tests/test.sh | |
# - distro: a supported Docker distro version (default = "centos7") | |
# - playbook: a playbook in the tests directory (default = "test.yml") | |
# - cleanup: whether to remove the Docker container (default = true) | |
# - container_id: the --name to set for the container (default = timestamp) | |
# - test_idempotence: whether to test playbook's idempotence (default = true) |
# Install HA Datadog Windows Agent on Host | |
wget https://s3.amazonaws.com/ddagent-windows-stable/ddagent-cli-latest.msi -OutFile ddagent-cli-latest.msi | |
msiexec /qn /i ddagent-cli-latest.msi APIKEY="*******" HOSTNAME="*******" TAGS="service:cicd" |
# Query AD for all users in a group | |
* dscl "/Active Directory/WVRGROUP/All Domains" -read /groups/GROUPNAME |
#!groovy | |
# Best of Jenkinsfile | |
# `Jenkinsfile` is a groovy script DSL for defining CI/CD workflows for Jenkins | |
node { | |
} |
KEYBINDINGS | |
byobu keybindings can be user defined in /usr/share/byobu/keybindings/ (or within .screenrc if byobu-export was used). The common key bindings | |
are: | |
F2 - Create a new window | |
F3 - Move to previous window | |
F4 - Move to next window |
wget --recursive --level=1 --no-directories --no-host-directories --accept pdf http://example.com |