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
# clean up local branches that have been removed from the remote, then prune the remote branches too | |
# only run on master | |
[ "$(git branch --show-current)" = "master" ] \ | |
&& git branch --merged \ | |
| grep -vw master \ | |
| xargs -n 1 git branch -d \ | |
&& git remote prune origin | |
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
# expected to be downloaded and executed on demand | |
# useful when http is convenient but a nuget host isn't | |
# iwr <url of script> | iex | |
Remove-Module 'ModuleNameHere' -ErrorAction 'SilentlyContinue' | |
New-Module -Name 'ModuleNameHere' -ScriptBlock { | |
$ErrorActionPreference = 'Stop' |
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
2016-12-05 16:55:33,083 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb | |
2016-12-05 16:55:33,083 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb | |
2016-12-05 16:55:33,098 [DEBUG] - XmlConfiguration is now operational | |
2016-12-05 16:55:33,176 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\config". | |
2016-12-05 16:55:33,286 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\config\chocolatey.config.update" | |
to "C:\ProgramData\chocolatey\config\chocolatey.config". | |
2016-12-05 16:55:33,286 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\config\chocolatey.config.update". | |
2016-12-05 16:55:33,302 [INFO ] - ============================================================ | |
2016-12-05 16:55:33,302 [INFO ] - Chocolatey v0.10.3 | |
2016-12-05 16:55:33,317 [DEBUG] - Chocola |