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
Function Import-PSReadLineKeyHandlerSettings { | |
param( | |
[Parameter(Mandatory)] | |
[string] | |
$Path | |
) | |
begin { | |
$ObjectToProcess = Get-Content $Path -Raw | ConvertFrom-Json | |
} | |
process { |
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
function Find-StringInFile { | |
<# | |
.SYNOPSIS | |
Find strings within the contents of files in a given directory. | |
.DESCRIPTION | |
Find strings within the contents of files in a given directory. Supports recursion | |
.EXAMPLE | |
PS C:\> Find-StringInFile -String "SomeExampleText" -RootPath $PWD | |
This will search the current directory for files containing the string "SomeExampleText" | |
.EXAMPLE |
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
<#PSScriptInfo | |
.VERSION 1.0.1 | |
.GUID d8d8b0bc-d1dd-4138-9166-dab64a38e8f6 | |
.AUTHOR Robert Bleattler | |
.COMPANYNAME Coast Technologies LLC |
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
version: "3" | |
services: | |
app: | |
image: 'jc21/nginx-proxy-manager:latest' | |
restart: unless-stopped | |
ports: | |
# These ports are in format <host-port>:<container-port> | |
- '80:80' # Public HTTP Port | |
- '443:443' # Public HTTPS Port | |
- '81:81' # Admin Web Port |
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
function New-NerdSignature { | |
param( | |
[Parameter(Mandatory)] | |
[string] | |
$EmailAddress, | |
[Parameter()] | |
[switch] | |
$AsBase64Command | |
) | |
$Raw = ($EmailAddress.ToCharArray() | ForEach-Object { ([int]$_ - 42) -as [string] }) # -join '' |
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
<?xml version="1.0" encoding="UTF-16"?> | |
<Task version="1.3" | |
xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> | |
<RegistrationInfo> | |
<Author>YOURDOMAIN\YOURUSERID</Author> | |
<URI>\Run Mouse Jiggler</URI> | |
</RegistrationInfo> | |
<Triggers> | |
<LogonTrigger> | |
<Enabled>true</Enabled> |
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
const homes = [...new Set( | |
[...document.querySelectorAll('a[href]')] | |
.map(x => x.href) | |
.filter(u => u.includes('_zpid')) | |
)] | |
.map(id => { | |
const addr = id.split('/')[4].replace(/-/g, ' ') | |
const short = addr.split(' ').slice(0, -3).join(' ') | |
return { addr, zillow: id, | |
streeteasy: `https://streeteasy.com/search?search=${short}`, |