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 Serialization.Text | |
namespace Drawing.Geometry | |
{ | |
public class GeometryConverter : IJsonConverter | |
{ | |
public object Deserialize(IDictionary<string, object> dictionary, Type type, IJsonSerializer serializer) | |
{ |
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
{ | |
"name": "Visual Studio Dark", | |
"version": "1.0.0", | |
"description": "Reminiscent of Microsoft Visual Studio's default dark colors", | |
"originator": "Microsoft", | |
"palette": [ | |
{ "name": "text-white", "value": "#dcdcdc" }, | |
{ "name": "background-black", "value": "#1e1e1e" }, | |
{ "name": "comment-green", "value": "#57a64a" }, |
I hereby claim:
- I am joerobich on github.
- I am joeyrobichaud (https://keybase.io/joeyrobichaud) on keybase.
- I have a public key whose fingerprint is E069 C2C9 753A F124 6FC2 D4C5 F34B 212E FEE6 787E
To claim this, I am signing this object:
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
# -*- coding: utf-8 -*- # | |
module Rouge | |
module Lexers | |
class MXML < ActionScript | |
title "MXML" | |
desc "MXML" | |
tag 'mxml' | |
filenames '*.mxml' | |
mimetypes 'application/xv+xml' |
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 Windows.UI.Xaml; | |
using Windows.UI.Xaml.Controls; | |
namespace DataTemplates | |
{ | |
public class ThingTemplateSelector : DataTemplateSelector | |
{ | |
private readonly Dictionary<Type, Func<DataTemplate>> TemplatesByType; |
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
public static function isNullOrEmpty(object:Object):Boolean | |
{ | |
if (!object) | |
return true; | |
if (object is Array || | |
object is IList) | |
return !object.length; | |
for (var key:String in object) |
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
package com.thedevstop | |
{ | |
import flash.events.ErrorEvent; | |
import flash.events.Event; | |
import flash.events.EventDispatcher; | |
import flash.utils.setTimeout; | |
[Event(name="complete", type="flash.events.Event")] | |
[Event(name="error", type="flash.events.ErrorEvent")] | |
public class CSVReader extends EventDispatcher |
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.Linq; | |
using System.Linq.Expressions; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace TestNullCheckingExpressions | |
{ | |
class Program |
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
public class ConfidenceStore<T> where T : class | |
{ | |
public event EventHandler<EventArgs<T>> Changed; | |
private Queue<T> queue; | |
private int length; | |
private int threshold; | |
private T confidentItem; | |
public ConfidenceStore(int length, int threshold) |
NewerOlder