MacBook Air(macOS Catalina) & Ubuntu 20.04 connected on the same network locally.
- Install XRDP and enable
sudo apt install xrdp
sudo systemctl enable xrdp
sudo systemctl start xrdp
# | |
# This is the main Apache HTTP server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information. | |
# In particular, see | |
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html> | |
# for a discussion of each configuration directive. | |
# | |
# Do NOT simply read the instructions in here without understanding | |
# what they do. They're here only as hints or reminders. If you are unsure |
def is_illegal(input): | |
words = input.split(" ") | |
for word in words: | |
if word in "ENGLISH_WORDS": | |
return "ILLEGAL" | |
for char in word: | |
if char in [" ", "\n", "\t"]: | |
return "ILLEGAL" | |
return None |