From 027f0646b3e4be2633126cbd234b22a8d3098942 Mon Sep 17 00:00:00 2001 From: steveokard Date: Wed, 11 Aug 2021 14:43:10 -0400 Subject: [PATCH 1/2] auto install desktop apps --- desktop.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 desktop.sh diff --git a/desktop.sh b/desktop.sh new file mode 100755 index 0000000..aa3567c --- /dev/null +++ b/desktop.sh @@ -0,0 +1,16 @@ +#Installs programs I use on a personal desktop that aren't part of the usual repositories +#Telegram, Discord, Guilded +function dpkg_url() { + local tmp_deb="$(mktemp)" + local src_url=$1 + local args=${@:2} + + wget -O $tmp_deb $src_url && + sudo dpkg -i $tmp_deb $args && + { rm -f $tmp_deb; true; } || # commands above succeeded, remove tmp file + { rm -f $tmp_deb; false; } # commands above failed, remove tmp file anyway +} + +wget https://telegram.org/dl/desktop/linux +dpkg_url https://discord.com/api/download?platform=linux&format=deb +dpkg_url https://www.guilded.gg/downloads/Guilded-Linux.deb From d43ec4b2e2a4fd11d49db25f898f7d726c5aad08 Mon Sep 17 00:00:00 2001 From: steveokard Date: Wed, 11 Aug 2021 14:56:03 -0400 Subject: [PATCH 2/2] change router key --- config/.ssh/config | 1 - 1 file changed, 1 deletion(-) diff --git a/config/.ssh/config b/config/.ssh/config index e140887..37f4c04 100644 --- a/config/.ssh/config +++ b/config/.ssh/config @@ -23,4 +23,3 @@ Host github.com Host router Hostname 192.168.1.1 User root - IdentityFile ~/.ssh/stevserver_rsa