Skip to content

Instantly share code, notes, and snippets.

Style Suggestions

Text

Paragraphs

Place one sentence per line. This make it easier for more readable diffs within git.

❓ does this have any impact on help that's made availble within PowerShell? ❓

@nzubair
nzubair / Compare-XmlDocs.ps1
Created October 29, 2016 13:29 — forked from ctigeek/Compare-XmlDocs.ps1
Powershell - Compare two XML documents.
function Compare-XmlDocs($actual, $expected) {
if ($actual.Name -ne $expected.Name) {
throw "Actual name not same as expected: actual=" + $actual.Name
}
##attributes...
if ($actual.Attributes.Count -ne $expected.Attributes.Count) {
throw "attribute mismatch for actual=" + $actual.Name
}
for ($i=0;$i -lt $expected.Attributes.Count; $i =$i+1) {

Keybase proof

I hereby claim:

  • I am nzubair on github.
  • I am nzubair (https://keybase.io/nzubair) on keybase.
  • I have a public key whose fingerprint is 9716 2689 94CA 8D4E B050 60A3 768C D5B5 8196 8D62

To claim this, I am signing this object:

[91,83,121,115,116,101,109,46,82,117,110,116,105,109,101,46,73,110,116,101,114,111,112,83,101,114,118,105,99,101,115,46,77,97,114,115,104,97,108,93,58,58,83,121,115,116,101,109,68,101,102,97,117,108,116,67,104,97,114,83,105,122,101]
#deployment.properties
# Security Tab
# Enable Java content in the browser
deployment.webjava.enabled=true
deployment.webjava.enabled.locked
# Security Level
deployment.security.level=MEDIUM
deployment.security.level.locked