Skip to content

Instantly share code, notes, and snippets.

View bieli's full-sized avatar

Marcin Bielak bieli

View GitHub Profile
@karlseguin
karlseguin / fakeresponse.go
Created March 10, 2013 12:51
A fake http.ResponseWriter class, used for testing. See http://openmymind.net/Testing-In-Go/
package fakeresponse
import (
"testing"
"net/http"
)
type FakeResponse struct {
t *testing.T
headers http.Header
@zeffii
zeffii / pygments deal with escape.py
Created September 29, 2012 13:48
dirty string literal escape in pygments
"""
BEGIN GPL LICENSE BLOCK
(c) Dealga McArdle 2012 / blenderscripting.blogspot / digitalaphasia.com
This program is free software; you may redistribute it, and/or
modify it, under the terms of the GNU General Public License
as published by the Free Software Foundation - either version 2
of the License, or (at your option) any later version.
@sroebuck
sroebuck / ScalaWebFrameworkReview.md
Created January 15, 2011 22:15
Scala Web Framework Review

Scala suited web frameworks

Overview

In general these frameworks provide functionality that covers one or more of the following:

  • Routing: A mechanism for taking HTTP requests and routing them to some code that handles them and returns a response.