-
Piano Covers of Pop Songs: https://open.spotify.com/user/henryecker/playlist/4SBOdi7IMfCrYKZqCqtuXA?si=FL1axIJTTTqYWXYqS6QICw
-
Extreme focus coding music: Primarily EDM with little to no vocals https://open.spotify.com/user/nebosite/playlist/0hy2h4wf2A3JWvMzK48REE?si=KlMRgPm8QfiC6N9Z-A6jAQ
-
High Energy programming mix: Most songs have vocals but good for brainstorming portions. https://open.spotify.com/user/jhardinee/playlist/022CloUnijfD00ziUEXJ66?si=WCKBLFEbQmmym-0DNgFLRA
-
Dubstep study: Dubstep with no vocals
This file contains 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 | |
AAD Config Validator | |
.DESCRIPTION | |
Configuration Validator for Azure AD Connect configuration files. | |
The should end up taking in a pre and post change config file and | |
produce report of what will change. | |
This will support change control by enabling us to predict what changes |
This file contains 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
using namespace System.Collections.Generic | |
param( | |
[string] $ServiceName = 'Spooler' | |
) | |
$ErrorActionPreference = 'Stop' | |
try { | |
[ciminstance[]] $Services = Get-CimInstance -ClassName Win32_Service -Filter "Name = '$ServiceName'" |
This file contains 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
# Get Entra ID Connect global settings | |
$ConnectSyncSettings = Get-ADSyncGlobalSettings | |
# See the value for StagingMode | |
$ConnectSyncSettings.Parameters | Where-Object Name -eq 'Microsoft.Synchronize.StagingMode').Value | |
# Set the value for staging mode to True | |
$ConnectSyncSettings.Parameters | Where-Object Name -eq 'Microsoft.Synchronize.StagingMode').Value = $true | |
# Set the value for staging mode to False |
This file contains 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
if ($PSEdition -eq 'Desktop') { | |
class TrustAllCertsPolicy : System.Net.ICertificatePolicy { | |
[bool] CheckValidationResult ( | |
[System.Net.ServicePoint]$srvPoint, | |
[System.Security.Cryptography.X509Certificates.X509Certificate]$certificate, | |
[System.Net.WebRequest]$request, | |
[int]$certificateProblem | |
) { | |
return $true | |
} |
This file contains 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
const plausibleIo = new HttpOrigin('plausible.io', { | |
protocolPolicy: OriginProtocolPolicy.HTTPS_ONLY | |
}); | |
const distribution = new Distribution(this, "WebsiteDistribution", { | |
certificate, | |
defaultRootObject: "index.html", | |
errorResponses: [ | |
{ |
This file contains 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
function Backup-Path ([System.IO.FileInfo]$Path, [System.IO.FileInfo]$BackupDirectory) { | |
if (-not ($Directory = Get-Item -Path $Path -ErrorAction SilentlyContinue)) { return Write-Warning "Unable to find directory [$Path]" } | |
if (-not $BackupDirectory) { $BackupDirectory = $Directory.Parent.FullName } | |
if (-not (Test-Path -Path $BackupDirectory)) { New-Item -Path $BackupDirectory -ItemType Directory > $null } | |
$ExistingBackups = Resolve-Path -Path "$(Join-Path -Path $BackupDirectory -ChildPath $($Directory.Name))*" | Where-Object { $_ -notlike $Directory.FullName } | |
[int]$Count = 1 | |
while ($ExistingBackups -like (Join-Path -Path $BackupDirectory -ChildPath "$($Directory.Name)$("$Count".PadLeft(2, '0'))")) { $Count++ } |
This file contains 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
function Get-SystemWmiFilter { | |
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory, ValueFromPipeline)] | |
[string] | |
$Name, | |
[Parameter(Mandatory)] | |
[string] | |
$DomainName |
This file contains 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
function Get-OrganizationalUnitBranches( | |
[Microsoft.ActiveDirectory.Management.ADOrganizationalUnit] | |
$OrganizationalUnit | |
) { | |
[array]$Collection = @() | |
$Children = Get-ADOrganizationalUnit ` | |
-Filter * ` | |
-SearchBase $OrganizationalUnit.DistinguishedName ` | |
-SearchScope OneLevel |
This file contains 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
function Import-ModuleFunctions( | |
[Parameter()] | |
[array] | |
$Roots = @( | |
"$PSScriptRoot/public" | |
"$PSScriptRoot/private" | |
), | |
[Parameter()] | |
[switch] |
NewerOlder