<commit_before>﻿$packageName = 'speedfan'
$installerType = 'exe'
$silentArgs = '/S'
$url = 'http://www.almico.com/speedfan452.exe'
$checksum = 'e2ccb3c0d23f0d04ee8057f5ce3861eea952fb20694c1656c9805b1d4cd922ff'
$checksumType = 'sha256'
$validExitCodes = @(0)

$chocTempDir = Join-Path $Env:Temp "chocolatey"
$tempDir = Join-Path $chocTempDir "$packageName"
if (![System.IO.Directory]::Exists($tempDir)) {[System.IO.Directory]::CreateDirectory($tempDir) | Out-Null}
$installFile = Join-Path $tempDir "$($packageName)Install.$installerType"

$referer = "http://www.almico.com/sfdownload.php"
$wc = New-Object System.Net.WebClient
$wc.Headers.Add("Referer", $referer)
$wc.DownloadFile($url, $installFile)

Get-ChecksumValid -File "$installFile" `
                  -Checksum "$checksum" `
                  -ChecksumType "$checksumType"<commit_msg>Updated 1 pkg(s) on 2016-07-01: speedfan<commit_after>﻿$packageName = 'speedfan'
$installerType = 'exe'
$silentArgs = '/S'
$url = 'http://www.almico.com/speedfan452.exe'
$checksum = 'e2ccb3c0d23f0d04ee8057f5ce3861eea952fb20694c1656c9805b1d4cd922ff'
$checksumType = 'sha256'
$validExitCodes = @(0)

$tempDir = Join-Path $Env:Temp $packageName
if (![System.IO.Directory]::Exists($tempDir)) {[System.IO.Directory]::CreateDirectory($tempDir) | Out-Null}
$installFile = Join-Path $tempDir "$($packageName)Install.$installerType"

$referer = "http://www.almico.com/sfdownload.php"
$wc = New-Object System.Net.WebClient
$wc.Headers.Add("Referer", $referer)
$wc.DownloadFile($url, $installFile)

Get-ChecksumValid -File "$installFile" `
                  -Checksum "$checksum" `
                  -ChecksumType "$checksumType"
{'fraction_non_alphanumeric': 0.1654632972322503, 'fraction_numerical': 0.05956678700361011, 'mean_word_length': 5.299242424242424, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3313004', 'n_tokens_mistral': 686, 'n_tokens_neox': 637, 'n_words': 92}