Instantly share code, notes, and snippets.

Traun Leyden tleyden

View GitHub Profile
View gist:3c8f1d88ef30d4cd57d6e03b2848e290
# VM for running Couchbase Server in a private network
# After starting:
# - vagrant ssh to get into the vm
# - wget (or from downloads page)
# - run "ip addr" to get eth1 ip address
# - on host machine, go to ip-address:8091 to setup Couchbase Server
View couchbase-db-todo.json
"log": ["*", "BLIP", "BLIP+", "BLIP++"],
"databases": {
"todo": {
"server": "walrus:",
"users": {
"user1": {"password": "pass", "admin_channels": ["user1"]},
"user2": {"password": "pass", "admin_channels": ["user2"]},
"mod": {"password": "pass", "admin_roles": ["moderator"]},
View find_functions_w_error_params.go
package main
import (
View clobber_doc.go
package main
import (
_ "" // The CouchDB driver
View gist:806bad30c18b29f4e350adca5e2d91ef
Two branches diverged in a hairy func,
And sorry I could not setjmp both
And be one core, long I spun
And looked down one stack as deep I could
To where it bent in the memory bus
Then took the other, as just as fast,
And having perhaps the better metal,
Because it was cachey and wanted warmth,
Though as for that the executing there
View cbbootstrap-sequence-diagram.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

JSON Input

  "rows": [
      "key": "0-writer-user-0-a2dd54dc-3301-4a9e-af23-7eb0fb293b7e",
      "id": "0-writer-user-0-a2dd54dc-3301-4a9e-af23-7eb0fb293b7e",
      "value": {
        "rev": "1-eb773b445a2f94651e418fbaa670c8ef",
View CouchbaseCla.txt
Thank you for your interest in contributing to a Couchbase open source project including but not limited to Couchbase Server and Couchbase Lite ("Couchbase Projects"). Couchbase Inc. ("Couchbase") is very interested in receiving your contribution to the Couchbase Projects. However, in order to participate, we need to confirm how the rights in your contribution ("Your Contributions") will be allocated. Following the practices of other open source companies, Couchbase requests that you assign the copyrights and patents in Your Contributions to Couchbase (with a license back to you to use it in any way that you please). Couchbase requires that you have a Contributor Agreement on file prior to using any of Your Contributions. This Contributor Agreement is to make clear the rights between the parties. If you have not sent us a signed Contributor Agreement, please review and sign the Contributor Agreement and send a scanned image to, or send an original by regular mail to Couchbase, Attn: Chief F
View gist:97261497dea850225fded28f52820afc
### Keybase proof
I hereby claim:
* I am tleyden on github.
* I am tleyden ( on keybase.
* I have a public key whose fingerprint is E942 F2E5 DE4E A07F 19CF 505A 40E4 30A5 23E7 3F23
To claim this, I am signing this object: