add presentation url

This commit is contained in:
Wyatt Miller 2019-11-13 15:25:49 -05:00
parent 0ae3bb2244
commit 7eeae52b4e
3 changed files with 37 additions and 2 deletions

33
parsec-fedora Normal file
View File

@ -0,0 +1,33 @@
#!/bin/bash
cd ~/ || exit 1
mkdir parsec_tmp
cd parsec_tmp || exit 1
grep -q 'opensuse' /etc/os-release
isopensuse=$?
if [ $isopensuse -eq 0 ]; then
sudo zypper -n in debhelper
wget http://download.opensuse.org/repositories/home:/Asukero/openSUSE_Tumbleweed/i586/alien-8.88-4.16.i586.rpm
alien_file=$(ls alien*)
yes | sudo rpm -i --force "${alien_file}"
else
sudo dnf -y install alien rpmrebuild
fi
wget https://s3.amazonaws.com/parsec-build/package/parsec-linux.deb
sudo alien -r parsec-linux.deb
parsec_file=$(ls parsec*.rpm)
if [ $isopensuse -eq 0 ]; then
yes | sudo rpm -i --force "${parsec_file}"
else
arch=$(uname -m)
rpmrebuild -p --change-spec-whole='sed "/\"\/\"\|\"\/usr\"\|\"\/usr\/bin\"/d"' --directory=. "${parsec_file}"
sudo dnf -y install "${arch}"/"${parsec_file}"
echo "Note: run 'sudo dnf remove alien rpmrebuild' if you don't want to keep those packages after install."
fi
cd ../ || exit 1
rm -rf parsec_tmp
echo "Now use parsecd in the terminal to start parsec."
echo "Enjoy Gaming!"

View File

@ -8,5 +8,3 @@ What's happening, my fellow developers?
Want to go [back to the site?](https://wyattjmiller.com)
<br>
<br>
<br>

4
src/eco202pres.php Normal file
View File

@ -0,0 +1,4 @@
<?
$url = "https://docs.google.com/presentation/d/1pLF2JgItDBqmTCm6upLffkmXI6B-WL4SzkMJ_xvWARI/edit";
header("Location: " . $url);
?>