Compare commits
3 commits
5f325914b9
...
c3d36849d9
Author | SHA1 | Date | |
---|---|---|---|
c3d36849d9 | |||
99a52c4d99 | |||
d08429d16c |
3 changed files with 10 additions and 7 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
[[ -z $1 ]] && { echo "where to get the cert?" >&2; exit 1; }
|
||||
|
||||
PORT=${2:-443}
|
||||
|
||||
fetch() {
|
||||
if [[ $1 == "-" ]]
|
||||
then
|
||||
|
@ -15,7 +17,7 @@ fetch() {
|
|||
}
|
||||
|
||||
fetch_remote() {
|
||||
: | openssl s_client -connect $1:443 2>/dev/null| awk '/BEGIN CERTIFICATE/,/END CERTIFICATE/'
|
||||
: | openssl s_client -connect $1:${PORT} 2>/dev/null| awk '/BEGIN CERTIFICATE/,/END CERTIFICATE/'
|
||||
}
|
||||
|
||||
fetch_file() {
|
||||
|
|
|
@ -46,12 +46,9 @@ local server_configs = function()
|
|||
-- {{{
|
||||
settings = {
|
||||
Lua = {
|
||||
workleader = {
|
||||
checkThirdParty = false,
|
||||
},
|
||||
completion = {
|
||||
callSnippet = 'Replace',
|
||||
},
|
||||
workspace = { checkThirdParty = false, },
|
||||
telemetry = { enable = false },
|
||||
completion = { callSnippet = 'Replace', },
|
||||
},
|
||||
},
|
||||
}, -- }}}
|
||||
|
|
|
@ -43,6 +43,10 @@ alias ssh='kitten ssh'
|
|||
alias podr='podman run -it --rm'
|
||||
alias podrs='podman run -it --rm --entrypoint /bin/sh'
|
||||
|
||||
alias ffprobe='ffprobe -hide_banner'
|
||||
alias ffmpeg='ffmpeg -hide_banner'
|
||||
alias ffplay='ffplay -hide_banner'
|
||||
|
||||
alias kubegen='kubectl create --dry-run=client -oyaml'
|
||||
alias k=kubectl
|
||||
alias kg='kubectl get'
|
||||
|
|
Loading…
Add table
Reference in a new issue