Skip to content

Instantly share code, notes, and snippets.

View JohnyWS's full-sized avatar

Johny Woller Skovdal JohnyWS

View GitHub Profile
@JohnyWS
JohnyWS / paket.lock
Created November 28, 2019 20:56
package resolving blows stack #3690 - re-run on windows box
STORAGE: NONE
RESTRICTION: || (== netcoreapp3.0) (== netstandard2.0)
NUGET
remote: https://www.nuget.org/api/v2
Expecto (8.13.1) - restriction: || (== netcoreapp3.0) (&& (== netstandard2.0) (>= net461)) (&& (== netstandard2.0) (>= netcoreapp2.0))
FSharp.Core (>= 4.3.4)
Mono.Cecil (>= 0.11)
FSharp.Core (4.7) - restriction: || (== netcoreapp3.0) (&& (== netstandard2.0) (>= net461)) (&& (== netstandard2.0) (>= netcoreapp2.0))
Microsoft.AspNetCore.Authentication (2.2)
Microsoft.AspNetCore.Authentication.Core (>= 2.2)
@JohnyWS
JohnyWS / Program.cs
Created August 24, 2019 20:54
Playing around sequence generation
/********************************************************************************************
* Inspired by Amazing Graphs III - Numberphile: https://www.youtube.com/watch?v=j0o-pMIR8uk *
* Quick attempt at Rémy Sigrist's sequence: https://oeis.org/A279125 *
* Runs fine in Visual Studio Code and prints with the help of SharpPad *
* Ended up writing to file instead though, and attempted to use an online plotter *
* Just paste the dump into here: http://gnuplot.respawned.com/ *
* and change the plot commands to this: plot "data.txt" *
* and see the mountains taking form... :) *
********************************************************************************************/
@JohnyWS
JohnyWS / Start-RequiredServices.ps1
Created January 3, 2019 15:06
Helper file to spin up various required services
# Helper method
function StartService($ServiceName) {
$arrService = Get-Service -Name $ServiceName
while ($arrService.Status -ne 'Running')
{
Start-Service $ServiceName
write-host $arrService.status
write-host 'Service starting'
Start-Sleep -seconds 5