Skip to content

Instantly share code, notes, and snippets.

View randyzwitch's full-sized avatar

Randy Zwitch randyzwitch

View GitHub Profile
@randyzwitch
randyzwitch / servers-purple
Last active June 5, 2019 15:35
Purple ColorBrewer Scale for OmniSci
"quantitative": [
[...], // Default quantitative scales removed for brevity
[
"#fcfbfd",
"#efedf5",
"#dadaeb",
"#bcbddc",
"#9e9ac8",
"#807dba",
"#6a51a3",
@randyzwitch
randyzwitch / servers-custom.json
Created June 5, 2019 15:29
OmniSci Custom Colormap
"custom": [
"#ea5545",
"#bdcf32",
"#b33dc6",
"#ef9b20",
"#87bc45",
"#f46a9b",
"#ace5c7",
"#ede15b",
"#836dc5",
@randyzwitch
randyzwitch / servers-blue-devils.json
Created June 5, 2019 15:23
OmniSci Solid Colormap with #0736a4 added
[
{
"customStyles": {
"colors": {
"solid": [
"#ea5545",
"#f46a9b",
"#ef9b20",
"#ede15b",
"#bdcf32",
@randyzwitch
randyzwitch / servers-solid-colormap.json
Created June 5, 2019 15:16
OmniSci Solid Colormap
[
{
"customStyles": {
"colors": {
"solid": [
"#ea5545",
"#f46a9b",
"#ef9b20",
"#ede15b",
"#bdcf32",
@randyzwitch
randyzwitch / servers.json
Created May 31, 2019 16:45
Example servers.json file for custom colormaps in OmniSci Immerse
[
{
"customStyles": {
"colors": {
"solid": [
"#ea5545",
"#f46a9b",
"#ef9b20",
"#ede15b",
"#bdcf32",
@randyzwitch
randyzwitch / omniscidb-centos7-cpu-sanity-tests.sh
Created May 30, 2019 19:57
CentOS Sanity Tests - success
24: [ OK ] UDFCompilerTest.UdfQuery (1658 ms)
24: [----------] 3 tests from UDFCompilerTest (2012 ms total)
24:
24: [----------] Global test environment tear-down
24: [==========] 3 tests from 1 test case ran. (3412 ms total)
24: [ PASSED ] 3 tests.
18/18 Test #24: UdfTest .......................... Passed 3.56 sec
100% tests passed, 0 tests failed out of 18
@randyzwitch
randyzwitch / omniscidb-centos7-cpu.sh
Created May 30, 2019 19:49
Compiling OmniSciDB on CentOS 7 for CPU-only
# run image interactively
docker run -it centos bash
# update image
yum update -y && yum install git sudo -y
# clone repo and install build dependencies
git clone https://github.com/omnisci/omniscidb.git
bash /omniscidb/scripts/mapd-deps-prebuilt.sh
@randyzwitch
randyzwitch / omnisci_on_ubuntu18.04_gpu.sh
Last active May 16, 2019 18:04
Compiling OmniSci Core on Ubuntu 18.04 LTS with GPU support
# run image interactively
docker run -it --runtime=nvidia --rm nvidia/cuda:10.1-devel-ubuntu18.04 bash
# update image
apt update && apt upgrade -y
# sudo only needed because its used inside of dependency install script
# software-properties-common allows for add-apt-repository
# git needed for cloning mapd-core repo
apt install git sudo software-properties-common -y
@randyzwitch
randyzwitch / sanity-tests-1804.sh
Created February 8, 2019 05:12
Sanity Tests OmniSci Core
20: [----------] Global test environment tear-down
20: [==========] 2 tests from 1 test case ran. (0 ms total)
20: [ PASSED ] 2 tests.
16/16 Test #20: DateTimeUtilsTest ................ Passed 0.01 sec
100% tests passed, 0 tests failed out of 16
Label Time Summary:
sanity = 263.15 sec*proc (16 tests)
@randyzwitch
randyzwitch / ubuntu-1804.sh
Last active May 15, 2019 15:13
OmniSci Core CPU in Ubuntu 18.04 LTS Docker container
# run image interactively
docker run -it amd64/ubuntu:18.04 bash
# update image
apt update && apt upgrade -y
# sudo only needed because its used inside of dependency install script
# software-properties-common allows for add-apt-repository
# git needed for cloning mapd-core repo
apt install git sudo software-properties-common -y