Skip to content

Instantly share code, notes, and snippets.

View BrianFarnhill's full-sized avatar

Brian Farnhill BrianFarnhill

View GitHub Profile
@BrianFarnhill
BrianFarnhill / harparser.ps1
Created April 8, 2020 22:32
Generate Locust test from HAR file in PowerShell
$rawData = Get-Content -Raw -Path 'YourFileNameHere.har' | ConvertFrom-Json
$rootUrl = 'https://Your.Root.Domain/'
$output = @"
from locust import HttpLocust, TaskSet, task
class MyTaskSet(TaskSet):
"@
@BrianFarnhill
BrianFarnhill / gist:61016cc79b81f6d62c2714db731fdd9c
Created July 2, 2018 08:53
Output of Omnisharp logs (root user)
Starting OmniSharp server at 2018-7-2 18:52:17
Target: /Users/[username]/Repos/BlogFunction
OmniSharp server started with Mono 5.10.1
Path: /Users/[username]/.vscode/extensions/ms-vscode.csharp-1.15.2/.omnisharp/1.31.2-beta.92/omnisharp/OmniSharp.exe
PID: 32967
[info]: OmniSharp.Stdio.Host
Starting OmniSharp on MacOS 10.12.6 (x64)
[info]: OmniSharp.Services.DotNetCliService
@BrianFarnhill
BrianFarnhill / gist:a33bdc6f93c7e3e80b10964e75042846
Created July 2, 2018 08:50
Output of Omnisharp logs (non-root user)
Starting OmniSharp server at 2018-7-2 18:47:50
Target: /Users/[username]/Repos/BlogFunction
OmniSharp server started
Path: /Users/[username]/.vscode/extensions/ms-vscode.csharp-1.15.2/.omnisharp/1.31.2-beta.92/run
PID: 32713
[info]: OmniSharp.Stdio.Host
Starting OmniSharp on MacOS 10.12.6 (x64)
[info]: OmniSharp.Services.DotNetCliService