$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
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
| workflow PingUrlParallel { | |
| param( | |
| [string]$url, | |
| [int]$parallelCount = 10, | |
| [int]$iterations = 10 | |
| ) | |
| foreach -parallel ($x in 1..$parallelCount) { | |
| 1..$iterations | %{ |
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"?> | |
| <StorableColorTheme xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <Keys> | |
| <string>ErrorForegroundColor</string> | |
| <string>ErrorBackgroundColor</string> | |
| <string>WarningForegroundColor</string> | |
| <string>WarningBackgroundColor</string> | |
| <string>VerboseForegroundColor</string> | |
| <string>VerboseBackgroundColor</string> | |
| <string>DebugForegroundColor</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
| #Require -Version 5.0 | |
| # using statement must appear before any other statements in a script. | |
| # other using types(Assembly/Command/Module/Type) is not supported yet? | |
| # [Enum]::GetNames('System.Management.Automation.Language.UsingStatementKind') | |
| using namespace System.Diagnostics | |
| using namespace System.Linq | |
| function Main | |
| { |
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 InitializeWindowsCredential | |
| { | |
| Write-Verbose ("Loading PasswordVault Class.") | |
| [void][Windows.Security.Credentials.PasswordVault,Windows.Security.Credentials,ContentType=WindowsRuntime] | |
| } | |
| InitializeWindowsCredential | |
| function ConvertTo-PasswordCredential | |
| { |
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 | |
| Takes Group DNs and User DNs and sets the user(s) as managers of the group(s). | |
| .DESCRIPTION | |
| Only changes needed for the group's configuration to match the request are | |
| made, that is if the group already has the same managers in the specified | |
| positions (managedBy vs msExchCoManagedByLink) then nothing is modified. | |
| If no property changes are needed but the rights aren't set correctly, | |
| the necessary ACL rules are applied and extraneous rules are removed. |
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
| Solarized | |
| #FDF6E3,#EEE8D5,#93A1A1,#FDF6E3,#EEE8D5,#657B83,#2AA198,#DC322F | |
| Solarized Dark | |
| #073642,#002B36,#B58900,#FDF6E3,#CB4B16,#FDF6E3,#2AA198,#DC322F | |
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
| The contents of keytab file can be verified using either Unix/linux ktutil or klist commands or java ktab utility. | |
| (1) | |
| -bash-3.2$ ktutil | |
| ktutil: rkt krba01.keytab | |
| ktutil: list | |
| slot KVNO Principal | |
| ---- ---- ------------------------------------------------------------------------------------------------ |
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
| /* Solarized Dark | |
| For use with Jekyll and Pygments | |
| http://ethanschoonover.com/solarized | |
| SOLARIZED HEX ROLE | |
| --------- -------- ------------------------------------------ | |
| base03 #002b36 background | |
| base01 #586e75 comments / secondary content |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000