ssh root@IP_ADDRESSnano /etc/nginx/sites-enabled/default- add this at the bottom of the file:
server {
listen 80;
listen [::]:80;
server_name YOUR_DOMAIN_NAME_HERE;
| cd fonts | |
| mv *.ttf /usr/share/fonts/truetype | |
| cd /usr/share/fonts/truetype | |
| mkfontscale | |
| mkfontdir | |
| fc-cache | |
| xset fp rehash |
ssh root@IP_ADDRESSnano /etc/nginx/sites-enabled/defaultserver {
listen 80;
listen [::]:80;
server_name YOUR_DOMAIN_NAME_HERE;
| @ECHO OFF | |
| cd /nginx | |
| taskkill /f /IM nginx.exe | |
| start nginx | |
| EXIT |
| #! /usr/bin/env sh | |
| T0=$(date +%s) | |
| while [ $(( `date +%s` - T0 )) -lt 10 ]; do | |
| [ -z "$(xdotool $@ 2>&1)" ] && break | |
| sleep 0.1 | |
| done |
| // 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
| // You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
| (() => { | |
| const SHOW_SIDES = false; // color sides of DOM nodes? | |
| const COLOR_SURFACE = true; // color tops of DOM nodes? | |
| const COLOR_RANDOM = false; // randomise color? | |
| const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
| const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
| const THICKNESS = 20; // thickness of layers | |
| const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
Note
This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.
How to use this script:
Console tab