Skip to content

Instantly share code, notes, and snippets.

@R0GGER
R0GGER / Download Latest Release at Github of RustDesk.md
Last active August 18, 2023 22:22
Download Latest Release at Github of RustDesk

Download Latest Release at Github of RustDesk

Simple download script to download the latest stable RustDesk version, rename and move it to the correct folder.

Variables

  • license=rustdesk-licensed-KEY.exe
  • folder=/my/folder/path
@R0GGER
R0GGER / CloudPanel.io - backup htdocs per user.md
Last active August 23, 2022 11:48
CloudPanel.io - backup htdocs per user

Download Script

wget https://gist.githubusercontent.com/R0GGER/4ed6a1effcadc073ccd1028517d0f59e/raw/107b853f72ae957b730f35540f2030f8c4423ccc/backup-htdocs.sh -P /root

chmod +x /root/backup-htdocs.sh

Crontab

@R0GGER
R0GGER / DSM7 uninstall apps
Created October 3, 2021 15:06 — forked from bruvv/DSM7 uninstall apps
Remove bloatware from DSM 7 on synology
synopkg stop pkgctl-SynoFinder
synopkg uninstall SynoFinder
synopkg stop pkgctl-ActiveInsight
synopkg uninstall ActiveInsight
synopkg stop pkgctl-HybrideShare
synopkg uninstall HybrideShare
synopkg stop pkgctl-ScsiTarget
@R0GGER
R0GGER / gist:1220fc5cf2e9b5070c426927072cb385
Created August 16, 2021 13:37 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@R0GGER
R0GGER / _hsts.conf
Last active May 7, 2024 08:09
Workaround - Security Headers @ NGINX Proxy Manager
{% if certificate and certificate_id > 0 -%}
{% if ssl_forced == 1 or ssl_forced == true %}
{% if hsts_enabled == 1 or hsts_enabled == true %}
# HSTS (ngx_http_headers_module is required) (63072000 seconds = 2 years)
add_header Strict-Transport-Security "max-age=63072000;{% if hsts_subdomains == 1 or hsts_subdomains == true -%} includeSubDomains;{% endif %} preload" always;
add_header Referrer-Policy strict-origin-when-cross-origin;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Frame-Options SAMEORIGIN;
add_header Content-Security-Policy upgrade-insecure-requests;