- Install Xfce package:
sudo apt update
sudo apt install -y xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils
- Installing Xrdp:
#!/usr/bin/python3 | |
import argparse | |
import logging | |
import subprocess | |
import os | |
import tempfile | |
from tempfile import mkstemp | |
import configparser | |
import gzip |
wget https://dl.bintray.com/boostorg/release/1.71.0/source/boost_1_71_0.tar.gz
tar -xzf boost_1_71_0.*
Run the following code in the console and it will prevent you from disconnecting.
var startClickConnect = function startClickConnect(){
var clickConnect = function clickConnect(){
For people receiving the Permission denied (publickey)
error despite the other solutions here, the problem is likely that the server is set not to accept passwords. To change this, you need to get into the server (many services will allow you to access with a password via a virtual console on their management console) and:
nano /etc/ssh/sshd_config
Find PasswordAuthentication no
and change it to yes
, and uncomment it.
Run sudo service sshd restart
(or sudo systemctl restart sshd
if using systemd services)
Now try to log in, from a remote server, using one of the methods, such as ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no [email protected]
or ssh user:@host_ip
colon after username.
# timer.py | |
""" | |
Usage: | |
>>> from timer import Timer | |
>>> t = Timer() ## or for logger: t = Timer(logger=logger.info) | |
>>> t.start() | |
>>> t.stop() # A few seconds later | |
Elapsed time: 3.8191 seconds | |
""" |
project_name/ | |
│ | |
├── data/ # All data-related directories and files | |
│ ├── raw/ # Original, immutable data dump | |
│ ├── processed/ # Data transformed for modeling, such as TFRecords or HDF5 | |
│ ├── interim/ # Temporary processed datasets, possibly smaller or for prototyping | |
│ | |
├── docs/ # Project documentation | |
│ ├── api/ # API reference | |
│ ├── design_docs/ # Design documents, architectural choices |