Skip to content

Instantly share code, notes, and snippets.

@mathfarmer
mathfarmer / JackHouse.cs
Last active September 9, 2016 18:03
When your generic type parameters start reminding you of this, you should probably reconsider your approach...
// <copyright file="JackHouse.cs">
// Copyright 2016 by Douglas A. Telfer
// SPDX-License-Identifier: MPL-2.0 or GPL-2.1 or GPL-3.0
// </copyright>
// <author>${Author}</author>
// <date>Friday, September 9, 2016</date>
// <summary></summary>
using System;
namespace TheHouseThatJackBuilt
{
@mathfarmer
mathfarmer / core.cljs
Created October 12, 2015 06:07
Devcards 0.2.0-3 & Reagent 0.5.1 issue: Input box loses focus when typing if atom passed to card
(ns devcards-react-test.core
(:require
[reagent.core :as reagent]
[sablono.core :as sab :include-macros true])
(:require-macros
[devcards.core :as dc :refer [defcard deftest]]))
;; --------------------------------------------------
;; This replaces the core.cljs from devcards-template
;; Make sure to add [reagent "0.5.1"] to project.clj
@mathfarmer
mathfarmer / gist:d70b11fc1061c9a99981
Last active August 29, 2015 14:08
SimpleCoin: The Missing Setup Guide

SimpleCoin: The Missing Setup Guide

The following should get you a running SimpleCoin pool that generates valid merge-mined blocks and pays them out to users. The setup is based on a relatively stock Xubuntu 14.04 distribution, and assumes bash as the shell.

While the guide below includes a lot of the data from the README files, it does not include all of it, so make sure to read each README file in addition to this guide.

Install Prerequisites

Installing python2.7 and virtualenv