| @@ -0,0 +1,5 @@ | |||
| 1 | + | #!/bin/bash | |
| 2 | + | OLD=$(cat "$1" | grep "jQuery('.action-render-').contents().find('#biodata').html" | sed -e "s/^\s*jQuery('\.action-render-').contents()\.find('#biodata').html( Base64\.decode(\"//" | sed -e "s/\") );$//" | base64 -d) | |
| 3 | + | NEW=$(cat "$2" | grep "jQuery('.action-render-').contents().find('#biodata').html" | sed -e "s/^\s*jQuery('\.action-render-').contents()\.find('#biodata').html( Base64\.decode(\"//" | sed -e "s/\") );$//" | base64 -d) | |
| 4 | + | diff -purN <(echo "$OLD") <( echo "$NEW") | |
| 5 | + | exit 0 | |
dominic / Urlwatch (QRZdiff)
Last active 3 months ago
Not sure where I found this script (qrzdiff.sh) - but I use it in conjunction with urlwatch
dominic revised this gist 8 months ago · 7c7e5ab
2 files changed, 8 insertions
| @@ -0,0 +1,3 @@ | |||
| 1 | + | diff_tool: /home/dominic/bin/qrzdiff.sh | |
| 2 | + | kind: url | |
| 3 | + | url: https://www.qrz.com/db/OE7DRT | |