git checkout main
git remote set-head origin -a
Source: https://stackoverflow.com/questions/8839958/how-does-origin-head-get-set
[user] | |
name = Dickson Souza | |
email = [email protected] | |
[core] | |
editor = \"\\Microsoft VS Code\\bin\\code\" --wait | |
repositoryformatversion = 0 | |
filemode = false | |
bare = false | |
logallrefupdates = true | |
symlinks = false |
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs | |
############################### | |
# Core EditorConfig Options # | |
############################### | |
# All files | |
[*] | |
indent_style = space | |
# Code files |
{ | |
"configuration": "release", | |
"{projectName}.branchCoverage.threshold": 100, | |
"debug.terminal.clearBeforeReusing": true, | |
"terminal.integrated.automationProfile.windows": { | |
"path": "C:\\Windows\\System32\\cmd.exe" | |
}, | |
"files.exclude": { | |
"**/bin": true, | |
"**/obj": true, |
@echo off | |
@echo ====================================================== | |
@echo {mainProjectName} - Remove bin and obj folders | |
@echo ====================================================== | |
@echo off | |
@echo. | |
@echo. | |
cd ..\ | |
md log |
#!/bin/sh | |
BLUE='\033[0;34m' | |
RED='\033[0;31m' | |
NOCOLOR='\033[0m' | |
# Check if the version of pre-commit hook was updated in version control | |
# since it is not possible to version control the actual pre-commit script | |
original_pre_commit_hook=".git/hooks/pre-commit" | |
pre_commit_hook_in_version_control=".git-hooks-for-reuse/pre-commit" |
{ | |
"stryker-config": { | |
"additional-timeout": 20000, | |
"baseline": {}, | |
"concurrency": 4, | |
"coverage-analysis": "perTest", | |
"disable-bail": false, | |
"disable-mix-mutants": false, | |
"ignore-methods": [], | |
"ignore-mutations": [], |
@REM In order to execute sonar coverage, you'll need to have sonarqube community downloaded and running local on your machine | |
@REM and sonarscanner installed as well and placed its /bin folder as a PATH ENVIRONMENT VARIABLE. | |
@REM Additionaly, you need to provide a Project TOKEN and set its value on LOGIN parameter (line 7). | |
set project="PLACE PROJECT NAME HERE" | |
set login="PLACE YOUR TOKEN HERE" | |
set host=http://localhost:9000 | |
https://marketplace.visualstudio.com/items?itemName=formulahendry.dotnet-test-explorer | |
https://marketplace.visualstudio.com/items?itemName=mgmcdermott.vscode-language-babel | |
https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments | |
https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks | |
https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools | |
https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools-extension-pack | |
https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools-themes | |
https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp | |
https://marketplace.visualstudio.com/items?itemName=wmaurer.change-case | |
https://marketplace.visualstudio.com/items?itemName=adpyke.codesnap |
git checkout main
git remote set-head origin -a
Source: https://stackoverflow.com/questions/8839958/how-does-origin-head-get-set
// Reference: | |
// https://stackoverflow.com/questions/3903222/measure-execution-time-in-c-sharp | |
// Answer by https://stackoverflow.com/users/435383/katbyte | |
using System; | |
using System.Diagnostics; | |
using System.Threading; | |
namespace Diagnostic | |
{ |