Skip to content

Instantly share code, notes, and snippets.

View brett19's full-sized avatar

Brett Lawson brett19

View GitHub Profile

Individual Contributor Agreement

Thank you for your interest in contributing to a Couchbase open-source project including, but not limited to, Couchbase Server and Couchbase Lite (collectively, the "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.

In consideration for the potential inclusion of Your Contributions in the Couchbase Projects and the license back, you agree to the following terms and condit

@brett19
brett19 / rawr.cs
Last active October 18, 2017 01:08 — forked from jeffrymorris/couchbase-net-client-bootstrapping
[1:58 PM] Brett Lawson: Would you be able to show me what Java authentication looked like pre-cluster-level-auth, post-cluster-level-auth and post-rbac? [1:58 PM] Brett Lawson: .NET***
// Before Cluster Level Authentication
var cluster = new Cluster();
var bucket = cluster.OpenBucket("default", "password");
// After Cluster Level Authentication
var cluster = new Cluster();
var authenticator = new ClassicAuthenticator("Administrator", "password");
authenticator.AddBucketCredential("default", "secret");
cluster.Authenticate(authenticator);
00 TEX ADDR(64) CNT(1)
0 SAMPLE R0.x___, R0.xy0x, t0, s0
01 ALU ADDR(32) CNT(1)
1 x: KILLGE ____, 0.0f, R0.x
02 ALU_PUSH_BEFORE ADDR(33) CNT(1)
2 x: PRED_SETGT ____, R0.x, 0.0f UPDATE_EXECUTE_MASK DEACTIVATE UPDATE_PRED
negatives := []Triangle
positives := []Triangle
if (d0 <= 0 && d1 <= 0 && d2 <= 0) {
negatives.push(Triangle{v0, v1, v2})
return
}
if (d0 >= 0 && d1 >= 0 && d2 >= 0) {
positives.push(Triangle{v0, v1, v2})
return
@brett19
brett19 / _README.md
Last active September 25, 2015 13:36

This is a listing of various examples used for the Couchbase Go SDK GA Release Blog.

Blog Post

// TODO: More efficient uncompressed loading
// TODO: Test RGB, RBA, Alpha, Luminance, LuminanceAlpha
// TODO: Test Cubemap
/**
* @constructor
* @property {DDS.Header} header
*/
var DDS = function() {
};