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
/ Form excerpt | |
= f.button t(".save"), class: "btn" | |
= f.button t(".publish"), class: "btn", name: "publish" | |
= f.button t(".test"), class: "btn", name: "test" |
#!/bin/bash | |
export JBOSS_HOME=/home/pacs/dcm4chee | |
JBOSS_CLASSPATH=$JBOSS_HOME/bin/run.jar | |
JBOSS_NATIVE_DIR="$JBOSS_HOME/bin/native" | |
JBOSS_ENDORSED_DIRS="$JBOSS_HOME/lib/endorsed" | |
#enable remote access to jboss services and web interface | |
JBOSS_BIND_ADDR=${JBOSS_BIND_ADDR:-"0.0.0.0"} |
#!/bin/sh | |
# Author: Michael Gunlock 2014 | |
### BEGIN INIT INFO | |
# Provides: dcm4chee | |
# Required-Start: \$remote_fs \$syslog | |
# Required-Stop: \$remote_fs \$syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 |
#!/bin/bash | |
function usage() | |
{ | |
echo "Usage: $0 -u <Postgres_Username> -p <Password>" | |
} | |
USER="" |
module Teamviewer | |
class Connector | |
attr_reader :client | |
def initialize | |
@client = connection(credentials) | |
end |
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
SimpleForm.setup do |config| | |
config.input_class = 'form-control' | |
config.boolean_style = :nested | |
config.wrappers :bootstrap3, tag: 'div', class: 'form-group', error_class: 'has-error', | |
defaults: { input_html: { class: 'default_class' } } do |b| | |
b.use :html5 |
module Mongoid | |
# Helps to override find method in an embedded document. | |
# Usage : | |
# - add to your model "include Mongoid::EmbeddedFindable" | |
# - override find method with: | |
# def self.find(id) | |
# find_through(Book, 'chapter', id) | |
# end | |
module EmbeddedFindable |
#app/inputs/collection_check_boxes_input.rb | |
class CollectionCheckBoxesInput < SimpleForm::Inputs::CollectionCheckBoxesInput | |
def item_wrapper_class | |
"checkbox-inline" | |
end | |
end |
# This is a skeleton for testing models including examples of validations, callbacks, | |
# scopes, instance & class methods, associations, and more. | |
# Pick and choose what you want, as all models don't NEED to be tested at this depth. | |
# | |
# I'm always eager to hear new tips & suggestions as I'm still new to testing, | |
# so if you have any, please share! | |
# | |
# This skeleton also assumes you're using the following gems: | |
# | |
# rspec-rails: https://github.com/rspec/rspec-rails |