- ASP.NET Core 2.1 Release Post (with links to feature docs)
- ASP.NET Core 2.2 preview 2 - Now Available
- .NET Core Global Tools - Microsoft Docs
- natemcmaster/dotnet-tools: A list of tools to extend the .NET Core command line (dotnet) -
- How to create a .NET Core Global Tool - Microsoft Docs
- Controller action return types in ASP.NET Core Web API - Microsoft Docs
- [ Integration tests in ASP.NET Core - M
This file contains hidden or 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 Microsoft.AspNetCore.Mvc.Testing; | |
| using System; | |
| using System.Threading.Tasks; | |
| using Xunit; | |
| namespace WebApp.Tests | |
| { | |
| public class BasicTests | |
| : IClassFixture<WebApplicationFactory<Startup>> | |
| { |
This file contains hidden or 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
| @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | |
| choco feature enable -n allowGlobalConfirmation | |
| choco install 7zip /y | |
| choco install 7zip.install /y | |
| choco install ARMClient /y | |
| choco install audacity /y | |
| choco install audacity-lame /y | |
| choco install autohotkey /y | |
| choco install autohotkey.install /y |
This file contains hidden or 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
| /* | |
| This sketch is to control the functions of 2 RGB LEDs utilizing all of the PWM pins | |
| on an Arduino | |
| */ | |
| // Pinouts for NANO | |
| int lledRed = 11; | |
| int lledBlue = 10; | |
| int lledGreen = 9; |
This file contains hidden or 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
| /* | |
| This sketch is to control the functions of 2 RGB LEDs utilizing all of the PWM pins | |
| on an Arduino | |
| */ | |
| // Pinouts for NANO | |
| int lledRed = 11; | |
| int lledBlue = 10; | |
| int lledGreen = 9; |
This file contains hidden or 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
| G1 Z70 F360 ; move up above object | |
| G1 X150 Y200 F3600 ; move to center of build area | |
| G1 E-40 F1800 ; eject filament from extruder | |
| M84 ; disable motors | |
| M0 Change Color... | |
| M17 ; enable motors | |
| G92 E0 ; reset extruder coordinates | |
| G1 E50 F60 ; prime new filament | |
| G92 E0 |
This file contains hidden or 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
| My first gist | |
This file contains hidden or 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.Net.Http; | |
| using System.Net.Http.Headers; | |
| using System.Security.Claims; | |
| using System.Threading.Tasks; | |
| using System.Web; | |
| using IdentityServer3.Core.Models; | |
| using IdentityServer3.Core.Services; |
#Installing ngrok on OSX
- Download ngrok
- Unzip it to your Applications directory
- Create a symlink (instructions below)
Run the following two commands in Terminal to create the symlink.
# cd into your local bin directory
This file contains hidden or 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
| <#PSScriptInfo | |
| .VERSION 1.2 | |
| .AUTHOR jongalloway@gmail.com | |
| .GUID da220b4e-e889-42dc-85cd-91e0f91a965e | |
| .PROJECTURI https://gist.github.com/jongalloway/935780 | |
| .RELEASENOTES 1.2 adds regular expression title match (thanks, @meavk) | |
| #> | |
| <# | |
| .DESCRIPTION |
NewerOlder