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 http://files.vagrantup.com/lucid32.box
mkdir my_vagrant_test
cd my_vagrant_test
vagrant init lucid32
vim Vagrantfile
vagrant up
vagrant ssh
@dermatologist
dermatologist / docker-compose.yml
Last active Oct 6, 2017
docker-compose for deploying OpenClinica
View docker-compose.yml
version: '2'
services:
pgs:
image: postgres:9.4
restart: always
ports:
- 5432:5432
environment:
POSTGRES_DB: clinica
View Java DockerFile
FROM java:8
# https://hub.docker.com/r/library/java/tags/
# Install maven
RUN apt-get update
RUN apt-get install -y maven
WORKDIR /code
# Prepare by downloading dependencies
@dermatologist
dermatologist / docker-compose.yml
Created Dec 28, 2017
Debugging OpenMRS module using docker
View docker-compose.yml
version: '2.1'
services:
db:
restart: "always"
image: mariadb:10
command: "mysqld --character-set-server=utf8 --collation-server=utf8_general_ci"
environment:
MYSQL_DATABASE: openmrs
MYSQL_ROOT_PASSWORD: Admin123
@dermatologist
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
#!/bin/bash
#
# 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
@dermatologist
dermatologist / OSCAR eForm Template.html
Last active May 23, 2018
OSCAR eForm Template with useful functions
View OSCAR eForm Template.html
<html>
<head>
<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.
Website: http://nuchange.ca
Date: 12 July, 2016
Instructions:
View metabas_embed.java
package com.example.controllers.dashboard;
import org.springframework.security.jwt.Jwt;
import org.springframework.security.jwt.JwtHelper;
import org.springframework.security.jwt.crypto.sign.MacSigner;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@dermatologist
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 {
break
}
@dermatologist
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>');
$(this).show();
});
@dermatologist
dermatologist / gist:6a110d32b2b21eb94d819a598000566f
Created Oct 17, 2018 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup
View gist:6a110d32b2b21eb94d819a598000566f

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
You can’t perform that action at this time.