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: Flash | |
Serial: eNrzzU/OLi0odswsqnHLSSzOqDGoca7JKCkpsNLXLy8v1ytJTczVLUotKNFLzs8FAJHYETc= |
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 reflog | |
- find the SHA1 for the commit at the tip of your deleted branch | |
- git checkout [sha] | |
- git checkout -b [branchname] |
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
[Fact] | |
public void SendEmail() | |
{ | |
var settingsStub = new Mock<IPomboCorreioSettings>(); | |
settingsStub.Setup(s => s.Company) | |
.Returns("Stone"); | |
settingsStub.Setup(s => s.CostCenter) | |
.Returns("AffiliationElo"); | |
settingsStub.Setup(s => s.EmailTargetList) | |
.Returns(new List<EmailContactData>(new [] { new EmailContactData { Address = "ccarvalho@stone.com.br" } })); |
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
public static class MyServiceInstaller | |
{ | |
private const int STANDARD_RIGHTS_REQUIRED = 0xF0000; | |
private const int SERVICE_WIN32_OWN_PROCESS = 0x00000010; | |
[StructLayout(LayoutKind.Sequential)] | |
private class SERVICE_STATUS | |
{ | |
public int dwServiceType = 0; | |
public ServiceState dwCurrentState = 0; |
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
Open the portable .csproj and: | |
- Delete: <MinimumVisualStudioVersion>10.0</MinimumVisualStudioVersion> | |
- Delete: <DefaultLanguage>en-US</DefaultLanguage> | |
- Delete: <TargetFrameworkProfile>Profile344</TargetFrameworkProfile> | |
- Delete: <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | |
- Change: <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" /> | |
for this: <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
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
Emoji | Outra coisa | |
------------ | ------------- | |
:tada: `:constrution:` | initial commit | |
:art: `:art:` | quando melhorar a estrutura/formato do código | |
:racehorse: `:racehorse:` | quando melhorar a performance | |
:memo: `:memo:` | quando escrever alguma documentação | |
:bug: `:bug:` | quando corrigir um bug | |
:fire: `:fire:` | quando remover códigos ou arquivos | |
:green_heart: `:green_heart:` | quando corrigir uma build no CI | |
:white_check_mark: `:white_check_mark:` | quando adicionar testes |