This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import time | |
import math | |
import pymongo | |
import json | |
# healthMap data json | |
fname = 'healthMapDump.json' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Setup and start Sauce Connect for your TravisCI build | |
# This script requires your .travis.yml to include the following two private env variables: | |
# SAUCE_USERNAME | |
# SAUCE_ACCESS_KEY | |
# Follow the steps at https://saucelabs.com/opensource/travis to set that up. | |
# | |
# Curl and run this script as part of your .travis.yml before_script section: | |
# before_script: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import shutil | |
import glob | |
import sys | |
import shlex | |
import sysconfig | |
import subprocess |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# Every Vagrant virtual environment requires a box to build off of. | |
config.vm.box = "hashicorp/precise64" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:14.04 | |
MAINTAINER Jonathan Beezley <jonathan.beezley@kitware.com> | |
RUN apt-get update && apt-get install -y git gfortran g++ libffi-dev libsqlite-dev libssl-dev libbz2-dev libexpat-dev ncurses-dev curl make wget | |
RUN curl http://www.cmake.org/files/v3.2/cmake-3.2.0-rc2-Linux-x86_64.tar.gz | tar -v -C /opt -zx | |
RUN git clone --recursive --branch cdatweb-head https://github.com/UV-CDAT/uvcdat.git /usr/src/uvcdat | |
RUN mkdir -p /tmp/uvcdat-build || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set(CTEST_SOURCE_DIRECTORY /usr/src/uvcdat) | |
set(CTEST_BINARY_DIRECTORY /tmp/uvcdat-build) | |
set(BASE_IMAGE "$OS{DOCKER_IMAGE_HASH}") | |
include(${CTEST_SOURCE_DIRECTORY}/CTestConfig.cmake) | |
set(CTEST_SITE "Docker Ubuntu:14.04") | |
set(CTEST_BUILD_NAME "image-${DOCKER_IMAGE_HASH}") | |
set(CTEST_CMAKE_GENERATOR "Unix Makefiles") | |
ctest_start("Experimental") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="A minimial map with GeoJS"> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<script src="https://opengeoscience.github.io/geojs/js/v0.4.1/geo.ext.min.js"></script> | |
<script src="https://opengeoscience.github.io/geojs/js/v0.4.1/geo.min.js"></script> | |
<style id="jsbin-css"> | |
html, body, #map { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link href="http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.min.css" rel="stylesheet" type="text/css" /> | |
<meta name="description" content="GeoJS with different tile sets"> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<script src="https://opengeoscience.github.io/geojs/js/v0.4.1/geo.ext.min.js"></script> | |
<script src="https://opengeoscience.github.io/geojs/js/v0.4.1/geo.min.js"></script> | |
<style id="jsbin-css"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
eval "$(pyenv init -)" | |
echo "Setup python 2.6..." | |
pyenv uninstall -f gaia-py26 &> /dev/null | |
pyenv virtualenv 2.6.9 gaia-py26 &> /dev/null | |
echo "Setup python 2.7..." | |
pyenv uninstall -f gaia-py27 &> /dev/null | |
pyenv virtualenv 2.7.9 gaia-py27 &> /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
eval "$(pyenv init -)" | |
stat=0 | |
for d in build-gaia* ; do | |
pushd $d > /dev/null | |
echo "Testing $d..." | |
python --version | |
cmake .. &> configure.log && make &> make.log && ctest -VV -j4 &> test.log |
OlderNewer