Skip to content

Instantly share code, notes, and snippets.

View anthonychu's full-sized avatar

Anthony Chu anthonychu

View GitHub Profile
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
cinst notepad2
cinst 7zip
cinst fiddler4
cinst googlechrome
cinst nodejs.install
cinst sublimetext3
cinst poshgit
cinst zoomit
@anthonychu
anthonychu / Win81VMWareFusion.md
Last active August 29, 2015 14:12
Notes from newly installing windows 8.1

My notes on setting up Mac OS X 10.10 (Yosemite) and Windows 8.1 in VMWare Fusion 7 on a MacBook Pro 13".

VMWare Fusion 7

  • Enable "Use full resolution for retina display"
  • Disable VMWare "Automatically adjust user interface size in the virtual machine"
  • Turn off mirrored shared folders

Windows 8.1

@anthonychu
anthonychu / WebAppManyFeatures.json
Last active November 30, 2017 16:12
Azure Resource Manager template demonstrating a few things, http://anthonychu.ca/post/azure-app-service-resource-templates-tips-tricks
{
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"environmentName": {
"type": "string"
},
"siteLocation": {
"type": "string",
"allowedValues": [ "West US", "East US" ],
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"sendgridAccountName": {
"type": "string",
"metadata": {
"description": "The name of your new SendGrid account."
}
},
{
"hosts": ["tcp://0.0.0.0:2375", "npipe://"]
}
{
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"siteName": {
"type": "String"
}
},
"variables": {
"dbLocation": "westus2",
FROM microsoft/aspnet
WORKDIR /inetpub/wwwroot
COPY . .
ENTRYPOINT ["powershell.exe", ".\\Startup.ps1"]
@anthonychu
anthonychu / netbc-signalr-july-2018.md
Last active July 11, 2018 23:17
Resources for .NET BC SignalR Meetup
@anthonychu
anthonychu / sfdeploy-app-1.json
Last active July 18, 2018 17:00
Service Fabric Mesh TensorFlow Fruit Deployment
{
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"location": {
"type": "string",
"defaultValue": "eastus",
"metadata": {
"description": "Location of the resources."
}