Update dotfiles

This commit is contained in:
2023-08-30 08:28:14 +01:00
parent 6a8a6b879d
commit bfa0375ceb
3 changed files with 25 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/bash
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Flush DNS
# @raycast.mode fullOutput
# @raycast.packageName Browsing
# Optional parameters:
# @raycast.icon 💾
# Documentation:
# @raycast.author Andrew Williams
# @raycast.authorURL https://github.com/nikdoof
# @raycast.description Flushes DNS cache on macOS
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

View File

@@ -44,7 +44,7 @@ function demoprompt() {
# Tag the file as OK to run # Tag the file as OK to run
function itsok() { function itsok() {
if [[ $(uname) == "Darwin" ]]; then if [[ $(uname) == "Darwin" ]]; then
xattr -r -d com.apple.quarantine $1 xattr -d com.apple.quarantine $1
else else
echo 'This only works on macOS...' echo 'This only works on macOS...'
fi fi

View File

@@ -1,3 +1,5 @@
Include ~/.orbstack/ssh/config
Include config-private Include config-private
User nikdoof User nikdoof
@@ -12,3 +14,8 @@ Host *
ServerAliveInterval 60 ServerAliveInterval 60
ServerAliveCountMax 30 ServerAliveCountMax 30
VerifyHostKeyDNS ask VerifyHostKeyDNS ask
Host 10.101.2.242 10.3.1.2
KexAlgorithms +diffie-hellman-group1-sha1
HostKeyAlgorithms=+ssh-rsa,ssh-dss
Ciphers +aes256-cbc