Skip to content

Instantly share code, notes, and snippets.

View mynameisrufus's full-sized avatar

Rufus Post mynameisrufus

View GitHub Profile
I need SQL to turn this:
| user_id | question_name | answer |
| 1 | 'q1' | 'a' |
| 1 | 'q2' | 'b' |
| 1 | 'q3' | 'c' |
| 2 | 'q1' | 'd' |
| 2 | 'q2' | 'e' |
| 2 | 'q3' | 'f' |
@mattmccray
mattmccray / Cakefile
Created August 9, 2010 06:23
Cakefile for compiling Coffee and LESS files, optionally compressing them with YUIC
###
Web Toolkit v0.4 (by M@ McCray)
http://gist.github.com/515035
NOTE: This is meant to be used as a Cakefile (Coffee's RAKE equivalent).
###
COFFEE_SRC="source/coffee"
@subtleGradient
subtleGradient / BuildSugar.SubtleGradient.js
Created January 15, 2010 12:34
BuildSugar—Provides a bizarrely clean & simple syntax sugar for building HTML/XML strings
/*
---
provides : BuildSugar
version : 0.1alpha1
description : Provides a bizarrely clean & simple syntax sugar for building HTML/XML strings
source : http://gist.github.com/278016
git : git://gist.github.com/278016.git
demo : http://jsfiddle.net/SubtleGradient/4W3RR/
author : Thomas Aylott