Skip to content

Instantly share code, notes, and snippets.

@maxkremer
maxkremer / pom.xml
Created October 29, 2013 15:27 — forked from codahale/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<artifactId>my-project</artifactId>
<version>0.0.1-SNAPSHOT</version>
<dependencies>
<!-- none yet -->
@maxkremer
maxkremer / samplejson.json
Created November 1, 2016 17:11
Sample JSON for Cosmo
{
"user_id": "CUSTOMERID0001",
"custom_traits": "{}",
"email_address": "job@zeppelin.co.uk",
"first_name": "John",
"last_name": "Bonham",
"phone": "1-555-1212",
"company": "LZ Records",
"address":
{
{
// Unique customer ID or database ID.
"id": "CUSTOMERID0001",
// Customer information.
"email_address": "bonzo@zeppelin.co.uk",
"phone": "15551212", // Phone number (digits only)
"first_name": "John",
"last_name": "Bonham",
"company": "LZ Records",
{
// Unique customer ID or database ID.
"id": "CUSTOMERID0001",
// Customer information.
"email_address": "bonzo@zeppelin.co.uk",
"phone": "15551212", // Phone number (digits only)
"first_name": "John",
"last_name": "Bonham",
"company": "LZ Records",
"channelClassifier" : {
"channels" : [
{
"channelName" : "affiliate",
"channelRules" : {
"operator" : "AND",
"rules" : [
{
"operator" : "EQUAL",
"operand" : "S_UTM_MEDIUM",
This file has been truncated, but you can view the full file.
/* 1 */
[
{
"_id" : ObjectId("58e3dcfe52faff0001a54538"),
"widget" : {
"visualName" : "pieBarTable",
"visualProps" : {},
"sourceName" : "pieBar",
"sourceConfig" : {
"filter" : "P_SOURCE_CATEGORY"