Skip to content

Instantly share code, notes, and snippets.

View michael-golfi's full-sized avatar

Michael Golfi michael-golfi

View GitHub Profile
{
"$schema": "https://schema.management.azure.com/schemas/0.1.2-preview/CreateUIDefinition.MultiVm.json#",
"handler": "Microsoft.Compute.MultiVm",
"version": "0.1.2-preview",
"parameters": {
"basics": [
{
"name": "vmName",
"type": "Microsoft.Common.TextBox",
"label": "Virtual Machine name",
@michael-golfi
michael-golfi / create-cosmos-collection.sh
Created November 27, 2017 21:33
Create Azure Deployment
#!/bin/bash
# Ref
# https://docs.microsoft.com/en-us/cli/azure/cosmosdb?view=azure-cli-latest#create
# Set variables for the new account, database, and collection
resourceGroupName='myResourceGroup'
location='southcentralus'
name='docdb-test'
databaseName='docdb-test-database'
collectionName='docdb-test-collection'
@michael-golfi
michael-golfi / Install.ps1
Last active March 29, 2019 21:19
Windows Install Script
$User = Read-Host -Prompt "Input your username"
# Install Chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).Downloa
dString('https://chocolatey.org/install.ps1'))
#
# Install Programs
#
choco install jre8 -y