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
#!/bin/bash | |
apt update && apt upgrade -y | |
apt install -y git apache2 php libapache2-mod-php sqlite php-mbstring php-xml php-common php-sqlite3 php-zip composer | |
a2enmod rewrite | |
git clone https://github.com/linuxserver/Heimdall.git /opt/heimdall | |
rm -R /var/www/html |
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
function subscribeUserToPush() { | |
return navigator.serviceWorker.register('/serviceworker.js') | |
.then(function(registration) { | |
const subscribeOptions = { | |
userVisibleOnly: true, | |
applicationServerKey: window.vapidPublicKey | |
}; | |
return registration.pushManager.subscribe(subscribeOptions); | |
}) |
I hereby claim:
- I am connorgallopo on github.
- I am gallapagosisland (https://keybase.io/gallapagosisland) on keybase.
- I have a public key ASCAYVKX5LgtMp56wizbvSzrlEwK-6d0wQnqziRcSU7cBQo
To claim this, I am signing this object: