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
dermatologist / Dockerfile
Created Aug 14, 2019 — forked from orenitamar/Dockerfile
Installing numpy, scipy, pandas and matplotlib in Alpine (Docker)
View Dockerfile
# Below are the dependencies required for installing the common combination of numpy, scipy, pandas and matplotlib
# in an Alpine based Docker image.
FROM alpine:3.4
RUN echo "" >> /etc/apk/repositories
RUN apk --no-cache --update-cache add gcc gfortran python python-dev py-pip build-base wget freetype-dev libpng-dev openblas-dev
RUN ln -s /usr/include/locale.h /usr/include/xlocale.h
RUN pip install numpy scipy pandas matplotlib
dermatologist /
Last active Aug 13, 2019
Convert pre-trained cui2vec to Glove and word2vec
import os
from gensim.models import KeyedVectors
from gensim.scripts.glove2word2vec import glove2word2vec
if os.path.exists('cui2vec_w.txt'):
wv_from_text = KeyedVectors.load_word2vec_format('cui2vec_w.txt', unicode_errors='ignore')
print(wv_from_text.most_similar("C0000052", topn=2))
wv_from_text.save_word2vec_format('cui2vec_w.bin', binary=True)
with open("cui2vec_pretrained.csv",'r') as f:
dermatologist /
Created Aug 3, 2019 — forked from pirate/
Backup a docker-compose project, including all images, named and unnamed volumes, container filesystems, config, logs, and databases.
#!/usr/bin/env bash
# Fully backup a docker-compose project, including all images, named and unnamed volumes, container filesystems, config, logs, and databases.
project_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )"
cd "$project_dir"
project_name=$(basename "$project_dir")
backup_time=$(date +"%Y-%m-%d_%H-%M")
View Singularity cheat sheet
// Create a Singularity image from a Docker image that is in the Docker hub
// where /tmp/ is the folder where the image will be created and ubuntu:14.04
// is the docker image used to convert to the Singularity image
docker run \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /tmp/:/output \
--privileged -t --rm \
singularityware/docker2singularity \
dermatologist /
Created Feb 11, 2019 — forked from narulkargunjan/
Topic Modeling (LDA/Word2Vec) with Spacy
import os
import codecs
data_directory = os.path.join('..', 'data',
businesses_filepath = os.path.join(data_directory,
with, encoding='utf_8') as f:
dermatologist /
Created Feb 10, 2019 — forked from cwant/
This is a script that takes a fresh Compute Canada Ubuntu 16.04 cloud instance, installs docker, docker-compose, ruby, grabs avalon source, and starts services
View citing-github-repo.bib
author = {Eapen, BR.},
title = {Behavioural Research support tools in Python including Grounded Theory Dictionary Generator.},
year = {2016},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{}},
commit = {4f57d6a0e4c030202a07a60bc1bb1ed1544bf679}
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 /
Created Nov 5, 2018 — forked from rafaeltuelho/
camel snippet using oauth to get an auth token and use it to request a secured rest service
.log("get access token")
.simple("<auth service context>/oauth2/token")
dermatologist / sem-latex.R
Created Oct 17, 2018
Structural Equation Modeling in R with output as LaTeX tables.
View sem-latex.R
options(xtable.floating = FALSE)
options(xtable.timestamp = "") = read.csv("C:\\data.csv", header = TRUE)
DM.model <- '
# Measurement model Ref:
# Model:
You can’t perform that action at this time.