Skip to content

Instantly share code, notes, and snippets.

View nosmall's full-sized avatar

Jirka aka NOsmall or NoSmallCZ nosmall

View GitHub Profile
@nosmall
nosmall / chrome settings manageProfile
Created March 20, 2019 08:34
chrome://settings/manageProfile
chrome://settings/manageProfile
@nosmall
nosmall / BATCH_script_for_Rclone_with_email_notification.bat.md
Last active March 2, 2023 14:50
BATCH script for Rclone with email notification

BATCH script for Rclone with email notification

Tools

  • mailsend-go - mailsend-go is a multi-platform command line tool to send mail via SMTP protocol
  • Rclone - Rclone is a command line program to sync files and directories

rclone-sync-v1.bat

* Sends an email with the log file only if the file is not empty.

@ECHO OFF
@nosmall
nosmall / screen.md
Created March 24, 2020 11:48 — forked from arthuralvim/screen.md
GNU Screen Commands

Screen Commands

On the command prompt, type screen. Run the desired program. Use the key sequence ctrl-a + ctrl-d to detach from the screen session. Reattach to the screen session by typing screen -r.

List running screen sessions

$ screen -list

or

@nosmall
nosmall / Install PLEX Media Server on Ubutnu 20.04.md
Last active June 9, 2020 15:32
Install PLEX Media Server on Ubutnu 20.04

Install (PMS) PLEX Media Server on Ubutnu 20.04

Update OS

minimal

sudo apt update -y
sudo apt upgrade -y 
sudo apt install -y apt-transport-https
sudo apt install -y curl
@nosmall
nosmall / imapsync.md
Last active July 15, 2024 07:43
Imapsync on Ubuntu 20.04 (lazy guide)

Imapsync on Ubuntu 20.04 (lazy guide)

sudo apt install -y libauthen-ntlm-perl libclass-load-perl libcrypt-ssleay-perl libdata-uniqid-perl libdigest-hmac-perl libdist-checkconflicts-perl libencode-imaputf7-perl libfile-copy-recursive-perl libfile-tail-perl libio-compress-perl libio-socket-inet6-perl libio-socket-ssl-perl libio-tee-perl libmail-imapclient-perl libmodule-scandeps-perl libnet-dbus-perl libnet-ssleay-perl libpar-packer-perl libreadonly-perl libregexp-common-perl libsys-meminfo-perl libterm-readkey-perl libtest-fatal-perl libtest-mock-guard-perl libtest-mockobject-perl libtest-pod-perl libtest-requires-perl libtest-simple-perl libunicode-string-perl liburi-perl libtest-nowarnings-perl libtest-deep-perl libtest-warn-perl make cpanminus && \
cd ~/ && \
git clone https://github.com/imapsync/imapsync.git && \
cd ~/imapsync/ && \
sudo ln -s ~/imapsync/imapsync /usr/bin/imapsync && \
imapsync --testslive

openvpn-install

OpenVPN road warrior installer for Ubuntu, Debian, CentOS and Fedora.

This script will let you set up your own VPN server in no more than a minute, even if you haven't used OpenVPN before. It has been designed to be as unobtrusive and universal as possible.

Installation

Run the script and follow the assistant:

wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh

@nosmall
nosmall / Deluge with Deluge-Web on Ubuntu 20.04 (lazy guide).md
Created June 11, 2020 11:45
Deluge with Deluge-Web on Ubuntu 20.04 (lazy guide)

Deluge with Deluge-Web on Ubuntu 20.04 (lazy guide)

sudo su
locale-gen en_US.UTF-8 && \
update-locale && \
localectl set-locale LANG=en_US.UTF-8 && \
add-apt-repository ppa:deluge-team/stable && \
@nosmall
nosmall / qBittorrent with Web UI on Ubuntu 20.04 (lazy guide).md
Last active February 28, 2025 00:32
qBittorrent with Web UI on Ubuntu 20.04 (lazy guide)

qBittorrent with Web UI on Ubuntu 20.04 (lazy guide)

WARNING: this guide is not about security, but about functionality, for example, never run applications as root. Be cautious.

sudo su
add-apt-repository ppa:qbittorrent-team/qbittorrent-stable && \
apt install -y qbittorrent qbittorrent-nox
@nosmall
nosmall / Compacting aka Compressing Hyper-V VHDX Files of Ubuntu Linux VMs.md
Last active May 3, 2022 12:42
Compacting Hyper-V VHDX Files of Ubuntu Linux VMs
@nosmall
nosmall / Enable Remote Desktop via Group Policy - Active Directory.md
Last active October 19, 2021 14:20
Enable Remote Desktop via Group Policy - Active Directory
Computer Configuration
  > Administrative Templates
    > Network
      > Network Connections
        > Windows Firewall
          > Domain Profile
            > Windows Firewall: Allow Remote Desktop Exception