This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo service openerp stop | |
sudo service bahmni-erp-connect stop | |
echo -e "Deteting the database" | |
psql -Upostgres -c "drop database openerp" | |
echo -e "Restoring the database" | |
createdb -Uopenerp -hlocalhost openerp | |
psql -Uopenerp -hlocalhost openerp < /opt/bahmni-erp/db-dump/openerp_clean_dump.sql | |
sudo service openerp start | |
sudo service bahmni-erp-connect start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
postgres_repo_rpm_name: pgdg-centos92-9.2-7.noarch.rpm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="stylesheet" href="/bahmni_config/openmrs/apps/registration/registrationCardLayout/css/print.css"/> | |
<table border="1" cellpadding="0" cellspacing="1" class="registrationCard-print-table"> | |
<tbody> | |
<tr> | |
<td class="print-table-left" valign="top"> | |
<table> | |
<tr> | |
<td class="logo"> | |
<p> | |
<img src="/bahmni_config/openmrs/apps/registration/registrationCardLayout/images/bahmni-icon.png" style="width: 12mm; height: 12mm; "/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# | |
# (c) 2012, Dane Summers <[email protected]> | |
# (c) 2013, Mike Grozak <[email protected]> | |
# (c) 2013, Patrick Callahan <[email protected]> | |
# (c) 2015, Evan Kaufman <[email protected]> | |
# (c) 2015, Luca Berruti <[email protected]> | |
# | |
# This file is part of Ansible |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -x | |
echo y | bahmni -i local db-backup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.company; | |
import java.util.Scanner; | |
public class MergeSort { | |
public static void main(String[] args) { | |
// write your code here | |
System.out.println("Please enter the size of array"); | |
Scanner scanner = new Scanner(System.in); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.company; | |
import java.util.Scanner; | |
public class MergeSort2 { | |
static int[] input; | |
public static void main(String[] args) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.1' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:6.5.4 | |
container_name: elasticsearch | |
environment: | |
- cluster.name=docker-cluster | |
- http.cors.enabled=true | |
- http.cors.allow-origin="*" | |
- http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
elasticsearch.username: "kibana" | |
elasticsearch.password: "kibanapassword" | |
server.cors : true | |
server.cors.origin: ["*"] | |
server.cors.additionalHeaders: ["kbn-version", "cookie"] | |
server.cors.credentials: true | |
regionmap: | |
layers: | |
- name: "Nepal" | |
url: "http://localhost:8001/nepal-acesmndr.geojson" |