This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#r "System.Xml.Linq.dll" | |
#r "packages/FSharp.Data/lib/net45/FSharp.Data.dll" | |
open FSharp.Data | |
// ------------------------------------------------------------------ | |
// WORD #1 | |
// | |
// Use the WorldBank type provider to get all countries in the | |
// "North America" region, then find country "c" with the smallest | |
// "Life expectancy at birth, total (years)" value in the year 2000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param ( | |
[string] | |
$OutputDir | |
) | |
function DownloadBootstrapper { | |
param( | |
[string] | |
$OutputPath | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Param ( | |
[Parameter(Mandatory=$true)] | |
[string] | |
$ClearString | |
) | |
$hasher = [System.Security.Cryptography.HashAlgorithm]::Create('sha256') | |
$hash = $hasher.ComputeHash([System.Text.Encoding]::UTF8.GetBytes($ClearString)) | |
$hashString = [System.BitConverter]::ToString($hash) |