Skip to content

Instantly share code, notes, and snippets.

Still .NET Core, F#, C#, but at home 🏡

Eriawan Kusumawardhono eriawan

Still .NET Core, F#, C#, but at home 🏡
View GitHub Profile
eriawan / sonarqube-remove-branch-name.yml
Created Jan 11, 2021 — forked from wilbit/sonarqube-remove-branch-name.yml
It removes property in Azure Pipeline. Put it somewhere between your SonarQubePrepare and SonarQubeAnalyze tasks.
View sonarqube-remove-branch-name.yml
- powershell: |
$params = "$env:SONARQUBE_SCANNER_PARAMS" -replace '"":"[\w/,-.]*"\,?'
Write-Host "##vso[task.setvariable variable=SONARQUBE_SCANNER_PARAMS]$params"
eriawan / dotnet-hacktoberfest2020-issues-list.MD
Created Sep 25, 2020
.NET Core repos' issues list that available to grab for Hactoberfest 2020!
View dotnet-hacktoberfest2020-issues-list.MD

.NET Core issues list that available to grab for Hactoberfest 2020!

Don't worry, I have curated the list to only list up-for-grab/help wanted issues that has no assignee and no PR linked if possible, so you'll start to hammer those keyboard to write a fix/feature/whatever code for PR :)

Here's the list:

eriawan /
Created Jun 23, 2020 — forked from ericclemmons/
HTML5 <details> in GitHub

Using <details> in GitHub

Suppose you're opening an issue and there's a lot noisey logs that may be useful.

Rather than wrecking readability, wrap it in a <details> tag!

 <summary>Summary Goes Here</summary>
View Sample csproj of .NET Core UnitTest that has Winforms
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
eriawan / gist:c14140ae45dd88c4bf6bab0a483426d6
Created Mar 28, 2019 — forked from steelcm/gist:2558512
Find open ports on windows server using PowerShell
View gist:c14140ae45dd88c4bf6bab0a483426d6
PS C:\> netstat -an | select-string -pattern "listening"
eriawan / VSTS.yml
Created Nov 6, 2018 — forked from MarcusFelling/VSTS.yml
Example VSTS YAML build with 5 phases
View VSTS.yml
- phase: CD
queue: LEP
- task: PowerShell@1
displayName: ExtConfigs_PreBuild.ps1
scriptType: filePath
scriptName: "$(repo.BuildScripts)/ExtConfigs_PreBuild.ps1"
arguments: ''
eriawan / ClassLibrary3.csproj
Created Apr 3, 2018
Sample .NET 4.7.1 project that has PackageReference support
View ClassLibrary3.csproj
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
eriawan / BuildEventsPropPage.vb
Created Jul 21, 2017
Proposed BuildEventsPropPage implementation
View BuildEventsPropPage.vb
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Drawing
Imports System.Windows.Forms
Imports EnvDTE
Imports Microsoft.VisualStudio.Editor
Imports Microsoft.VisualStudio.Shell.Interop
Imports VSLangProj80
Namespace Microsoft.VisualStudio.Editors.PropertyPages

This walkthrough is a beginner's guide to learning basic interactive concepts and how to navigate the C# Interactive Window. To learn more about the Interactive window, watch this video or check out our documentation.

Note: This walkthrough is adapted from Bill Chiles' original. Thanks, Bill!

Introduction: What is Interactive?

With the new C# Interactive window, you get immediate feedback on what an expression will return or what an API call does. The Interactive window is much like the Immediate window, but the Interactive window has many improvements such as IntelliSense features and the ability to redefine functions and classes. After entering a code snippet at the REPL prompt, the code simply executes right away. You can enter statements and expressions, as well as class and function definitions. You do not need to create a project, defin

eriawan /
Last active Jul 15, 2016
test F# code in table of markdown

Verbose syntax

Language construct Lightweight syntax Verbose syntax