View Boxstarter
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
Enable-RemoteDesktop | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
Set-TaskbarOptions -Size Small -Combine Never | |
cinst GoogleChrome | |
cinst Firefox | |
cinst fiddler4 | |
cinst 7zip.install | |
cinst adobereader |
View cleanbranches
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
# Remove remote branches that don't exist anymore | |
git remote prune origin | |
# List branches, find ones where the origin is gone, then delete each branch name | |
git branch -vv | Select-String -Pattern "origin/.*: gone]" | ForEach-Object{($_ -split "\s+")[1]} | %{git branch -D $_} |
View docker-compose.yml
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
version: '3' | |
services: | |
jekyll: | |
image: jekyll/jekyll:latest | |
command: jekyll serve --force-polling | |
ports: | |
- 4000:4000 | |
volumes: | |
- .:/srv/jekyll |
View gist:ab8af8616f21e7e67dad68d2eb4047a9
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
https://github.com/dotnet/aspnetcore/issues/21183#issuecomment-619461697 |
View GitHubActions.yml
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
name: Build .Net Core projects | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
pull_request: | |
branches: | |
- dev |
View clean.ps1
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
git checkout dev && (git branch -D @(git branch | select-string -NotMatch "dev|main" | Foreach {$_.Line.Trim()})) |