-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:Maxattax97/miscellaneous
- Loading branch information
Showing
11 changed files
with
387 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -460,6 +460,11 @@ case "$response" in | |
# AWS CLI Team | ||
gpg --keyserver keyserver.ubuntu.com --receive-keys FB5DB77FD5C118B80511ADA8A6310ACC4672475C | ||
|
||
# Github CLI: [email protected] | ||
## You may need this: | ||
## https://github.com/cli/cli/issues/9569 | ||
gpg --receive-keys 2C6106201985B60E6C7AC87323F3D4EA75716059 | ||
|
||
if [ -s /bin/zsh ]; then | ||
if [[ ! "$SHELL" =~ "zsh" ]]; then | ||
chsh -s /bin/zsh "${USER}" | ||
|
@@ -842,8 +847,7 @@ case "$response" in | |
p7zip \ | ||
qalculate-gtk \ | ||
qemu \ | ||
rar \ | ||
yt-dlp | ||
rar | ||
|
||
brew install --cask \ | ||
brave-browser \ | ||
|
@@ -914,7 +918,6 @@ case "$response" in | |
if [[ -x "$(command -v yay)" ]]; then | ||
yay -Syu "$AUTOMATED_PACMAN_FLAGS" \ | ||
brave-bin \ | ||
yt-dlp \ | ||
--needed | ||
fi | ||
elif [[ -x "$(command -v pkg)" ]]; then | ||
|
@@ -931,7 +934,6 @@ case "$response" in | |
touchegg \ | ||
unrar \ | ||
veracrypt \ | ||
yt-dlp \ | ||
zathura \ | ||
zathura-pdf-mupdf | ||
fi | ||
|
@@ -966,6 +968,12 @@ case "$response" in | |
esac | ||
fi | ||
|
||
# Install yt-dlp, to nightly edition | ||
if [[ ! -x "$(command -v yt-dlp)" ]]; then | ||
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ~/.local/bin/yt-dlp | ||
chmod a+rx ~/.local/bin/yt-dlp | ||
yt-dlp --update-to nightly | ||
fi | ||
;; | ||
*) | ||
echo "Skipping workstation utility installation" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/sh | ||
|
||
check_dns() { | ||
domain=$1 | ||
authority=$2 | ||
nameserver=$3 | ||
|
||
printf "[1;34m%s[0m" "${authority}" | ||
dig "$domain" "@${nameserver}" +tries=1 | ||
} | ||
|
||
domain="www.maxocull.com" | ||
|
||
check_dns "$domain" "Namecheap Free DNS" "dns1.registrar-servers.com" | ||
check_dns "$domain" "Namecheap Premium DNS" "pdns1.registrar-servers.com" | ||
check_dns "$domain" "Google" "8.8.8.8" | ||
check_dns "$domain" "Quad9" "9.9.9.9" | ||
check_dns "$domain" "Cloudflare" "1.1.1.1" | ||
check_dns "$domain" "DuckDNS" "ns1.duckdns.org" | ||
check_dns "$domain" "Local DNS" "192.168.1.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Mikrotik | ||
|
||
- [Packet Flow Diagrams](https://help.mikrotik.com/docs/display/ROS/Packet+Flow+in+RouterOS) |
Oops, something went wrong.