Skip to content

Instantly share code, notes, and snippets.

@dudefoxlive
dudefoxlive / docker-compose.yaml
Created December 28, 2022 00:32
docker compose nextcloud
---
version: '2'
services:
db:
container_name: nc_database
image: mariadb:10.5
restart: unless-stopped
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
volumes:
@dudefoxlive
dudefoxlive / docker-compose.yaml
Created January 1, 2023 01:20
Portainer CE Docker Compose
---
version: "3"
services:
portainer:
image: portainer/portainer-ce:latest
container_name: portainer
restart: unless-stopped
ports:
- "8000:8000"
@dudefoxlive
dudefoxlive / docker-compose.yaml
Created January 1, 2023 01:25
Py-KMS Docker Compose
---
version: "3"
services:
py-kms:
container_name: py-kms
image: pykmsorg/py-kms:latest
restart: unless-stopped
ports:
- 1688:1688/tcp
@dudefoxlive
dudefoxlive / docker-compose.yaml
Created January 1, 2023 01:29
Watchtower Docker Compose
---
version: '3'
services:
WatchTower:
image: containrrr/watchtower
container_name: WatchTower
restart: unless-stopped
environment:
# This is the email that it will send from
@dudefoxlive
dudefoxlive / Get-SystemUptime.ps1
Created September 21, 2023 22:52
Simple Powershell script that gets the uptime as it would display in task manager. If the uptime is greater than 14 days it exits with error code 1. If the uptime is less then 14 days it exits with error code 0. If the Uptime is greater than 14 days it triggers the second powershell script to create a notification letting the user know its been …
<#
.DESCRIPTION This script is to check how long the system has been running for and report back to the RMM console.
.USAGE This is to be ran from an RMM Solution. This is to provide no user consent.
.AUTHOR Dudefoxlive
.LASTUPDATED 1/13/2023 at 11:26
.CREATEDATE 1/13/2023 at 11:26
@dudefoxlive
dudefoxlive / remove.reg
Created October 11, 2023 23:50
Removes Documents, Videos, Pictures, 3d Objects, etc from This PC
Windows Registry Editor Version 5.00
; Remove 3D Objects from This PC
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}]
; Remove Documents From This PC
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}]