http://dustinphoto.couchone.com/test/_design/hacks/_view/all_keys?group_level=1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
# JSONDB - a compressed JSON format | |
# By Devon Govett | |
# Originally proposed by Peter Michaux - http://michaux.ca/articles/json-db-a-compressed-json-format | |
# | |
# jsondb.pack converts an array of objects with the same keys (i.e. from a database) | |
# and flattens them into a single array, which is much smaller than the pure json | |
# representation where the keys are repeated for each item in the array. | |
# Combine with JSON.stringify to send compressed JSON data over the network. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!URxvt*scrollstyle: plain | |
URxvt.scrollBar: False | |
URxvt.font: xft:DejaVu Sans Mono:pixelsize=11:antialias=true | |
URxvt.boldFont: xft:DejaVu Sans Mono:Bold:pixelsize=11:antialias=true | |
URxvt*foreground: #000000 | |
!URxvt*background: #d3d7cf | |
URxvt*background: #dedede | |
! black |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GistID: 1924422 | |
# Author:: Couchbase <info@couchbase.com> | |
# Copyright:: 2011, 2012 Couchbase, Inc. | |
# License:: Apache License, Version 2.0 | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.couchbase.sample.dataloader; | |
import com.couchbase.client.CouchbaseClient; | |
import java.io.IOException; | |
import java.net.URI; | |
import java.util.List; | |
import net.spy.memcached.internal.OperationFuture; | |
import net.spy.memcached.ops.OperationStatus; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream thin_cluster { | |
server unix:/var/run/thin.0.sock; | |
server unix:/var/run/thin.1.sock; | |
server unix:/var/run/thin.2.sock; | |
} | |
server { | |
server_name squish.demo.couchbase.com; | |
root /home/couchbase/couchbase-squish/public; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unbind C-b | |
set -g prefix C-t | |
### KEY BINDINGS | |
# first unbind, then bind: this allows on-the-fly config reloading (with C-r) | |
# quick tip: the '-r' flag means they can be pressed repeatedly | |
# note: I only added the shortcuts I use, please "man tmux" to go beyond | |
# find a window by name | |
unbind f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
xset -b # disable bell | |
eval `/usr/bin/ssh-agent` | |
urxvtd & | |
wmname LG3D | |
GSDPID=`pidof gnome-settings-daemon` | |
if [ "x$GSDPID" == "x" ]; then | |
gnome-settings-daemon & |