Skip to content

Instantly share code, notes, and snippets.

View sravanthi17's full-sized avatar

Sravanthi Naraharisetti sravanthi17

  • Amazon
View GitHub Profile
#!/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
# 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
<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; "/>
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# (c) 2012, Dane Summers <dsummers@pinedesk.biz>
# (c) 2013, Mike Grozak <mike.grozak@gmail.com>
# (c) 2013, Patrick Callahan <pmc@patrickcallahan.com>
# (c) 2015, Evan Kaufman <evan@digitalflophouse.com>
# (c) 2015, Luca Berruti <nadirio@gmail.com>
#
# This file is part of Ansible
#!/bin/sh -x
echo y | bahmni -i local db-backup
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);
package com.company;
import java.util.Scanner;
public class MergeSort2 {
static int[] input;
public static void main(String[] args) {
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
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"