Skip to content

Instantly share code, notes, and snippets.

View BlueHatbRit's full-sized avatar

Elliot Blackburn BlueHatbRit

View GitHub Profile
@BlueHatbRit
BlueHatbRit / easy-posh-git.ps1
Created April 15, 2016 10:29
Easy Posh-Git Installation
# Run the following commpands in Power-Shell (as Administrator)
# One time setup to ensure the scripts can be run
Set-ExecutionPolicy RemoteSigned
# Download the install script pipe it into Invoke-Expression
(new-object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1") | iex
# Install it
install-module posh-git
@BlueHatbRit
BlueHatbRit / build-number-helper.fsx
Last active February 16, 2018 11:50
A simple version number helper for FAKE build scripts (designed for Git Flow)
module BuildNumberHelper
open System
open Fake
let private majorMinorVersionMaster =
match environVarOrNone "MajorMinorVersion.Master" with
| Some v -> v
| None -> "0.0"
@BlueHatbRit
BlueHatbRit / FSharpSyntax.fsx
Last active December 14, 2015 19:41
Basic F# syntax guide
// All credit and any copyright is attributed to the source of this code:
// http://fsharpforfunandprofit.com/posts/fsharp-in-60-seconds/
// single line comments use a double slash
(* multi line comments use (* . . . *) pair
-end of multi line comment- *)
// ======== "Variables" (but not really) ==========
// The "let" keyword defines an (immutable) value