Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am bchen421 on github.
  • I am chenobi (https://keybase.io/chenobi) on keybase.
  • I have a public key ASDT7C9EBONpi8jlYvM-T-ZoGAbFOG-ERMg6gLxHXDYXiQo

To claim this, I am signing this object:

@bchen421
bchen421 / Quick Sort Methods
Created June 22, 2015 03:22
In place quick sort for a vector
#pragma mark - GameObjects Sorting
void Scene::qSortGameObjects(int startIndex, int endIndex)
{
/* Base Case, already sorted */
if ((endIndex - startIndex) < 1)
{
return;
}
/*
require 'aws-sdk-core'
client = Aws::Kinesis::Client.new(
region: 'us-east-1'
)
def split_shard(shard_id, hash_key)
client = Aws::Kinesis::Client.new(
region: 'us-east-1'
)