Skip to content

Instantly share code, notes, and snippets.

Preparing E-Health/drishti for FHIR DevDays

Bell Eapen dermatologist

Preparing E-Health/drishti for FHIR DevDays
Block or report user

Report or block dermatologist

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:c7e9e68298ac31e9b580
# setup vagrant
gem install vagrant
vagrant box add lucid32
mkdir my_vagrant_test
cd my_vagrant_test
vagrant init lucid32
vim Vagrantfile
vagrant up
vagrant ssh
dermatologist / OSCAR eForm Template.html
Last active May 23, 2018
OSCAR eForm Template with useful functions
View OSCAR eForm Template.html
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>OSCAR Test Form</title>
<!-- About this template
Created By: Bell Eapen, McMaster University.
Date: 12 July, 2016
dermatologist / FileUpload.cs
Created Jul 24, 2017
ASP.Net Core Upload Multiple Files , Zip and Save as a byte array in database
View FileUpload.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using System.IO;
using System.IO.Compression;
namespace MyNameSpace
dermatologist / docker-compose.yml
Last active Oct 6, 2017
docker-compose for deploying OpenClinica
View docker-compose.yml
version: '2'
image: postgres:9.4
restart: always
- 5432:5432
POSTGRES_DB: clinica
View Java DockerFile
FROM java:8
# Install maven
RUN apt-get update
RUN apt-get install -y maven
# Prepare by downloading dependencies
dermatologist / docker-compose.yml
Created Dec 28, 2017
Debugging OpenMRS module using docker
View docker-compose.yml
version: '2.1'
restart: "always"
image: mariadb:10
command: "mysqld --character-set-server=utf8 --collation-server=utf8_general_ci"
dermatologist / Apache Tomcat 8 Start stop script init.d script
Created May 5, 2018 — forked from miglen/Apache Tomcat 8 Start stop script init.d script
Apache Tomcat init script (or startup/controll script). Works fine for version 7/8. Read the comments for release history. Feel free to modify, copy and give suggestions. (c) GNU General Public License
View Apache Tomcat 8 Start stop script init.d script
# description: Apache Tomcat init script
# processname: tomcat
# chkconfig: 234 20 80
# Copyright (C) 2014 Miglen Evlogiev
# This program is free software: you can redistribute it and/or modify it under
package com.example.controllers.dashboard;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
dermatologist / csvtomap.go
Created Sep 29, 2018 — forked from drernie/csvtomap.go
Golang Convert CSV Records to Dictionaries using Header Row as Keys
View csvtomap.go
// CSVToMap takes a reader and returns an array of dictionaries, using the header row as the keys
func CSVToMap(reader io.Reader) []map[string]string {
r := csv.NewReader(reader)
rows := []map[string]string{}
var header []string
for {
record, err := r.Read()
if err == io.EOF {
dermatologist / oscar.js
Last active Oct 4, 2018
Add name next to all input and select fields
View oscar.js
var $input_fields = $("input, select");
$.each($input_fields, function() {
$(this).after('<span style="color:red;">' + $(this).prop("name") + '</span>');
You can’t perform that action at this time.