Purpose:
Retrieve greatest semantic version from any Github releases page.
curl(7.88.1)jq(1.6)- ℹ️ Releases MUST follow Semantic Versioning 2.0.0
Purpose:
Retrieve greatest semantic version from any Github releases page.
curl (7.88.1)jq (1.6)Many vendors of nowadays quite old image and document scanners offer no updated drivers for Windows 10 and newer. Usually only 32bit drivers are available up to WinXP, Vista and Win7. After all, since Windows 10, most of us are running 64bit systems converting those devices into bricks - unless you use Linux.
Solution: Use Linux - in our case WSL provided by Windows to resurrect those beloved scanners.
💡 Versions I used to run things:
| #!/usr/bin/env bash | |
| # | |
| # ssh-crypt | |
| # | |
| # Bash function to encrypt/decrypt with your ssh-agent private key. | |
| # Requires the commands gzip, ssh-add, ssh-keygen and openssl. | |
| # | |
| # Uses bash-specific extensions like <<<$var to securely pass data. | |
| # | |
| # Wout.Mertens@gmail.com 2021-11-11 - MIT Licensed |
| title | author | date | source | notoc |
|---|---|---|---|---|
LDAP Search Filter Cheatsheet |
Jon LaBelle |
January 4, 2021 |
true |
| import jenkins.model.* | |
| import com.cloudbees.plugins.credentials.* | |
| import com.cloudbees.plugins.credentials.common.* | |
| import com.cloudbees.plugins.credentials.domains.* | |
| import com.cloudbees.plugins.credentials.impl.* | |
| import com.cloudbees.jenkins.plugins.sshcredentials.impl.* | |
| import org.jenkinsci.plugins.plaincredentials.* | |
| import org.jenkinsci.plugins.plaincredentials.impl.* | |
| import hudson.util.Secret | |
| import hudson.plugins.sshslaves.* |
| #To Decrypt Jenkins Password from credentials.xml | |
| #<username>jenkins</username> | |
| #<passphrase>your-sercret-hash-S0SKVKUuFfUfrY3UhhUC3J</passphrase> | |
| #go to the jenkins url | |
| http://jenkins-host/script | |
| #In the console paste the script | |
| hashed_pw='your-sercret-hash-S0SKVKUuFfUfrY3UhhUC3J' |
| import java.security.Key | |
| import java.security.KeyStore | |
| if (args.length < 3) | |
| throw new IllegalArgumentException('Expected args: <Keystore file> <Keystore format> <Keystore password> <alias> <key password>') | |
| def keystoreName = args[0] | |
| def keystoreFormat = args[1] | |
| def keystorePassword = args[2] | |
| def alias = args[3] |