Skip to content

Instantly share code, notes, and snippets.

View deontologician's full-sized avatar
🦀
🌎

Josh Kuhn deontologician

🦀
🌎
View GitHub Profile
var username = 'username';
r.db('x').table('users').getAll('username', {index: 'username'}).merge(function(user){
return {posts: r.table('posts').getAll('username', {index: 'username'}).coerceTo('ARRAY')};
})
// Sample army storage for Ressel:Arena
#include <iostream>
#include <list>
#include <string>
using namespace std;
// Setting up the Node data structure, in this case a clone of "soldier"
// From the Ressel:Arena game..