Skip to content

Instantly share code, notes, and snippets.

View Kevin-Bronsdijk's full-sized avatar
😃
Happily writing code!

Kevin Bronsdijk Kevin-Bronsdijk

😃
Happily writing code!
View GitHub Profile
var connection = KrakenConnection.Create("key", "secret", true);
{
"MyData": "Kevin Bronsdijk",
}
{
"MyData": "Kevin Bronsdijk",
}
{
"$schema":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#",
"actions":{
"Http":{
"conditions":[
{
"dependsOn":"Values_GetJsonString"
}
],
"foreach":"@Json(body('Values_GetJsonString')).employees",
{
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#",
"actions": {
"CallAutomationWebhook": {
"conditions": [],
"inputs": {
"body": "[  {    \"Id\": 1,    \"Name\": \"S1\",    \"ServiceName\": \"S1\"  },  {    \"Id\": 2,    \"Name\": \"S2\",    \"S2\": \"M\"  }]",
"method": "POST",
"uri": "https://s1events.azure-automation.net/webhooks?token={token}}"
},
"Http": {
"conditions": [
{
"dependsOn": "GetArrayOfStringsJson"
}
],
"foreach": "@body('GetArrayOfStringsJson')",
"inputs": {
"body": "@{item()}",
"method": "POST",
using AzureADReportingApi;
using AzureADReportingApi.Http;
using AzureADReportingApi.Models;
var connection = AzureConnection.Create(
"clientId",
"clientSecret",
"tenantDomain"
);
@Kevin-Bronsdijk
Kevin-Bronsdijk / Debugging-HTTP-Actions1.js
Last active February 23, 2016 09:48
Debugging-HTTP-Actions
{
"uri": "http://www.microsoft.com",
"method": "GET"
}
// Azure Blob Storage
using SeaMist.Model.Azure;
var krakenClient = new KrakenClient(connection);
response = await client.OptimizeWait(
new Uri("http://image-url.com/file.jpg"),
new DataStore(
"account",
"key",
@Kevin-Bronsdijk
Kevin-Bronsdijk / DtoOVM.txt
Created August 12, 2015 12:13
BoxStarter dropbox to onedrive VM
#Win Config
Install-WindowsUpdate -AcceptEula
Update-ExecutionPolicy Unrestricted
Set-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
#Base Apps
choco install 7zip.commandline
choco install 7zip.install
choco install dropbox