Skip to content

Instantly share code, notes, and snippets.

@kevinbull
kevinbull / Filter Shape simple.md
Last active July 11, 2018 21:45
Filter Shape Examples
{
	"filter": {
		"name": "isVendor",
		"comparator": "is equal to",
		"values": [1]
	}
}
@kevinbull
kevinbull / README.md
Last active April 12, 2022 12:12 — forked from jed/LICENSE.txt
Using JavaScript generate a 32 character hexadecimal universal id string.

generateUnid

Each call returns a random 32 character hexidecimal string. Based on the work done https://gist.github.com/jed/982883

Usage:

<script src="https://gist.github.com/kevinbull/f1cbc5440aa713bd5c9e.js"></script>

var unid = generateUnid();
@kevinbull
kevinbull / redis_tcp.sh
Last active December 28, 2018 11:22
Vagrant - Redis Provisioning Script
#!/usr/bin/env bash
echo "updating yum"
sudo yum update
echo "installing git"
sudo yum install -y curl-devel expat-devel gettext-devel openssl-devel zlib-devel git-core
echo "adding rpm repository"
sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm