Skip to content

Instantly share code, notes, and snippets.

View iledarn's full-sized avatar

Ildar iledarn

  • Philippines
View GitHub Profile
upstream app_server {
   server 127.0.0.1:8069 fail_timeout=0;
}

server {
   listen 80;
   listen [::]:80 default ipv6only=on;
   add_header Strict-Transport-Security "max-age=31536000; includeSubdomains;";

/openerp/addons/base/base.sql

4: SET LOCAL default_sequenceam = 'bdr';

@iledarn
iledarn / instruction.rst
Last active April 18, 2018 02:24
instruction about replicated odoo

Here you may see about bi-directional replication we have used http://2ndquadrant.com/en/resources/bdr/

We use here 64bit ubuntu 14.04 with docker to demonstrate our replication solution. First we need to install docker .

sudo su
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" > /etc/apt/sources.list.d/docker.list
@iledarn
iledarn / movemodule.sh
Created January 11, 2016 12:54
Bash script for copying folders from git repo A to git repo B with history
#!/bin/bash
source_repo=$PWD
echo $source_repo
if [ -n "$1" ]
then
module=$1
echo $module
else