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
.
$ screen -list
or
#!/bin/sh | |
RCLONE_CONF=$(pwd)/rclone.conf | |
RCLONE_SRC=gdrive:/cismet/backups/ | |
ROTATE_BACKUPS_PATH="*" | |
ROTATE_BACKUPS_OPTIONS="--dry-run --daily=10 --weekly=5 --monthly=13 --yearly=5" | |
# === | |
DATA=$(pwd)/data |
(In both Windows) | |
1. Go to C:\Users\{USER}\AppData\Roaming\AnyDesk | |
2. Copy & Paste 'thumbnails' | |
3. Open 'user.conf' | |
4. Replace the line 'ad.roster.items=' | |
5. Done. |
if (-not (Test-Path -Path "C:\\certs\\win-acme")) { | |
$url = "https://github.com/win-acme/win-acme/releases/download/v2.1.7/win-acme.v2.1.7.807.x64.pluggable.zip" | |
$output = "C:\\certs\\win-acme.zip" | |
Invoke-WebRequest -Uri $url -OutFile $output | |
Expand-Archive "C:\\certs\\win-acme.zip" -DestinationPath "C:\\certs\\win-acme" | |
} | |
cd "C:\\certs\\win-acme" |
NOTE: Content below is written by Adrian Mace. Click here for an updated version.
Below are the key settings that I apply on any unifi installation for optimal performance.
Enable Advanced Features
is enabledWindows Registry Editor Version 5.00 | |
; Edit with Notepad++ in Windows 11 contextmenu - by AveYo (https://gist.github.com/AveYo) | |
[-HKEY_CURRENT_USER\Software\Classes\*\shell\extract] | |
[HKEY_CURRENT_USER\Software\Classes\*\shell\extract] | |
"MuiVerb"="Edit with &Notepad++" | |
"Icon"="C:\\Program Files\\Notepad++\\notepad++.exe,0" | |
"MultiSelectModel"="Player" | |
"NeverDefault"="" | |
"AppliesTo"="NOT .zip" |
This example runs a RustDesk server (with detailed/debug logs enabled and secured with id_ed25519 key that only you can use in your machines if you configure RustDesk clients) and you can use the server resources instead of RustDesk public resources.
docker-compose.yaml
file and run sudo docker-compose up
# Usage: | |
# 1) Run this command in PowerShell, as Administrator: | |
# irm https://gist.githubusercontent.com/lalibi/c4707d4f62f174d24df4cf12348aaa65/raw/Install-RustDesk.ps1 | iex | |
# or | |
# 2) Download the script and run it: | |
# irm https://gist.githubusercontent.com/lalibi/c4707d4f62f174d24df4cf12348aaa65/raw/Install-RustDesk.ps1 -out Install-Rustdesk.ps1; iex .\Install-Rustdesk.ps1 | |
# References: | |
# Client Deployment :: Documentation for RustDesk - https://tinyurl.com/258x3hhd |