Skip to content

Instantly share code, notes, and snippets.

View valeryjacobs's full-sized avatar

Valery Jacobs valeryjacobs

View GitHub Profile
Verifying my Blockstack ID is secured with the address 17ei94xYsJAL4TAmpHURpCFDU7ZdpaGyE7 https://explorer.blockstack.org/address/17ei94xYsJAL4TAmpHURpCFDU7ZdpaGyE7
0x93809503F1f0Fe1dAFd342E5B416a42c903dc856
Verifying that "valeryjacobs.id" is my Blockstack ID. https://onename.com/valeryjacobs
@valeryjacobs
valeryjacobs / ServiceFabricCluster.json
Created October 14, 2016 14:24
Service Fabric Cluster ARM Tempalte
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"adminUserName": {
"type": "string",
"metadata": {
"description": "Remote desktop user Id"
}
},
@valeryjacobs
valeryjacobs / ServiceFabricCluster.json
Created October 14, 2016 14:20
FollowMe Service Fabric Cluster ARM template
{  "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",  "contentVersion": "1.0.0.0",  "parameters": {    "adminUserName": {      "type": "string",      "metadata": {        "description": "Remote desktop user Id"      }    },    "adminPassword": {      "type": "securestring",      "metadata": {        "description": "Remote desktop user password"      }    },    "certificateThumbprint": {      "type": "string"    },    "sourceVaultResourceId": {      "type": "string",      "metadata": {        "description": "Resource ID of the key vault where cluster certificate is stored. The format is /subscriptions/<subscription ID>/resourceGroups/<resource group name>/providers/Microsoft.KeyVault/vaults/<vault name>"      }    },    "certificateUrlValue": {      "type": "string",      "metadata": {        "description": "Refers to the location URL in your key vault where the cluster certificate was uploaded. The format is https://<name of the vault>.vault.azure.net:443/secrets/<e
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Storage;
using Windows.Storage.Streams;
using Windows.Web;
namespace Rememba.Windows.Extensions
#region
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Azure.ActiveDirectory.GraphClient;
using Microsoft.Azure.ActiveDirectory.GraphClient.Extensions;
using Microsoft.IdentityModel.Clients.ActiveDirectory;
#endregion
@valeryjacobs
valeryjacobs / gist:5420699
Last active December 16, 2015 10:29
Tool to setup a working environment on Windows Azure with minimal effort
var publishSettingsFile =
@"C:\temp\........credentials.publishsettings";
XDocument xdoc = XDocument.Load(publishSettingsFile);
var managementCertbase64string =
xdoc.Descendants("PublishProfile").Single().Attribute("ManagementCertificate").Value;
@valeryjacobs
valeryjacobs / Outline Express checklist & procedure
Last active December 16, 2015 02:19
Outline Express checklist & procedure
Valid Express Procedures:
De totstandkoming van een event bestaat uit de volgende deelprocessen:
1. Concept (Het idee, een draft van de uitwerking en een interne verificatie)
2. Uitwerking (De checklist met de te nemen/overwegen stappen)
3. Uitvoering (Communicatie, faciliteren, uitvoeren en aftercare)
Inceptie fase:
1.[Initiator]Beschrijf van het te organiseren event de volgende eigenschappen:
-Naam