Skip to content

Instantly share code, notes, and snippets.

View steffbeckers's full-sized avatar

Steff Beckers steffbeckers

View GitHub Profile
@steffbeckers
steffbeckers / SSL-nginx-Docker.md
Created June 8, 2023 10:53 — forked from dahlsailrunner/SSL-nginx-Docker.md
SSL with Docker images using nginx as reverse proxy

Docker with SSL and an nginx reverse proxy

Running your ASP.NET Core (or other) application in Docker using SSL should not be an overwhelming task. These steps should do the trick.

Run the following steps from a Linux terminal (I used WSL or WSL2 on Windows from the Windows Terminal).

1. Create a conf file with information about the cert you'll be creating

It should look something like the content below; call it my-site.conf or something like that.

@steffbeckers
steffbeckers / LockUnlock.ps1
Created July 20, 2021 12:12
Windows eventlog lock/unlock
Param (
[int]$Days = 30
)
Write-Host "Gathering Event Logs, this can take awhile..."
$events = @()
$events += Get-WinEvent -FilterHashtable @{
LogName='security'
Id=@(4800, 4801)
@steffbeckers
steffbeckers / Windows_Terminal_settings.json
Last active April 7, 2021 19:13
Steff's Windows Terminal settings.json
// This file was initially generated by Windows Terminal 1.3.2651.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
@steffbeckers
steffbeckers / aariworX v5 - Timeular integration.js
Last active April 9, 2021 15:57
Tampermonkey - aariworX v5 - Timeular integration
// ==UserScript==
// @name aariworX v5 - Timeular integration
// @namespace https://steffbeckers.eu/
// @version 1.4
// @author Steff Beckers <steff@steffbeckers.eu>
// @match https://intra.aarixa.be/aariworx/
// @grant none
// ==/UserScript==
(function () {