This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Author: Christopher Keers | Caboodle Tech | |
* License: MIT | |
* Source: https://gist.github.com/blizzardengle/8147b6e7d8ffab2709ae2f79b7006b02 | |
*/ | |
class Print { | |
#enabled = true; | |
disable() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Deep merge two objects together keeping unique keys from each object. | |
* | |
* @param {object} mergeIntoObj - The object to merge another object into. | |
* @param {object} mergeAndPrioritizeObj - The object to merge into mergeIntoObj. This object | |
* has priority when collisions occur. | |
* @returns | |
*/ | |
const deepMerge(mergeIntoObj, mergeAndPrioritizeObj) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Windows HTTP and Print Spooler Port Conflict Resolution Script | |
.DESCRIPTION | |
This script resolves port conflicts between Docker/Web services and the Windows Print Spooler | |
by reconfiguring the HTTP service to use port 5000 instead of 80. This allows both printing | |
and Docker to work simultaneously. | |
.NOTES |
OlderNewer