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
#!/bin/sh | |
# Usage: | |
# ./clone.sh TESTENV_TO_CLONE_DIR NEW_TEST_ENV_DIR | |
# ./clone.sh TESTENV08-HOST TESTENV03-HOST | |
# The above will clone 08 to 03 and register the vm | |
# | |
# * Do not end the argument directories with a slash! | |
# Date: Mar 10, 2015 | |
DIR_DS=$(pwd) |
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
javascript: (function () { | |
new_window = window.open(); | |
new_window.document.body.innerHTML = $("iframe") | |
.contents() | |
.find("iframe") | |
.contents() | |
.find("body") | |
.get(1).innerHTML; | |
new_window.document.body.querySelector("#content-overlays").remove(); | |
})(); |