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/bash | |
# Create a package with a given set of root paths | |
#CONFIG | |
# you will need to change your username and group name | |
groupName="Brandon" | |
username="162084" |
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
// Author: Brandon Foster | |
// Purpose: when you query in AEM, you can't copy and paste the paths, | |
// so this takes the paths from the DOM and puts them in a text area so you can copy/paste them | |
// Date: 20150305 | |
function createTextarea(){ | |
var output = document.createElement('textarea'); | |
document.body.appendChild(output); | |
output.style.zIndex = 9999; | |
output.style.width = '550px'; |
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 pause(){ | |
rc=$? | |
if [[ $rc != 0 ]] | |
then | |
calcTimeLoss | |
read -p "Press [Enter] to continue, there are build errors above." | |
else | |
echo $(date +%m" "%_d" "%T" "%Y) > "$LASTBUILD" | |
fi | |
} |
NewerOlder