Skip to content

Instantly share code, notes, and snippets.

Avatar

Jason Smith jassmith

  • Glide
  • United States
View GitHub Profile
View insanity.tsx
import { assert } from "@glideapps/ts-necessities";
import { nonNull } from "common/Support";
import * as React from "react";
// A react component which draws a webgl canvas
export class CubeComponent extends React.Component<{
width?: number;
height?: number;
}> {
public width: number = 1000;
View Doordashistrash.txt
Soni S (9/20/2020, 1:52:24 PM): Hi! My name is Soni. Give me a few seconds to pull up your account info
Soni S (9/20/2020, 1:52:42 PM): Hello, Jason. How can I help you today?
Jason (9/20/2020, 1:53:17 PM): Hi Soni, I want to use doordash. Someone has unfortunately seemingly used my email address already to make a doordash account. I can log into it as Im the rightful owner of that email address.
Jason (9/20/2020, 1:53:37 PM): this has given me access to their address, the ability to use their credit card... etc etc. This is obviously a bad thing...
Jason (9/20/2020, 1:53:57 PM): Further I can't make a doordash account because well... I can't delete this existing one because its not tied ot my phone number
Jason (9/20/2020, 1:54:08 PM): so what do we do here?
Soni S (9/20/2020, 1:55:39 PM): Jason, could you please help me with the email address and phone number associated with the DoorDash account?
Jason (9/20/2020, 1:56:20 PM): <REDACTED>@gmail.com and I have no idea what phone number this person used
View gist:6ba986fdb3199769f1a0
[05:47:27]Start MSBuild...
[05:47:27]'C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe' '"@C:\BuildAgent2\work\88c312df9c542e6c\Xamarin.Forms.sln.teamcity.msbuild.tcargs" C:\BuildAgent2\work\88c312df9c542e6c\Xamarin.Forms.sln.teamcity'
[05:47:27]working dir = 'C:\BuildAgent2\work\88c312df9c542e6c'
[05:47:27]Microsoft (R) Build Engine version 14.0.24720.0
[05:47:27]Copyright (C) Microsoft Corporation. All rights reserved.
[05:47:27]
[05:47:27]MSBUILD : error MSB1021: Cannot create an instance of the logger. Could not load file or assembly 'Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
[05:47:27]Switch: JetBrains.BuildServer.MSBuildLoggers.MSBuildLogger,C:\BuildAgent2\plugins\dotnetPlugin\bin\JetBrains.BuildServer.MSBuildLoggers.dll
View xf-bug-repro-guidelines.md

Xamarin.Forms Bug Reproduction Guidelines

Do

  • Start with a clean Xamarin.Forms project.
  • Use a ContentPage subclass if possible
  • Use the most recent version
  • Clean project and delete packages/bin/obj folders before sending
  • Use .zip if possible
  • Minimize the number of Pages in your reproduction as much as possible
  • Remove extraneous content from the reproduction case
View FUPanel.cs
using System;
using Windows.Foundation;
using Windows.UI.Xaml.Controls;
namespace MeasureScrewsArrange
{
public class FUPanel : Panel
{
public FUPanel ()
{
View FUPanel.cs
using System;
using Windows.Foundation;
using Windows.UI.Xaml.Controls;
namespace MeasureScrewsArrange
{
public class FUPanel : Panel
{
public FUPanel ()
{
View gist:fc4cf31b45c73c91e68e
public class SliderViewModel : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
private double limitedValue = 10;
public double LimitedValue
{
get { return limitedValue; }
set
View gist:1d49c173d46f09610ffe
using System;
using NUnit.Framework;
namespace Xamarin.Forms.Core.UnitTests
{
[TestFixture]
public class MessagingCenterTests
{
[Test]
View gist:d53964946bf3410867cd
You can add native WP controls into standard Xamarin.Forms layouts.
You cannot do this however in cross platform code however (obviously)
because you will need to have access to the windows phone types to do
that (otherwise you wouldn't by able to access your windows phone
controls). Thus it wont fit well into a cross platform app, but it is
possible.