Skip to content

Instantly share code, notes, and snippets.

View thedillonb's full-sized avatar

Dillon Buchanan thedillonb

View GitHub Profile
coooooo
@thedillonb
thedillonb / banana.md
Last active August 29, 2015 14:16
Awesome!

This is a banana!

Right?!?!

@thedillonb
thedillonb / afile!
Created March 14, 2015 15:13
Great file dillon!
asdfasdf
@thedillonb
thedillonb / moo
Last active August 29, 2015 14:17 — forked from liammclennan/gist:50d58f366b99f38f5926
Euclid usage
euclid.start([{
title: 'Home',
entry: function () {
return server.getDecks().then(function (decks) {
loginChanges();
var data = {decks: decks};
return [components.Home(data), data];
}, function () {
return [components.NotAuthenticated(), {}];
});
@thedillonb
thedillonb / Hello.markdown
Last active August 29, 2015 14:18
This is a test. Moo
  • This is now

  • A markdown

  • Document!

  • It even

  • Does

  • This

@thedillonb
thedillonb / test.md
Last active August 29, 2015 14:22
Awesome Sauce

This is a test of everything!

@thedillonb
thedillonb / logstash-sentry.rb
Created June 26, 2015 00:44 — forked from clarkdave/logstash-sentry.rb
(Logstash) Sentry output plugin. Moo
# The MIT License (MIT)
# Copyright (c) 2014 Dave Clark
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@thedillonb
thedillonb / program.fs
Created July 26, 2015 01:12
A very simple F# example using OWIN
open System
open Owin
open Microsoft.Owin
let doStuff (x:IOwinContext) =
x.Response.StatusCode <- 200
x.Response.WriteAsync "Hello!"
[<EntryPoint>]
let main argv =
@thedillonb
thedillonb / permute-characters.js
Last active August 30, 2015 02:57 — forked from h2non/permute-characters.js
Recursive implementation of string characters permutation covering all possible cases without duplication
/**
* Recursive implementation of string characters permutation
* covering all possible cases without duplication
*/
function permute(str) {
var stack = []
if (str.length === 1) {
return [ str ]
}