Skip to content

Instantly share code, notes, and snippets.

@prmx
prmx / smstools3.md
Created December 28, 2021 11:22 — forked from rez0n/smstools3.md
Linux smstools eventhandel for forward sms to telegram (adapted to Cyrillic alphabet)
sudo apt-get update
sudo apt-get install smstools curl iconv

sudo nano /usr/local/bin/pushsms

#!/bin/bash
@prmx
prmx / nginx.conf
Created January 5, 2019 00:20 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@prmx
prmx / letsencrypt_notes.sh
Last active February 13, 2020 12:42 — forked from lachesis/letsencrypt_notes.sh
Set up LetsEncrypt using acme.sh without root
https://gist.github.com/Greelan/28a46a33140b65c9a045573ca460f044
# How to use "acme.sh" to set up Lets Encrypt without root permissions
# See https://github.com/Neilpang/acme.sh for more
# This assumes that your website has a webroot at "/var/www/<domain>"
# I'll use the domain "EXAMPLE.com" as an example
# When this is done, there will be an "acme" user that handles issuing,