Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am felliott on github.
  • I am felliott (https://keybase.io/felliott) on keybase.
  • I have a public key ASAiSlxQQCZ1h57IVpvok1C65J-W_YlbpxyonBadWAYfywo

To claim this, I am signing this object:

@felliott
felliott / 0001-add-back-omitted-branding-and-api_selector-blocks.patch
Created October 15, 2015 18:50
Add back missing blocks to DRS base.html
From 176cc68aad36389379ea07457dd6f5b0c51fbd93 Mon Sep 17 00:00:00 2001
From: Fitz Elliott <fitz@cos.io>
Date: Thu, 15 Oct 2015 14:45:46 -0400
Subject: [PATCH] add back omitted branding and api_selector blocks
diff --git a/rest_framework_swagger/templates/rest_framework_swagger/base.html b/rest_framework_swagger/templates/rest_framework_swagger/base.html
index 3335f8d..49d734e 100644
--- a/rest_framework_swagger/templates/rest_framework_swagger/base.html
+++ b/rest_framework_swagger/templates/rest_framework_swagger/base.html
@felliott
felliott / 0001-Fix-failing-test-for-Swagger-UI-2.1-update.patch
Created October 15, 2015 16:16
Patch for failing test in django-rest-swagger
From b2c263c6e9e5e9150e02a25682d1861ab530e6f3 Mon Sep 17 00:00:00 2001
From: Fitz Elliott <fitz@cos.io>
Date: Thu, 15 Oct 2015 12:11:29 -0400
Subject: [PATCH] Fix failing test for Swagger-UI 2.1 update
An old test for https protocol preservation was searching for a static
string in the response content. The reponse format changed, so the test
has been updated to search for the https url via regex instead, which will
hopefully be more future-proof.
@felliott
felliott / gist:812508
Created February 5, 2011 15:06
flip-flop operator
class FlipFlop {
has $.lhs;
has $.rhs;
has $.exclude_first = Bool::False;
has $.exclude_last = Bool::False;
has $.sedlike = Bool::False;
has $.state is rw = 0;
@felliott
felliott / gist:802332
Created January 29, 2011 23:39
pod => xhtml error
=head1 Test
=over
=item *
First
=over
From 26807af930aaa617fd497ed41751b14714ae16eb Mon Sep 17 00:00:00 2001
From: Fitz Elliott <felliott@virginia.edu>
Date: Fri, 7 Jan 2011 09:45:08 -0500
Subject: [PATCH] test infix:<^^>'s short circuiting
---
S03-operators/short-circuit.t | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/S03-operators/short-circuit.t b/S03-operators/short-circuit.t
From 21a836593d7dcabc196195116efe50f560ee4540 Mon Sep 17 00:00:00 2001
From: Fitz Elliott <felliott@virginia.edu>
Date: Fri, 7 Jan 2011 09:39:30 -0500
Subject: [PATCH] fix erroneous [^^] () test
---
S03-operators/reduce-le1arg.t | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/S03-operators/reduce-le1arg.t b/S03-operators/reduce-le1arg.t
From a21a4c40ef851291584a9ce1eaf9f7a196fdbd7b Mon Sep 17 00:00:00 2001
From: Fitz Elliott <felliott@virginia.edu>
Date: Wed, 5 Jan 2011 12:43:56 -0500
Subject: [PATCH] add thundergnat++'s patch to implement chained ^^s
---
src/Perl6/Grammar.pm | 2 +-
src/core/operators.pm | 15 +++++++++++++++
2 files changed, 16 insertions(+), 1 deletions(-)