I hereby claim:
- I am quad on github.
- I am quad (https://keybase.io/quad) on keybase.
- I have a public key ASBxDFR1P5fGthosSBX-iUd18uAFSCpNZdqCY0yE0QaPvQo
To claim this, I am signing this object:
function hashify(hash, [key, value]) { | |
hash[key] = value; | |
return hash; | |
} | |
function eventId(event) { | |
if (event.isRecurringEvent()) { | |
return event.getId() + "-" + event.getStartTime().toISOString() + "-" + event.getEndTime(); | |
} | |
OPERATORS = "+-" | |
def simplify_parens(expr): | |
""" | |
Remove all unnecessary parenthesis for a simple algebra-like string. It maintains the brackets, so any operator can be swapped for any other and the resulting expression will have the same results before and after parenthesis reduction. | |
>>> simplify_parens('a') | |
'a' | |
>>> simplify_parens('a + b') |
import datetime | |
import enum | |
import re | |
import sys | |
import types | |
from collections import namedtuple | |
from decimal import Decimal | |
from operator import attrgetter |
tgray: tgray.c | |
clang -g -std=c11 -Wall -framework ApplicationServices $^ -o $@ |
#!/bin/sh | |
# The most important line in any shell program. | |
# | |
# Sometimes, though, I wish it worked in the [shebang][]. | |
set -e | |
file="$1" |
CFLAGS=-Wall -Wextra -Werror -std=c99 -O | |
all: cycle | |
./cycle | |
cycle: cycle.c |
using GLib; | |
using Gtk; | |
using WebKit; | |
public class Browser : Window { | |
private const string URL = "http://mixtape.quadhome.com/6/"; | |
private Notebook notebook; | |
public Browser() { |
I hereby claim:
To claim this, I am signing this object:
require 'benchmark' | |
require 'delegate' | |
class Direct | |
def method | |
'direct' | |
end | |
def base | |
'base' |
<html> | |
<meta charset="utf-8" /> | |
<style> | |
body { background-color: white; margin: auto; text-align: center; } | |
p { writing-mode: vertical-rl; } | |
span { font-size: 3vh; } | |
#off { color: white }; | |
</style> |