This file contains hidden or 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
if (new URLSearchParams(window.location.search).get('portal')) { | |
// <create start portal> | |
// Create portal group to contain all portal elements | |
const startPortalGroup = new THREE.Group(); | |
startPortalGroup.position.set(SPAWN_POINT_X, SPAWN_POINT_Y, SPAWN_POINT_Z); | |
startPortalGroup.rotation.x = 0.35; | |
startPortalGroup.rotation.y = 0; | |
// Create portal effect |
This file contains hidden or 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 | |
SSHPK="..." | |
MYSQLP="..." | |
MYSQLDB="..." | |
USERP="..." | |
ufw allow http | |
ufw allow https | |
ufw allow mysql | |
ufw allow ssh | |
echo y | ufw enable |