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
curl -s https://api.github.com/orgs/Adobe-Marketing-Cloud/repos\?per_page\=200 | perl -ne 'print "$1\n" if (/"ssh_url": "([^"]+)/)' | xargs -n 1 git clone | |
curl -s https://api.github.com/orgs/Adobe-Consulting-Services/repos\?per_page\=200 | perl -ne 'print "$1\n" if (/"ssh_url": "([^"]+)/)' | xargs -n 1 git clone |
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 | |
#Author : Kiran Murugulla | |
#Description : Script to create an asset and upload binary from local machine into an S3 bucket | |
usage="Usage: s3-cp-speed-test.sh bucketname filepath \n" | |
BUCKET=$1 | |
FILE=$2 | |
if [ ! $# -eq 2 ] ; then | |
echo -e "$usage" | |
exit 2 |
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 | |
# scp-speed-test.sh | |
# Author: Alec Jacobson alecjacobsonATgmailDOTcom | |
# | |
# Test ssh connection speed by uploading and then downloading a 10000kB test | |
# file (optionally user-specified size) | |
# | |
# Usage: | |
# ./scp-speed-test.sh user@hostname [test file size in kBs] | |
# |
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 | |
#Author : Kiran Murugulla | |
#Description : Script to create an asset and upload binary from local machine into AEM | |
ROOT_PATH="content/dam/rrd/dsg" | |
ASSET_FULL_PATH="$ROOT_PATH/$3" | |
usage="Usage: uploadtest.sh \n aemserver:port (exclude http/s) \n adminuserid:adminpwd \n assetpath (relative to $ROOT_PATH) \n path/to/binary (on your local)\n" | |
START_TIME=$SECONDS |
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
<%@include file="/libs/foundation/global.jsp"%><% | |
%><%@page session="false" contentType="text/html; charset=utf-8" | |
pageEncoding="UTF-8" | |
import="org.apache.sling.api.resource.*, | |
java.util.*, | |
javax.jcr.*, | |
com.day.cq.search.*, | |
com.day.cq.search.result.*, | |
com.day.cq.wcm.api.*, | |
com.day.cq.dam.api.*"%> |