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; | |
using System.Threading.Tasks; | |
namespace MyNamespace | |
{ | |
public class TaskWithTimeoutWrapper | |
{ | |
protected volatile bool taskFinished = 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
using Xamarin.Forms; | |
namespace MyNamespace.Forms.UI.Behaviors | |
{ | |
public class ImageAsCheckboxBehavior : Behavior<Image> | |
{ | |
// Members | |
private TapGestureRecognizer tapGestureRecognizer; | |
// Bindable properties |
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
#!/bin/bash | |
nugetPackagesFolder="$HOME/.nuget/packages" | |
rm -r `find $nugetPackagesFolder -type d -not -path $nugetPackagesFolder | |
` | |
constrainedPath="$HOME/Documents" | |
if [ -z $1 ] ; then | |
exit 1 | |
elif [[ $1 != *$constrainedPath* ]]; then |
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.Globalization; | |
using System.Text.RegularExpressions; | |
namespace Utilities.Extensions | |
{ | |
public static class LocationExtensions | |
{ | |
/// <summary> | |
/// Retrieves latitude, longitude coordinates from a ISO-6709 standard string |