Autoconnect to VPN on boot in Ubuntu

You must have the protonvpn-cli installed (the official one, not the community version). [Unit] Description=Connect to protonvpn, fastest server, after user login [Service] Type=simple ExecStart=protonvpn-cli connect –fastest [Install] Create this script with: nano ~/.config/systemd/user/protonvpn_start_on_login.service Then run: systemctl –user enable protonvpn_start_on_login Then check the status of the script after you log in (should say […]

Bokmärke PCA  

RStudio logical expressions

Kom-ihåg lista: Operator Description ! Logical NOT & Element-wise logical AND && Logical AND | Element-wise logical OR || Logical OR   Operator Description < Less than > Greater than <= Less than or equal to >= Greater than or equal to == Equal to != Not equal to   Operator Description + Addition – […]

Remove all images in a wordpress installation

Recently one image got entangled by a copyright claim from Copyright Agent on the website Frå, an author had by mistake and unknowingly uploaded a photo belonging to TT and now had to pay a hefty fee. To avoid any further expensive mistakes, and in all a bit of a haste, I decided to write […]

Logistisk regression i R – backup

Backup av denna artikel: Logit Regression | R Data Analysis Examples   Logit Regression | R Data Analysis Examples   Logistic regression, also called a logit model, is used to model dichotomous outcome variables. In the logit model the log odds of the outcome is modeled as a linear combination of the predictor variables. This […]

Ted talk

Are my thoughts useful? How do they behave?