Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

157 total results found

Event Viwer - Look at a Machine Restart

Microsoft

Key Event IDs for Reboot Analysis 1074 (Planned): Indicates a user or application initiated a restart or shutdown. It shows who did it and why. 41 (Unexpected): The system rebooted without a clean shutdown, often due to power failure or a system crash. 60...

Visual Studio - Publish to Linux and Restart Service

Visual Studio

To stop and restart a Linux service automatically when publishing from Visual Studio to a local folder, you must modify your Publish Profile (.pubxml) to include post-publish commands. Since Visual Studio runs on Windows, these commands typically trigger a scr...

Command - Cmnd_Alias

Linux

What is Cmnd_Alias? Cmnd_Alias (Command Alias) is a feature in /etc/sudoers (and files in /etc/sudoers.d/) that lets you group multiple commands under a single, easy-to-read name. Instead of repeating long command paths many times, you define the group once ...

.gitignore - .gitIgnore File for Docker Compose Files

Docker

Use Case TrueNAS shared SMB with a folder dedicated to yaml files. This is it to be used if you have a SMB drive and point Visual Code or Code Server to all of your docker folders. The .gitignore file setup # Ignore everything by default * # Allow dir...

Bash - Add Symbolic Links Subdirectories

Linux

To efficiently add these symbolic links to all subdirectories that are missing them, you can use a find loop. This command will check each subdirectory and only create the link if a file or link named .env or .secret doesn't already exist. The Command Run th...

Visual Studio Code - Git Create new repo in on-prem Azure Devops

Visual Studio

Create a new repo in the web portal and push code  This is the standard approach for managing new code in Azure DevOps.  Navigate to your project: Open the web portal for your Azure DevOps Server and select your project. Go to Repos: In the left-hand navi...

Pi-Hole - Add DNS to your Pi-Hole from Active Directory LDAPS

Raspberry PI

This pulls DNS node names from Active Directory over LDAPS, resolves A records against the AD DNS server (dig), imports into Pi-hole's custom.list, and restarts DNS. Make sure you have the ROOT cert on the pi-hole side: Certificate Trust Issue (by far the #1...

Raspberry Pi - Bash Colors

Raspberry PI

Check you shell to be default to bash if not already: Here's how to set Bash as your default login shell on Debian / Raspberry Pi OS: Step1. Check current shell Run this first to see what you're currently using: echo $SHELL Step2. Set Bash as default shel...

RustDesk - pfSense and and HAProxy

Docker

You can configure self-hosted RustDesk (hbbs ID/rendezvous server + hbbr relay server) behind your pfSense + HAProxy Docker setup using hostname.domain.com as the external ID server address. However, there are important caveats due to how RustDesk works. Impo...

Raspberry Pi - Zero 2 W RTSP Server

Raspberry PI

Introduction While setting up my smart home I was looking into creating a cost effective NVR that would allow for a high degree of privacy and control. The choice of NVR software fell on the excellent Frigate NVR, it integrates well with Home Assistant and su...

HPE - ProLiant DL380p Gen8 GPU Install

All Others Stuff

Supported GPUs for the HP ProLiant DL380p Gen8 are limited by the server's specific PCIe risers, 225W power constraints, and passive cooling requirements. Official and community-tested options include the NVIDIA GRID K1, K2, Tesla P100, Quadro K6000, or consum...

Linux Server - Install RedHat 9 SSH configuration

Linux

On Red Hat Enterprise Linux 9 (RHEL 9 / Rocky Linux 9 / AlmaLinux 9 etc.), SSH configuration is primarily managed through system-wide crypto policies. Direct settings in /etc/ssh/sshd_config for KexAlgorithms, Ciphers, etc., are often ignored unless you proper...

Dual Garage Door Opener

Home Assistant

Using ESPHome This is code for dual garage door opener and will show red when door is opened Dashboard This is built using a ESP32 and some magnet switches REED The REED is only one per door substitutions: name: sfl-garage-001 friendly_name: SF...

PODMAN - Install Podman on Linux Redhat

Docker

Production-Ready Step-by-Step Guide Rootless Podman + Quadlet on Red Hat Enterprise Linux 10 This guide is designed for a production environment as assums a fresh install of Redhat. It uses the modern Quadlet method (recommended) and follows Red Hat best prac...

MsSQL - Performance Script and Monitoring Scripts

Database Toolset

High usage SELECT TOP 10 qs.total_worker_time AS [Total CPU Time (ms)], qs.execution_count AS [Execution Count], qs.total_worker_time / qs.execution_count AS [Avg CPU Time (ms)], qs.total_elapsed_time / qs.execution_count AS [Avg Elapsed T...

Linux - How to use rClone

Linux

Here's how to get rclone doing what rsync was doing, but with real parallelism. 1. Install it curl https://rclone.org/install.sh | sudo bash or via package manager ( dnf install rclone, apt install rclone, brew install rclone, etc.) 2. Configure a remote ...

TrueNAS - SCALE Create a local Backup and Send to S3 Buckets

NAS

To automate backing up your TrueNAS configuration directly to Amazon S3 or any S3-compatible cloud storage, you need to create a local backup script and pair it with a TrueNAS Cloud Sync task TrueNAS automatically saves daily configuration databases locally t...

pfSense - Local System Config Backup and send to S3 Buckets

Security

To automate backing up your pfSense configuration to Amazon S3, you can use pfSense's built-in rclone package. This eliminates the need for complex custom shell scripts because rclone can natively authenticate with AWS S3 and encrypt your files. Here is the...

PiHole - Blocklist

Raspberry PI

This is a good list for office and homelabs  If you need to import them into piHole v6 click HERE # ============================================================================== # 1. CORE ALL-IN-ONE & BASE ADS (Essential) # ===============================...

PiHole - Add KeepAlive on two Pi's

Raspberry PI

Setting up keepalived for dual Pi-holes requires installing the package on both machines, writing a short configuration file on each, and pointing your network/AD DNS forwarder to the shared Virtual IP (VIP). Prerequisites & Example Values Check your network...