mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-03 08:32:51 +01:00
parent
d5037e0eca
commit
113b794be8
6
bashrc
6
bashrc
@ -840,6 +840,12 @@ github-add-pulls() {
|
|||||||
git config --add remote.upstream.fetch '+refs/pull/*/head:refs/remotes/upstream/-pr/*'
|
git config --add remote.upstream.fetch '+refs/pull/*/head:refs/remotes/upstream/-pr/*'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
serversslcertfp() {
|
||||||
|
openssl s_client -connect $1 < /dev/null 2>/dev/null|openssl x509 -fingerprint -md5 -noout -in /dev/stdin
|
||||||
|
openssl s_client -connect $1 < /dev/null 2>/dev/null|openssl x509 -fingerprint -sha1 -noout -in /dev/stdin
|
||||||
|
openssl s_client -connect $1 < /dev/null 2>/dev/null|openssl x509 -fingerprint -sha256 -noout -in /dev/stdin
|
||||||
|
}
|
||||||
|
|
||||||
# .custom
|
# .custom
|
||||||
if [ -f ~/.custom ]; then
|
if [ -f ~/.custom ]; then
|
||||||
source ~/.custom
|
source ~/.custom
|
||||||
|
6
zshrc
6
zshrc
@ -818,6 +818,12 @@ github-add-pulls() {
|
|||||||
git config --add remote.upstream.fetch '+refs/pull/*/head:refs/remotes/upstream/-pr/*'
|
git config --add remote.upstream.fetch '+refs/pull/*/head:refs/remotes/upstream/-pr/*'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
serversslcertfp() {
|
||||||
|
openssl s_client -connect $1 < /dev/null 2>/dev/null|openssl x509 -fingerprint -md5 -noout -in /dev/stdin
|
||||||
|
openssl s_client -connect $1 < /dev/null 2>/dev/null|openssl x509 -fingerprint -sha1 -noout -in /dev/stdin
|
||||||
|
openssl s_client -connect $1 < /dev/null 2>/dev/null|openssl x509 -fingerprint -sha256 -noout -in /dev/stdin
|
||||||
|
}
|
||||||
|
|
||||||
# Source files for miscannellious modifications.
|
# Source files for miscannellious modifications.
|
||||||
|
|
||||||
# .custom
|
# .custom
|
||||||
|
Loading…
Reference in New Issue
Block a user