This file contains 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
#!/bin/bash | |
# Name: mem_dump.sh | |
# Description: A small script to dump the memory of a process | |
# Author: Thomas Cope | |
# --- | |
if [[ $# -ne 2 ]] | |
then | |
cat << EOF | |
./mem_dump.sh pid dryrun |
This file contains 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
/* | |
Gatewayscript file for IBM Datapower | |
This file converts XML to JSON using Datapowers builtin "json-xml-converter module" (Firmware 7.5.0 and Above) | |
Example Datapower flow using MPGW: | |
Client -> Convert Query Params to XML -> *this gatewayscript file* -> Parse Action (Object Reference set to JSON) -> Validate using JSON Schema -> Server | |
*Note: Output JSON is in "BadgerFish" Format* |