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
#Get configuration | |
aws configure list | |
#Get profile credentials | |
aws configure get myprofile.aws_access_key_id | |
aws configure get myprofile.aws_secret_access_key | |
#List all s3 buckets | |
aws s3 ls --profile myprofile |
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
outputLocation="/myDrive/myWorkingDirectory" && | |
cd "$outputLocation" && | |
for dir in $(find -type d) | |
do | |
cat "$dir"/*.txt >> "$outputLocation"/${dir##*/}.txt | |
done | |
############################################################ | |
# for a folder structure like this # | |
# myRootDirectory # |
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
var soap = require('soap'); | |
var url = 'http://example.org/MyWebService.svc?wsdl'; | |
var soapOptions = { | |
forceSoap12Headers: true | |
}; | |
var soapHeader = { | |
'wsa:Action': 'http://tempuri.org/MyBinding/MyOperation', |
NewerOlder