Skip to content

Instantly share code, notes, and snippets.

View Clancey's full-sized avatar

James Clancey Clancey

View GitHub Profile
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Collections.Specialized;
using System.Timers;
namespace System.Collections.Generic {
public class BulkUpdateObservableCollection<T> : ObservableCollection<T> {
bool isBulkUpdating;
protected override void OnCollectionChanged (NotifyCollectionChangedEventArgs e)
    public class Links
    {
    }
    public class Chatters
    {
        [JsonProperty("broadcaster")]
        public IList<string> Broadcaster { get; set; }
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
It will be read and overwritten.
DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DL><p>
<DT><H3 ADD_DATE="1513205511" LAST_MODIFIED="1555649077">ZombieGame</H3>
using System;
using Xamarin.Forms;
using Xamarin.Forms.Internals;
namespace gMusic.Views
{
public class OverflowLabel : ContentView, IFontElement
{
public static readonly BindableProperty HorizontalTextAlignmentProperty =
BindableProperty.Create(nameof(HorizontalTextAlignment), typeof(TextAlignment), typeof(OverflowLabel), TextAlignment.Start,
at Foundation.NSObject.get_SuperHandle () [0x00012] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.8.0.0/src/Xamarin.iOS/Foundation/NSObject2.cs:449
at UIKit.UITableViewCell.get_TextLabel () [0x0002a] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.8.0.0/src/Xamarin.iOS/UIKit/UITableViewCell.g.cs:980
at Xamarin.Forms.Platform.iOS.TextCellRenderer.HandleCellPropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs args) [0x0002a] in <8c4db0cea1de49bb871147a140eaac39>:0
at Xamarin.Forms.Platform.iOS.CellTableViewCell.HandlePropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs e) [0x0000a] in <8c4db0cea1de49bb871147a140eaac39>:0
at (wrapper delegate-invoke) <Module>.invoke_void_object_PropertyChangedEventArgs(object,System.ComponentModel.PropertyChangedEventArgs)
at Xamarin.Forms.BindableObject.OnPropertyChanged (System.String propertyName) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:173
at Xamarin.Fo
using System;
using System.Collections.Generic;
using System.Linq;
namespace Xamarin.Forms {
public class VisualElementStyle : StyleHelper {
public VisualElementStyle () { Type = typeof (VisualElement); }
public Xamarin.Forms.INavigation Navigation {
get => GetValue<Xamarin.Forms.INavigation> (VisualElement.NavigationProperty);

Agenda 4/3/2019

  • Build Settings Screen
  • Add Styles
    • Add Dynamic Fonts
    • Custom Fonts
  • Gradient Backgrounds
  • NGraphics Image Loading
    • Tinted Images
  • Search Screen
using System.Net.Http;
namespace SimpleAuth.Providers {
public class StravaApi : OAuthApi {
public StravaApi (string identifier, string clientId, string clientSecret, string redirect, HttpMessageHandler handler) :
base (identifier, clientId, clientSecret, "https://www.strava.com/oauth/token", "https://www.strava.com/oauth/mobile/authorize", redirect, handler)
{
BaseAddress = new Uri ("https://www.strava.com/api/v3/");
}
}
import 'package:simple_auth/simple_auth.dart';
import "package:http/http.dart" as http;
class InstagramApi extends OAuthApi {
InstagramApi(String identifier, String clientId, String clientSecret,
String redirectUrl,
{List<String> scopes,
http.Client client,
Converter converter,
AuthStorage authStorage})
using System;
using System.Runtime.InteropServices;
using OpenZWave;
using System.Threading.Tasks;
namespace OpenZWaveApp
{
class Program
{
static void Main(string[] args)