This file contains 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
C:\Users\larry\source\repos\StringsVSStringBuilder\StringsVSStringBuilder\bin\Release\netcoreapp3.0>dotnet StringsVSStringBuilder.dll | |
// Validating benchmarks: | |
// ***** BenchmarkRunner: Start ***** | |
// ***** Found 2 benchmark(s) in total ***** | |
// ***** Building 1 exe(s) in Parallel: Start ***** | |
// start dotnet restore /p:UseSharedCompilation=false /p:BuildInParallel=false /m:1 in C:\Users\larry\source\repos\StringsVSStringBuilder\StringsVSStringBuilder\bin\Release\netcoreapp3.0\c7bd1940-5da0-40b4-a3f4-349ecab0bc58 | |
// command took 1.29s and exited with 0 | |
// start dotnet build -c Release --no-restore /p:UseSharedCompilation=false /p:BuildInParallel=false /m:1 in C:\Users\larry\source\repos\StringsVSStringBuilder\StringsVSStringBuilder\bin\Release\netcoreapp3.0\c7bd1940-5da0-40b4-a3f4-349ecab0bc58 | |
// command took 2.25s and exited with 0 | |
// ***** Done, took 00:00:03 (3.65 sec) ***** |
This file contains 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
C:\Users\larry\source\repos\StringsVSStringBuilder\StringsVSStringBuilder\bin\Release\netcoreapp3.0>dotnet StringsVSStringBuilder.dll | |
// Validating benchmarks: | |
// ***** BenchmarkRunner: Start ***** | |
// ***** Found 2 benchmark(s) in total ***** | |
// ***** Building 1 exe(s) in Parallel: Start ***** | |
// start dotnet restore /p:UseSharedCompilation=false /p:BuildInParallel=false /m:1 in C:\Users\larry\source\repos\StringsVSStringBuilder\StringsVSStringBuilder\bin\Release\netcoreapp3.0\e5bf7e3c-2770-46c2-a2d4-1950815a271d | |
// command took 3.4s and exited with 0 | |
// start dotnet build -c Release --no-restore /p:UseSharedCompilation=false /p:BuildInParallel=false /m:1 in C:\Users\larry\source\repos\StringsVSStringBuilder\StringsVSStringBuilder\bin\Release\netcoreapp3.0\e5bf7e3c-2770-46c2-a2d4-1950815a271d | |
// command took 4.84s and exited with 0 |
This file contains 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; | |
namespace SyntaxTester | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
NullCheck nullCheck = null; | |
Console.WriteLine(string.Format("=>{0}", nullCheck==null?"":nullCheck.Message)); |
This file contains 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; | |
namespace SyntaxTester | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
NullCheck nullCheck = null; | |
Console.WriteLine(string.Format("=>{0}", nullCheck?.Message)); |
This file contains 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
#kubeadm init --pod-network-cidr=10.244.0.0/16 | |
export KUBECONFIG=/etc/kubernetes/admin.conf | |
sysctl net.bridge.bridge-nf-call-iptables=1 | |
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/c5d10c8/Documentation/kube-flannel.yml | |
kubectl get pods --all-namespaces |
This file contains 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
apt update | |
apt upgrade -y | |
apt dist-upgrade -y | |
apt autoremove -y | |
apt install apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - | |
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" | |
apt update | |
apt install docker-ce -y | |
usermod -aG docker $USER |
This file contains 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.Text; | |
using System.Threading.Tasks; | |
namespace TestListAsyncAndExceptions | |
{ | |
class Program | |
{ |
This file contains 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
C:\>curl https://api.github.com/users/lsmithmier/gists |