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: Deploy to App Engine | |
on: | |
release: | |
types: [created] | |
jobs: | |
deploy: | |
runs-on: [ubuntu-latest] | |
steps: |
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
### Keybase proof | |
I hereby claim: | |
* I am luizbon on github. | |
* I am luizbon (https://keybase.io/luizbon) on keybase. | |
* I have a public key ASCJKrrnDX2WZJvUYjqy7ylcPhLePCV01rYNtHV0ixr6-wo |
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
Import-Module -Name ".\Invoke-MsBuild.psm1" | |
Function BumpWMAManifest($version) { | |
Get-ChildItem ".\" -recurse -exclude *Bin* -Filter WMAppManifest.xml | ` | |
ForEach-Object { | |
$fullName = $_.FullName | |
Write-Host "Updating the Store App Package '$fullName' to version ' $version '" | |
$xml = [xml](Get-Content $fullName) | |
$node = $xml.Deployment.App |
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.Collections.Generic; | |
using System.Threading.Tasks; | |
using Windows.Storage; | |
using Windows.Storage.Search; | |
using Caliburn.Micro; | |
using Newtonsoft.Json; | |
namespace FileStorage | |
{ |
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
void MyMethod(){ | |
MyMethodAsync().Result; | |
} | |
async Task MyMethodAsync(){ | |
await MyExternalResourceAsync().ConfigureAwait(false); | |
} |
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
void MyMethod(){ | |
MyMethodAsync().Result; | |
} | |
async Task MyMethodAsync(){ | |
await MyExternalResourceAsync(); //Your code will hang here | |
} |
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 PageNumber_Above_RecordCount_Returns_Empty_List2() | |
{ | |
//arrange | |
var data = new[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; | |
var page = 1; | |
var pageSize = 2; | |
//act |