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
<ScrollView> | |
<appControls:WrapLayout | |
Margin="2" | |
VerticalOptions="FillAndExpand" | |
Spacing="6" | |
RowSpacing="10" | |
MaxColumns="3" | |
ItemsSource="{Binding Ads}" | |
x:Name="thelist"> | |
<appControls:WrapLayout.ItemTemplate> |
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
#!/usr/bin/env bash | |
if [ "$APPCENTER_BRANCH" != "master" ]; | |
then | |
echo "NOT Master" | |
else | |
echo "Is Master" | |
fi |
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
public static class ContainerExtensions | |
{ | |
public static async Task<bool> ExistsAsync<T>(this Container container, Expression<Func<T,bool>> predicate) | |
{ | |
var qdef = container.GetItemLinqQueryable<T>().Where(predicate).ToQueryDefinition(); | |
var iterator = container.GetItemQueryIterator<T>(qdef.QueryText, null, new QueryRequestOptions { MaxItemCount = 1 }); | |
if (!iterator.HasMoreResults) return 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
<?xml version="1.0" encoding="utf-8"?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> | |
</SnippetTypes> | |
<Title>NUnit Test Method</Title> | |
<Author>Rasmus Tolstrup Christensen</Author> | |
<Description>Code snippet for a test method</Description> |
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
// MIT License | |
// | |
// Copyright (c) 2020 Rasmus Christensen | |
// | |
// Thanks to Simon Simon Lightfoot for inspiration. | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
OlderNewer