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 | |
profile={replace} | |
s3bucket={replace} | |
folder={specify} | |
queueprefix={replace} | |
purge-sqs-queue() { | |
if [ -z "$1" ]; then | |
echo "need to pass queue name prefix" |
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
param( | |
[string] $Source, | |
[string] $FileToUpload, | |
[string] $StorageAccountName, | |
[string] $StorageContainerName, | |
[string] $AzCopyPath | |
) | |
$StorageAccountKey = (Get-AzureStorageKey -StorageAccountName $StorageAccountName).Primary | |
$StorageAccountContext = New-AzureStorageContext $StorageAccountName (Get-AzureStorageKey $StorageAccountName).Primary |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Serialization; | |
public static class JsonExtensionMethods | |
{ |
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
namespace Marview.Azure.Common | |
{ | |
using System; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using System.Diagnostics; | |
using Microsoft.WindowsAzure.ServiceRuntime; | |
using Ninject; | |
using System.Net; |