Skip to content

Instantly share code, notes, and snippets.

View wwitzel3's full-sized avatar

Wayne Witzel III wwitzel3

View GitHub Profile
@wwitzel3
wwitzel3 / gist:3792133
Created September 27, 2012 04:21 — forked from jayd3e/gist:3789169
Tiered Comment Notifications

Clustercomment

So I have been struggling with this problem for a bit now. The root of the problem is how does one properly notify people of when they receive comments on their content, when comments are tiered(meaning they form a tree of comments). For the purposes of this discussion, let's say our comments look something like this:

- comment(1) by danz
 |- comment(2) by jayd3e
   |- comment(4) by timtim
     |- comment(5) by jayd3e

|- comment(6) by bburd

@wwitzel3
wwitzel3 / getting_started.sh
Last active December 30, 2015 23:19 — forked from anonymous/skeleton.sh
pyramid_behave/getting_started.sh
git clone https://github.com/wwitzel3/pyramid_behave.git
cd pyramid_behave
pip install -e .
initialize_pyramid_behave_db development.ini
@wwitzel3
wwitzel3 / postgres_array.go
Created June 29, 2018 00:11 — forked from adharris/postgres_array.go
PostgreSQL demo of Array types using Golang
package main
import (
"database/sql"
"errors"
"fmt"
_ "github.com/bmizerany/pq"
"os"
"regexp"
"strings"
@wwitzel3
wwitzel3 / kube-registry.yaml
Created July 13, 2018 20:59 — forked from coco98/kube-registry.yaml
Docker registry on minikube
apiVersion: v1
kind: ReplicationController
metadata:
name: kube-registry-v0
namespace: kube-system
labels:
k8s-app: kube-registry
version: v0
spec:
replicas: 1