I hereby claim:
- I am jrusbatch on github.
- I am jrusbatch (https://keybase.io/jrusbatch) on keybase.
- I have a public key whose fingerprint is 1248 4DD6 1FA4 5A02 9980 E127 2B6F 7944 A411 9D7A
To claim this, I am signing this object:
| function Restore-Packages | |
| { | |
| $nuget = Join-Path $Env:UserProfile 'Tools/nuget.exe' | |
| if (Test-Path $nuget) { | |
| Write-Output "Restoring NuGet packages..." | |
| & $nuget restore -verbosity quiet | |
| } | |
| else { | |
| Write-Output "'$nuget' could not be found." |
| [alias] | |
| amend = commit -a --amend | |
| branches = branch -avv | |
| bclean = "!f() { git branch --merged ${1-develop} | grep -v \\* | grep -v master$ | grep -v ${1-develop}$ | xargs -r git branch -d; }; f" | |
| c = clone --recursive | |
| ca = !git add -A && git commit -av | |
| co = checkout | |
| d = diff --patch-with-stat | |
| fetch-pr = "!f() { git fetch -fu $1 refs/pull/$2/head:pull-$2; }; f" | |
| go = checkout -B |
I hereby claim:
To claim this, I am signing this object:
| namespace ArgListOutVar | |
| { | |
| public class Program | |
| { | |
| public static void Main(string[] args) | |
| { | |
| // __arglist(out var x); // Loading a project that contains a file with this line uncommented crashes VS | |
| __arglist(out int x); // If the type is explicit, VS doesn't crash | |
| } | |
| } |
| namespace ArgListOutVar | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| // __arglist(out var x) // Loading a file with this line uncommented crashes Visual Studio | |
| __arglist(out int x) // If the type is explicit, VS doesn't crash | |
| } | |
| } |
| #!/usr/bin/env bash | |
| EC_CURVE=secp384r1 | |
| SRC=$(pwd) | |
| KEY_FILE="$SRC/$EC_CURVE.private-key" | |
| CSR_FILE="$SRC/localhost.csr" | |
| CERT_FILE="$SRC/localhost.crt" | |
| CONFIG_FILE="$SRC/server.csr.cnf" | |
| OUT_FILE="$SRC/localhost.pfx" |
| public static class DatabaseFactory | |
| { | |
| private static ISqlLocalDbInstance GetInstance() | |
| { | |
| var provider = new SqlLocalDbProvider(); | |
| return provider.GetInstance("v13.0"); | |
| } | |
| public static IDatabase CreateDatabase() | |
| { |
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.Linq; | |
| using System.Runtime.InteropServices; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| internal class Job : IDisposable | |
| { |
| [alias] | |
| amend = commit -a --amend | |
| bclean = "!f() { git branch --merged ${1-master} | grep -v ${1-master}$ | xargs -n 1 git branch --delete; }; f" | |
| bprune = "!f() { echo $(git branch -r --merged | grep origin | grep -v master | grep -v development | xargs -L1 | cut -d / -f2-) | tr '\n' ' ' | xargs -n 1 git push origin --atomic --delete; }; f" | |
| branches = branch -avv | |
| c = clone --recursive | |
| ca = !git add -A && git commit -av | |
| co = checkout | |
| d = diff --patch-with-stat | |
| fetch-pr = "!f() { git fetch -fu $1 refs/pull/$2/head:pull-$2; }; f" |
| @echo Off | |
| :: If an existing file is specified, open that file. Otherwise, search the | |
| :: current directory for a solution file to open. If a solution file is not | |
| :: found, don't do anything. | |
| @set VS_LAUNCHER="%PROGRAMFILES(X86)%\Common Files\Microsoft Shared\MSEnv\VSLauncher.exe" | |
| @set TARGET="%1" |