Skip to content

Instantly share code, notes, and snippets.

@jkone27
jkone27 / generateAspnetcore.fsx
Created April 14, 2023 14:58
script to generate aspnetcore load scripts for currently installed frameworks to be used in dotnet interactive
// original version of the script below, awesome thanks angry-byrd!
// https://github.com/TheAngryByrd/IcedTasks/blob/72638c8719014ae963f2662449c99f87090041d1/generate-sdk-references.fsx
open System
open System.IO
open System.Diagnostics
open System.Text.RegularExpressions
// This script is used to generate the .fsx files that are used to load the .NET SDK.
// It will generate a .fsx file for each version of the .NET SDK that is installed.
@zaphar
zaphar / date_util.erl
Created May 1, 2009 06:07
set of utility functions that wrap the calendar module and erlangs now() date() and time() functions
-module(date_util).
-compile(export_all).
epoch() ->
now_to_seconds(now())
.
epoch_hires() ->
now_to_seconds_hires(now())
.