Skip to content

Instantly share code, notes, and snippets.

View heytherewill's full-sized avatar

William Barbosa heytherewill

View GitHub Profile
@heytherewill
heytherewill / WovenLoginViewModel.cs
Created October 24, 2017 21:50
Code snippets for ".NET IL Weaving for those who know nothing about .NET IL Weaving"
namespace Woven
{
//BaseViewModel implements INotifyPropertyChanged
public sealed class LoginViewModel : BaseViewModel
{
public bool IsLoading { get; set; }
public string Email { get; set; }
public string Password { get; set; }
@heytherewill
heytherewill / NonWovenLoginViewModel.cs
Last active October 24, 2017 21:50
Code snippets for ".NET IL Weaving for those who know nothing about .NET IL Weaving"
namespace NonWoven
{
//BaseViewModel implements INotifyPropertyChanged
public sealed class LoginViewModel : BaseViewModel
{
private bool _isLoading;
public bool IsLoading
{
get => _isLoading;
set

Keybase proof

I hereby claim:

  • I am willsb on github.
  • I am willsb (https://keybase.io/willsb) on keybase.
  • I have a public key ASAD0-tqTDh7fi4cA3M-g-o0vjDnsZKGM20D3B2mERRgxQo

To claim this, I am signing this object:

@heytherewill
heytherewill / polyline.cs
Created February 18, 2016 17:21
Decode a Polyline String in Xamarin.Android
private IEnumerable<LatLng> DecodePolylineString(string encodedPath)
{
var len = encodedPath.Length;
var index = 0;
var lat = 0;
var lng = 0;
while (index < len)
{
var result = 1;