This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<key name="Software"> | |
<key name="ConEmu"> | |
<key name=".Vanilla" modified="2015-10-23 15:59:29" build="150513"> | |
<value name="StartType" type="hex" data="02"/> | |
<value name="CmdLine" type="string" data=""/> | |
<value name="StartTasksFile" type="string" data=""/> | |
<value name="StartTasksName" type="string" data="{PowerShell}"/> | |
<value name="StartFarFolders" type="hex" data="00"/> | |
<value name="StartFarEditors" type="hex" data="00"/> |
This file contains hidden or 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
# Compatibility with PS major versions <= 2 | |
if(!$PSScriptRoot) { | |
$PSScriptRoot = Split-Path $Script:MyInvocation.MyCommand.Path | |
} | |
# Add Cmder modules directory to the autoload path. | |
$CmderModulePath = Join-path $PSScriptRoot "psmodules/" | |
if( -not $env:PSModulePath.Contains($CmderModulePath) ){ | |
$env:PSModulePath = $env:PSModulePath.Insert(0, "$CmderModulePath;") |
This file contains hidden or 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
$hash = git describe --long --always;gci **/AssemblyInfo.* -recurse | foreach { $content = (gc $_) -replace "\[assembly: Guid?.*", "$&`n[assembly: AssemblyMetadata(`"commithash`", `"$hash`")]" | sc $_ } |
This file contains hidden or 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
[push] | |
default = simple | |
[user] | |
name = '' | |
email = '' | |
[core] | |
autocrlf = true | |
excludesfile = | |
[diff] | |
tool = vsdiffmerge |
This file contains hidden or 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
# Get previous git tag | |
git describe --abbrev=0 --tags $(git rev-list --tags --skip=1 --max-count=1) | |
# Generate release notes (in markdown format) | |
git log ""$tag""...HEAD --pretty=format:'* %s ' --reverse --no-merges |
This file contains hidden or 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
npm install -g iisexpress-proxy |
This file contains hidden or 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
<Target Name="AfterBuild" Condition=" '$(Configuration)' == 'Release'"> | |
<GetAssemblyIdentity AssemblyFiles="$(TargetPath)"> | |
<Output TaskParameter="Assemblies" ItemName="myAssemblyInfo" /> | |
</GetAssemblyIdentity> | |
<ItemGroup> | |
<!-- If your .NET version is <3.5 and you get build error, move this ItemGroup outside of Target --> | |
<NuGetExe Include="..\packages\NuGet.CommandLine.*\tools\nuget.exe" /> | |
<SquirrelExe Include="..\packages\Squirrel.Windows.*\tools\squirrel.exe" /> | |
</ItemGroup> | |
<PropertyGroup> |
This file contains hidden or 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
docker stop $(docker ps -aq) | |
docker rm $(docker ps -aq) | |
docker rmi $(docker images -q) | |
docker container prune # Remove all stopped containers | |
docker volume prune # Remove all unused volumes | |
docker image prune # Remove unused images | |
docker system prune # All of the above, in this order: containers, volumes, images | |
docker system df # Show docker disk usage, including space reclaimable by pruning |
This file contains hidden or 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
# Manually remove finalizers | |
kubectl edit -n cattle-system secret tls-rancher | |
kubectl patch secret tls-rancher -p '{"metadata":{"finalizers":[]}}' --type='merge' -n cattle-system | |
kubectl patch namespace cattle-system -p '{"metadata":{"finalizers":[]}}' --type='merge' -n cattle-system | |
kubectl delete namespace cattle-system --grace-period=0 --force | |
kubectl patch namespace cattle-global-data -p '{"metadata":{"finalizers":[]}}' --type='merge' -n cattle-system | |
kubectl delete namespace cattle-global-data --grace-period=0 --force |