Need to setup gpg-agent first, on OSX I use keychain (it also does ssh-agent)
$ brew info keychain
keychain: stable 2.8.5
User-friendly front-end to ssh-agent(1)
https://www.funtoo.org/Keychain
/usr/local/Cellar/keychain/2.8.5 (7 files, 108.5KB) *| TITLE=PlayStation | |
| UP=up | |
| 0000 0067 0000 0080 0060 0018 0030 0017 0018 0017 0018 0017 0030 0017 0030 0017 0030 0017 002F 0018 0018 0017 0030 0017 0018 0017 002F 0018 0030 0017 002F 0018 0018 0017 0018 0017 0030 0017 0018 0017 0018 0017 0030 0017 0018 01E2 0060 0018 0030 0017 0018 0017 0018 0017 0030 0017 002F 0018 0030 0017 002F 0018 0018 0017 0030 0017 0018 0017 0030 0017 0030 0017 0030 0017 0018 0017 0018 0017 002F 0018 0018 0017 0018 0017 0030 0017 0018 01E2 0060 0017 0030 0017 0018 0017 0018 0017 0030 0017 0030 0017 002F 0018 0030 0017 0018 0017 0030 0017 0018 0017 0030 0017 0030 0017 0030 0017 0018 0017 0018 0017 0030 0017 0018 0017 0018 0017 0030 0017 0018 01E2 0060 0017 0018 0017 0018 0017 0030 0017 0018 0017 0030 0017 0018 0017 0030 0017 0018 0017 0030 0017 0018 0017 0030 0017 002F 0018 0018 0017 0030 0017 0018 0017 0030 0017 0030 0017 0018 0017 0030 0017 002F 01E2 0060 0018 0018 0017 0018 0017 0030 0017 0018 0017 0030 0017 0018 0017 0030 0017 0018 0017 0030 0017 0018 0017 0030 0017 0030 0017 0018 0017 |
| --- | |
| version: "3.9" | |
| services: | |
| zookeeper: | |
| image: confluentinc/cp-zookeeper:7.2.1 | |
| environment: | |
| ZOOKEEPER_CLIENT_PORT: 2181 | |
| ZOOKEEPER_TICK_TIME: 2000 | |
| kafka: |
| var https = require('https'), | |
| user = process.argv[2], | |
| opts = parseOpts(process.argv.slice(3)) | |
| request('/users/' + user, function (res) { | |
| if (!res.public_repos) { | |
| console.log(res.message) | |
| return | |
| } | |
| var pages = Math.ceil(res.public_repos / 100), |
| import java.io.IOException; | |
| import java.nio.charset.StandardCharsets; | |
| import java.nio.file.Files; | |
| import java.nio.file.Path; | |
| import java.nio.file.Paths; | |
| import java.nio.file.StandardOpenOption; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.stream.Collectors; |
Curl doesn't have support for java keystore file, so therefor the file should be converted to a PEM format. It consists of the following multiple steps:
Press minus + shift + s and return to chop/fold long lines!