First create ec2 Ubuntu instance
Then install all the things needed for Mirth Connect (following this video: http://www.youtube.com/watch?v=omZyAO2naqs)
# Update Ubuntu
sudo aptitude update
# Safe upgrade of Ubuntu
sudo aptitude safe-upgrade
// graph.cpp | |
// | |
// Author: Jon Gautsch | |
// | |
// Contact: jgautsch@nd.edu | |
// | |
// Course: CSE 30331, Fall 2013 | |
#include "graph.h" | |
#include <sstream> |
#include <stdio.h> | |
#include <stdlib.h> | |
#define ValType double | |
#define IS_LESS(v1, v2) (v1 < v2) | |
void siftDown( ValType *a, int start, int count); | |
#define SWAP(r,s) do{ValType t=r; r=s; s=t; } while(0) |
# Turn on advanced bash completion if the file exists | |
if [ -f /usr/local/etc/bash_completion ]; then | |
. /usr/local/etc/bash_completion | |
fi | |
# Locate virtualenvwrapper binary | |
if [ -f ~/.local/bin/virtualenvwrapper.sh ]; then | |
export VENVWRAP=~/.local/bin/virtualenvwrapper.sh | |
fi |
First create ec2 Ubuntu instance
Then install all the things needed for Mirth Connect (following this video: http://www.youtube.com/watch?v=omZyAO2naqs)
# Update Ubuntu
sudo aptitude update
# Safe upgrade of Ubuntu
sudo aptitude safe-upgrade
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile | |
# Load in .bashrc ----------------------------------------------- | |
if [ -f ~/.bashrc ]; then | |
source ~/.bashrc | |
fi | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* |
# Fixing permissions of packaged gems | |
files: | |
"/opt/elasticbeanstalk/hooks/appdeploy/pre/10_fixing_permission.sh": | |
content: | | |
#!/usr/bin/env bash | |
# . /opt/elasticbeanstalk/containerfiles/envvars | |
. /opt/elasticbeanstalk/support/envvars | |
CACHE_GEM_DIR=$EB_CONFIG_APP_ONDECK/vendor/cache |
params = { | |
weekly_recurring_schedule: { | |
length: 20, | |
color: "red", | |
user: 34, | |
locale: 11, | |
restriction: "Open to public", | |
name: "Dr ABC's appointments" | |
days: { | |
sunday: [ |
source 'https://rubygems.org' | |
gem 'dotenv' | |
gem 'rake' | |
gem 'faker' | |
gem 'pry' | |
gem 'mongoid' | |
gem 'geocoder' | |
gem 'activesupport' | |
gem 'require_all' |
development: | |
sessions: | |
default: | |
database: geocoded_providers | |
hosts: | |
- 0.0.0.0:27017 | |
raise_not_found_error: false | |
options: | |
pool_size: 35 |
# ########################################################### | |
# Data Processing | |
# ########################################################### | |
module DataProcessing | |
class TaxonomyCache | |
def initialize | |
@@specialties = Taxonomies::Specialty.all[0..-1].group_by(&:taxonomy) | |
@@specialties.each do |k, v| | |
@@specialties[k] = v.first | |
end |