Jupyter Notebook Server installation

Jupyter Notebook Server installation

Create a new user For this example, we will be using a Linux username hyperion. In order to create a new user in Linux and set up a password, use the following commands: Note: -m is required in order to create user’s home directory the command to remove the user is: userdel hyperion To make sure that the user has been created, […]

Logging GNU screen command output

Logging GNU screen command output

Previously I described how to use GNU screen to run bash commands in background. In addition to that, if sometimes it happens that a detached command terminates before completion, we would like to have logs for that command, e.g., in order to determine why and when an error occurred. This post explains how to log the progress of a command […]

PsychoPy – a basic example

PsychoPy – a basic example

PsychoPy is an excellent tool for preparing psychological experiments in Python. However, it seems that entry-level examples one can find in the web are rather sophisticated. Hence, I prepared this basic example featuring: Installing PsychoPy on Linux Displaying a simple stimulus Simplest possible keyboard event Installing PsychoPy on Linux Open a terminal (5 Ways to Open a Terminal Console Window […]

(Auto)start application as a service in Linux

(Auto)start application as a service in Linux

Two examples how to autostart services in Linux will be presented here. To run applications you have to use systemd suite. Systemd configuration files are stored at: Jupyter Create a new file at: Copy-paste the following configuration there: Where: $USER — is a username who owns the resources containing you instance/virtual environment $VENV_ID — ID of your virtual environment Start […]