Skip to content

Instantly share code, notes, and snippets.

angshuman sarkar angshu

Block or report user

Report or block angshu

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 bahmni_0.92_setup_xml
# To see the list of valid variables in Bahmni please refer to:
# https://bahmni.atlassian.net/wiki/display/BAH/List+Of+Configurable+Installation+Variables
timezone: Asia/Kolkata
implementation_name: default
selinux_state: disabled
View gist:006725885cbdfe65f04228f04ef67bb0
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "centos/7"
config.vm.box_check_update = true
config.ssh.insert_key = false
config.vm.network "private_network", ip: "192.168.33.10"
# config.vm.synced_folder "..", "/bahmni", :owner => "vagrant"
View gist:b14a7387c071f6c3e9daf803fd00cf99
<!DOCTYPE html>
<html>
<head>
<title>Apache Tomcat/8.0.12 - Error report</title>
<style type="text/css">H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}.line {height: 1px; background-color: #525D76; border: none;}</style>
</head>
<body>
<h1>HTTP Status 500 - Handler processing failed; nested exception is java.lang.ExceptionInInitializerError</h1>
<div class="line"></div>
<p>
View Vagrantfile.txt
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "bento/centos-6.9"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.provider "virtualbox" do |vb|
View sample form def
{
"name": "example_form",
"uuid": "xxxx",
"processor": "EncounterFormProcessor",
"formType": "IntakeForm",
"version": "0.01",
"validators": [
{
..
},
@angshu
angshu / gist:ea0ecd6bd54bbc70194f
Last active Aug 29, 2015
Patient Feed following google json feed
View gist:ea0ecd6bd54bbc70194f
{
"author": "MCI",
"title": "Patients",
"feedUrl": "http://emicro.uk.to:6881/api/v1/patients/updated-after/2014-01-10T08:10:41Z",
"nextArchive": "http://emicro.uk.to:6881/api/v1/patients/updated-after/2015-01-19T10:08:05Z",
"prevArchive": null,
"entries": [
{
"id": "860e5faf-9db0-49f4-b25f-5f9d0a3bfa60",
"publishedDate": "2015-01-19T08:20:29Z",
@angshu
angshu / gist:b20c68bd0e1c1789c1d0
Created Sep 11, 2014
bdshr-config liquibase error
View gist:b20c68bd0e1c1789c1d0
home/bahmni/apache-tomcat-7.0.22/webapps
+ CHANGE_LOG_TABLE='-Dliquibase.databaseChangeLogTableName=liquibasechangelog -Dliquibase.databaseChangeLogLockTableName=liquibasechangeloglock'
+ LIQUIBASE_JAR=/home/bahmni/apache-tomcat-7.0.22/webapps/openmrs/WEB-INF/lib/liquibase-core-2.0.5.jar
+ DRIVER=com.mysql.jdbc.Driver
+ CREDS='--url=jdbc:mysql://localhost:3306/openmrs --username=root --password=password'
+ CLASSPATH=/packages/build/distro-5.0-SNAPSHOT/openmrs-webapp-1.10.0-SNAPSHOT.war
+ WORKING_DIR=/packages/build/bdshr_config/migrations
+ cd /packages/build/bdshr_config/migrations
+ java -Dliquibase.databaseChangeLogTableName=liquibasechangelog -Dliquibase.databaseChangeLogLockTableName=liquibasechangeloglock -jar /home/bahmni/apache-tomcat-7.0.22/webapps/openmrs/WEB-INF/lib/liquibase-core-2.0.5.jar --driver=com.mysql.jdbc.Driver --classpath=/packages/build/distro-5.0-SNAPSHOT/openmrs-webapp-1.10.0-SNAPSHOT.war --changeLogFile=liquibase.xml --url=jdbc:mysql://localhost:3306/openmrs --username=root --passwor
@angshu
angshu / gist:339e6430d7a4b1d53da7
Last active Aug 29, 2015
Relationship model suggestion
View gist:339e6430d7a4b1d53da7
[
{
type: "father",
name_bangla: "",
name: "Sahidul Hasan",
hid: 652,
brn: null,
nid: 5213,
status:"deceased",
certificate_type: "birth",
You can’t perform that action at this time.