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
export DESTINATION=[git URL] | |
export SOURCE=[git URL] | |
export BRANCH=main | |
# shallow clone of the destination - this should be at or behind the source | |
git clone --no-tags --progress --no-recurse-submodules --depth=1 $DESTINATION | |
git checkout $BRANCH | |
# add the source | |
git remote add source $SOURCE | |
# fetch only the delta | |
git fetch source $BRANCH |
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
{ | |
"pineapple_on_pizza": "true" | |
} |
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
using System; | |
using System.Net.Http; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using System.Threading.Tasks.Dataflow; | |
namespace ActionBlockTest | |
{ | |
class Program | |
{ |
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
- script: | | |
mkdir %CD%\trace | |
- script: | | |
logman create counter BuildCounters -si 00:05 -f csv -o %CD%\trace\perf.csv | |
- script: | | |
logman update BuildCounters -c "\Processor(_Total)\%% Processor Time" | |
- script: | | |
logman start BuildCounters | |
# do stuff | |
- script: | |