Skip to content

Instantly share code, notes, and snippets.

Avatar

Fabian Bader f-bader

View GitHub Profile
@Sarafian
Sarafian / Disconnect-RemoteSessions.ps1
Last active Jun 15, 2018
This scripts uses the quser to scan for session on a remote computer and then rwinsta to disconnect it
View Disconnect-RemoteSessions.ps1
<#
.Synopsis
Disconnects your user from remote computers
.DESCRIPTION
This scripts uses the quser to scan for session on a remote computer and then rwinsta to disconnect it
.NOTES
.LINK
@plentz
plentz / nginx.conf
Last active Jan 23, 2021
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
View nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048