View git-aliases.txt
git config --global alias.aliases "config --get-regexp ^alias\."
git config --global alias.last "log -1 HEAD"
git config --global "log --decorate --pretty=format:%Cgreen%h%Cred%d%Creset\ %s\ [%an]"
git config --global alias.ll "log --pretty=fuller"
git config --global "status"
git config --global alias.diffc "diff --cached"
git config --global "commit"
git config --global alias.cia "commit --amend"
git config --global alias.mff "merge --ff-only"
git config --global "mergetool"
View QueenSongs.linq
<Query Kind="Expression">
<NuGetReference Version="3.1.0">System.Reactive</NuGetReference>
<NuGetReference Version="1.2.0">TryParsers</NuGetReference>
<NuGetReference Version="1.0.0-alpha-20170321T1506" Prerelease="true">WebLinq</NuGetReference>
<Namespace>static WebLinq.Modules.HttpModule</Namespace>
View Get-MyNuGetApiKeys.ps1
Add-Type -AssemblyName System.Security; ([xml](type -Raw C:\Users\aziz1a\AppData\Roaming\NuGet\NuGet.Config)).configuration.apiKeys.add | Add-Member -PassThru original -Type ScriptProperty { [Text.Encoding]::UTF8.GetString([Security.Cryptography.ProtectedData]::Unprotect([Conver
t]::FromBase64String($this.value), [Text.Encoding]::UTF8.GetBytes('NuGet'), 'CurrentUser')) }
View EnumerableWrapper.g.csx
#r "System.Net.Http"
#r "System.Threading.Tasks"
#r "packages\Microsoft.CodeAnalysis.CSharp.2.3.2\lib\netstandard1.3\Microsoft.CodeAnalysis.CSharp.dll"
using System.Net.Http;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
var source = await new HttpClient().GetStringAsync("");
View Enumerable.cs
namespace System.Linq
// Summary:
// Provides a set of static (Shared in Visual Basic) methods for querying objects
// that implement System.Collections.Generic.IEnumerable`1.
public static class Enumerable
// Summary:
View ValueTupleEqualityComparer.g.cs
#region The MIT License (MIT)
// Copyright (c) 2017 Atif Aziz. All rights reserved.
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without limitation the rights to
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
// the Software, and to permit persons to whom the Software is furnished to do so,
// subject to the following conditions:
View git-alias.txt
git config "log --decorate --pretty=format:%Cgreen%h%Cred%d%Creset\ %s\ [%cn]"
git config alias.ll "log --decorate --stat"
git config alias.f "!git ls-files | grep -i"
git config alias.last "log -1"
View dotnet-install-v1.0.0-preview2.0.1.ps1
curl -OutFile dotnet-install.ps1
.\dotnet-install.ps1 -InstallDir dotnet -Verbose -Version 1.0.0-preview2-003131
View TupleVsValueTupleBenchmarks.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Runtime.CompilerServices;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
public class TupleVsValueTupleBenchmarks
View mockaroo.csv
id first_name last_name email gender ip_address
1 Daniel Kelley Male
2 Ann Perez Female
3 Jesse Cole Male
4 Charles Patterson Male
5 Walter Rogers Male
6 Albert Taylor Male
7 Harold Alvarez Male
8 Jessica Griffin Female
9 Gregory Watkins Male