1
0
Fork 0

Compare commits

..

3 commits

3 changed files with 10 additions and 7 deletions

View file

@ -2,6 +2,8 @@
[[ -z $1 ]] && { echo "where to get the cert?" >&2; exit 1; } [[ -z $1 ]] && { echo "where to get the cert?" >&2; exit 1; }
PORT=${2:-443}
fetch() { fetch() {
if [[ $1 == "-" ]] if [[ $1 == "-" ]]
then then
@ -15,7 +17,7 @@ fetch() {
} }
fetch_remote() { 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() { fetch_file() {

View file

@ -46,12 +46,9 @@ local server_configs = function()
-- {{{ -- {{{
settings = { settings = {
Lua = { Lua = {
workleader = { workspace = { checkThirdParty = false, },
checkThirdParty = false, telemetry = { enable = false },
}, completion = { callSnippet = 'Replace', },
completion = {
callSnippet = 'Replace',
},
}, },
}, },
}, -- }}} }, -- }}}

View file

@ -43,6 +43,10 @@ alias ssh='kitten ssh'
alias podr='podman run -it --rm' alias podr='podman run -it --rm'
alias podrs='podman run -it --rm --entrypoint /bin/sh' 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 kubegen='kubectl create --dry-run=client -oyaml'
alias k=kubectl alias k=kubectl
alias kg='kubectl get' alias kg='kubectl get'