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
let drawings = canvas.drawings.controlled; | |
drawings = drawings.map(drawing =>{ | |
switch (drawing.data.type) { | |
case "f": | |
case "p": { | |
let { _id, points, rotation, x, y, width, height } = drawing.data; | |
return { id: _id, valid: true, points, rotation, x, y, width, height }; | |
} | |
case "r": { |
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
const table = game.tables.entities.find(t => t.name === "INSERT TABLE NAME HERE"); | |
table.draw(); |
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
Username/Password: | |
COPY #1 | |
apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y | |
COPY #2 | |
sudo apt update && sudo apt install apache2-utils docker.io docker-compose | |
COPY #3 |
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
Copy #1 | |
apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y | |
Copy #2 | |
nano /etc/nginx/sites-available/ | |
Copy #3 |
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
cd your/directory/path/here | |
printf '"%s",\n' * > objects.txt | |
NOTE: There are single quotes before the double quotes in %s. All spaced out these are the characters: ' " % s " , \ n ' |