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
$MyPwd = ConvertTo-SecureString -String "your password here" -Force –AsPlainText | |
$AzureCert = Get-ChildItem -Path Cert:\CurrentUser\My | where {$_.Subject -match "your certificate’s name here”} | |
Export-PfxCertificate -FilePath C:\your certificate’s name here.pfx -Password $MyPwd -Cert $AzureCert |
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
"C:\Program Files (x86)\Windows Kits\8.1\bin\x86\makecert.exe" -sky exchange -r -n "CN=your certificate's name" -pe -a sha256 -len 2048 -ss My "your certificate's name.cer" |
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
git config --global merge.tool semanticmerge | |
git config --global mergetool.semanticmerge.cmd "C:/Users/Alice/AppData/Local/PlasticSCM4/semanticmerge/semanticmergetool.exe -d \"$LOCAL\" -s \"$REMOTE\" -b \"$BASE\" -r \"$MERGED\"" | |
git config --global mergetool.semanticmerge.trustExitCode true | |
git config --global mergetool.prompt false | |
git config --global mergetool.keepBackup false |
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
[merge] | |
tool = semanticmerge | |
[mergetool] | |
prompt = false | |
keepBackup = false | |
[mergetool "semanticmerge"] | |
cmd = C:/Users/Alice/AppData/Local/PlasticSCM4/semanticmerge/semanticmergetool.exe -d \"$LOCAL\" -s \"$REMOTE\" -b \"$BASE\" -r \"$MERGED\" | |
trustExitCode = true |
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
[mergetool] | |
prompt = false | |
keepBackup = false |
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
[mergetool "semanticmerge"] | |
cmd = C:/Users/Alice/AppData/Local/PlasticSCM4/semanticmerge/semanticmergetool.exe -d \"$LOCAL\" -s \"$REMOTE\" -b \"$BASE\" -r \"$MERGED\" | |
trustExitCode = true |
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
[merge] | |
tool = semanticmerge |
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
-s ${rightFile} -d ${leftFile} -b ${baseFile} -r ${mergedFile} |
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
private void UpdateLight() | |
{ | |
var buildids = teamcitydataservice.GetBuildIds("BuildConfigIds.txt"); | |
var lastBuilds = teamcitydataservice.GetTeamCityBuilds(buildids); | |
if (lastBuilds.All(build => build.Status == BuildStatus.SUCCESS.ToString())) | |
{ | |
lightController.Light(BusylightColor.Green); | |
} | |
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
Boolean a = false; | |
Boolean b = true; | |
if (!a) | |
{ | |
Console.WriteLine("a is false"); | |
} | |
if (!b) | |
{ | |
Console.WriteLine("b is false"); |
NewerOlder