Skip to content

Instantly share code, notes, and snippets.

View gpltaylor's full-sized avatar
I may be slow to respond.

Garry Taylor gpltaylor

I may be slow to respond.
  • Fluent Money
  • Lancashire
View GitHub Profile
gpltaylor / big-o-notation.ipynb
Created February 8, 2024 17:19 — forked from jonkrohn/big-o-notation.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import java.util.ArrayList;
class Person {
private String name;
public Person(String name) {
public String getName() {
import React, { PropTypes } from 'react'
const BEFOREUNLOAD = "beforeunload"; // see:
class NavigationPrompt extends React.Component {
static contextTypes = {
router: PropTypes.object.isRequired
static defaultProps = {
when: true
<!DOCTYPE html>
<meta name="description" content="[Todo App]">
<script src="//"></script>
<script src="//"></script>
<script src=""></script>
<script src=""></script>
<script src=""></script>
<script src=""></script>
import React from 'react'
import { Debounce } from 'react-throttle'
var XPos = (props) => {
return <div>
x: {props.x}
var YPos = (props) => {
gpltaylor / FormidableLabs spectacle
Last active October 3, 2016 18:43
How to separate Slides into module files
import React from "react";
import {
} from "spectacle";
var MainBody = () => {
return <div>
gpltaylor / ShouldSerializeContractResolver.cs
Created September 26, 2015 17:03
Sample ContractResolver that conditionally removes properties from JSON. This can be plumbed into ASP.NET/API
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Linq
using AutoMapper;
using Newtonsoft.Json;