I hereby claim:
- I am badgerati on github.
- I am badgerati (https://keybase.io/badgerati) on keybase.
- I have a public key ASCcoX7fugcw12wZCfdxH1YCEQjcC6thGQUJLKJVFm6a0wo
To claim this, I am signing this object:
<# | |
.DESCRIPTION | |
Given a subnet mask, will return the lowest and highest addresses within the range of the mask. | |
For example, given 10.1.4.0/24, will return @{"lowest"="10.1.4.0", "highest"="10.1.4.255"} | |
.EXAMPLE | |
Get-SubnetRange -SubnetMask '10.1.4.0/24' | |
#> | |
function Get-SubnetRange | |
{ |
<# | |
.DESCRIPTION | |
Given the low and high addresses of a subnet range, will return the subnet mask of the range. | |
For example, given 10.0.0.64 and 10.0.0.95, will return "10.0.0.64/27" | |
.EXAMPLE | |
Get-SubnetMask -Low '10.0.0.64' -High '10.0.0.95' | |
#> | |
function Get-SubnetMask | |
{ |
I hereby claim:
To claim this, I am signing this object:
<# | |
.DESCRIPTION | |
PowerShell cron expression parser, to check if a date/time matches a cron expression | |
Format: | |
<min> <hour> <day-of-month> <month> <day-of-week> | |
.PARAMETER Expression | |
A cron expression to validate | |
.PARAMETER DateTime |
<# -- | |
Register the GitHub Package Registry | |
-- #> | |
$username = '<github-username>' | |
$token = '<github-personal-token>' | |
$sourceName = 'GitHub' | |
$source = "https://nuget.pkg.github.com/$username/index.json" | |
# add the github package registry as a nuget source |