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
| /dts-v1/; | |
| / { | |
| #address-cells = <0x02>; | |
| model = "M01K43"; | |
| #size-cells = <0x02>; | |
| interrupt-parent = <0x01>; | |
| compatible = "M01K43"; | |
| syscon@10060000 { |
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 Renew-SslLetsEncrypt | |
| { | |
| [cmdletbinding()] | |
| Param( | |
| [Parameter(Mandatory=$true)] | |
| $HostName | |
| ) | |
| certbot certonly ` | |
| --standalone ` | |
| --agree-tos ` |
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
| # pip install selenium | |
| from selenium import webdriver | |
| options=webdriver.ChromeOptions() | |
| options.page_load_strategy = 'normal' | |
| options.add_argument("--disable-extensions") | |
| options.add_argument("--disable-gpu") | |
| options.add_argument("--no-sandbox") | |
| options.add_argument("--disable-3d-apis") |
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
| if( | |
| [Security.Principal.WindowsPrincipal]::New([Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator) | |
| ){ | |
| Set-ExecutionPolicy -Scope Process Unrestricted -Force | |
| Set-ExecutionPolicy -Scope CurrentUser Unrestricted -Force | |
| Set-ExecutionPolicy -Scope LocalMachine Unrestricted -Force | |
| Set-ExecutionPolicy Unrestricted -Force | |
| } else { | |
| Set-ExecutionPolicy -Scope Process Unrestricted -Force | |
| Set-ExecutionPolicy -Scope CurrentUser Unrestricted -Force |
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
| [ | |
| { | |
| "Downlink": [ | |
| 2110.0, | |
| 2140.0, | |
| 2170.0 | |
| ], | |
| "DLEARFCN": [ | |
| 0.0, | |
| 300.0, |
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
| add-type -TypeDefinition @" | |
| namespace Services_ | |
| { | |
| using System; | |
| public class Info | |
| { | |
| public Info() | |
| { | |
| } | |
| public string ServiceName { get; set; } |
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
| REM Use choco.exe | |
| choco.exe install visualstudio2022-workload-vctools -y |
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
| # this script requires https://github.com/nstevens1040/Json.Deserializer | |
| $d = [Json.Deserialize]::Convert(@" | |
| { | |
| "Exhibit":{ | |
| "a":{ | |
| "evidence":"This is just a string.", | |
| "comment": ".gnirts a tsuj si sihT" | |
| }, | |
| "b":{ | |
| "evidence":"This is just another string.", |
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
| $REFS = @( | |
| "$($BINFOLDER)\itext7-dotnet\itext\itext.pdfa\bin\Debug\net461\itext.pdfa.dll", | |
| "$($BINFOLDER)\itext7-dotnet\itext\itext.pdfa\bin\Debug\net461\Microsoft.Bcl.AsyncInterfaces.dll", | |
| "$($BINFOLDER)\itext7-dotnet\itext\itext.pdfa\bin\Debug\net461\Microsoft.Extensions.DependencyInjection.Abstractions.dll", | |
| "$($BINFOLDER)\itext7-dotnet\itext\itext.pdfa\bin\Debug\net461\Microsoft.Extensions.DependencyInjection.dll", | |
| "$($BINFOLDER)\itext7-dotnet\itext\itext.pdfa\bin\Debug\net461\Microsoft.Extensions.Logging.Abstractions.dll", | |
| "$($BINFOLDER)\itext7-dotnet\itext\itext.pdfa\bin\Debug\net461\Microsoft.Extensions.Logging.dll", | |
| "$($BINFOLDER)\itext7-dotnet\itext\itext.pdfa\bin\Debug\net461\Microsoft.Extensions.Options.dll", | |
| "$($BINFOLDER)\itext7-dotnet\itext\itext.pdfa\bin\Debug\net461\Microsoft.Extensions.Primitives.dll", | |
| "$($BINFOLDER)\itext7-dotnet\itext\itext.pdfa\bin\Debug\net461\System.Buffers.dll", |
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
| $REFS = @( | |
| "$($BINFOLDER)\itext7-dotnet\itext\itext.pdfa\bin\Debug\net461\itext.pdfa.dll", | |
| "$($BINFOLDER)\itext7-dotnet\itext\itext.pdfa\bin\Debug\net461\Microsoft.Bcl.AsyncInterfaces.dll", | |
| "$($BINFOLDER)\itext7-dotnet\itext\itext.pdfa\bin\Debug\net461\Microsoft.Extensions.DependencyInjection.Abstractions.dll", | |
| "$($BINFOLDER)\itext7-dotnet\itext\itext.pdfa\bin\Debug\net461\Microsoft.Extensions.DependencyInjection.dll", | |
| "$($BINFOLDER)\itext7-dotnet\itext\itext.pdfa\bin\Debug\net461\Microsoft.Extensions.Logging.Abstractions.dll", | |
| "$($BINFOLDER)\itext7-dotnet\itext\itext.pdfa\bin\Debug\net461\Microsoft.Extensions.Logging.dll", | |
| "$($BINFOLDER)\itext7-dotnet\itext\itext.pdfa\bin\Debug\net461\Microsoft.Extensions.Options.dll", | |
| "$($BINFOLDER)\itext7-dotnet\itext\itext.pdfa\bin\Debug\net461\Microsoft.Extensions.Primitives.dll", | |
| "$($BINFOLDER)\itext7-dotnet\itext\itext.pdfa\bin\Debug\net461\System.Buffers.dll", |
NewerOlder