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
function Get-GitLog { | |
[CmdLetBinding(DefaultParameterSetName='Default')] | |
param ( | |
[Parameter(ParameterSetName='Default',ValueFromPipeline,Mandatory)] | |
[Parameter(ParameterSetName='SourceTarget',ValueFromPipeline,Mandatory)] | |
[ValidateScript({Resolve-Path -Path $_ | Test-Path})] | |
[string]$GitFolder, | |
[Parameter(ParameterSetName='SourceTarget',Mandatory)] |
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
# ---------------------------------------------------------------------------------------------------------------------- | |
# Functions required to create PowerShell GUI using System.Windows.Forms | |
# ---------------------------------------------------------------------------------------------------------------------- | |
#region load assemblies | |
try { | |
[Void][reflection.assembly]::loadwithpartialname('System.Windows.Forms') | |
[Void][reflection.assembly]::loadwithpartialname('System.Drawing') | |
} | |
catch { |
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
function Get-Sysinternals { | |
[CmdLetBinding()] | |
param( | |
[string]$InstallLocation | |
) | |
if ($InstallLocation) { | |
Get-ChildItem -Path $InstallLocation | Select-Object -Property Name,Length,LastWriteTime,@{l='Updated';e={Get-Date $_.LastWriteTime -Format d}} | |
} else { |
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
#!/usr/bin/env bash | |
set -e # halt script on error | |
echo | |
echo "------------------------------------------------------------------------------------------------------------------------" | |
if [ "$TRAVIS_PULL_REQUEST" != "false" -a "$TRAVIS_BRANCH" == "comments" ]; then | |
echo | |
echo "Building site for pull request for $TRAVIS_BRANCH..." | |
bundle exec jekyll build --config _config.yml --source . --destination ./docs |
NewerOlder