Skip to content

Instantly share code, notes, and snippets.

View mileo's full-sized avatar

Luis Felipe Miléo mileo

View GitHub Profile
@osvalr
osvalr / x509_sign.py
Created February 25, 2017 19:36
Sign XML file in python with a x509 certificate
# coding: utf-8
from lxml import etree
from signxml import xmldsig
cert = open('cert.pem').read()
key = open('key.pem').read()
doc = etree.parse('sample.xml').getroot()
@leorochael
leorochael / buildout.cfg
Last active April 20, 2016 19:13
Using IPython with anybox.recipe.odoo
[buildout]
parts = odoo
find-links = http://download.gna.org/pychart/
[odoo]
version = git http://github.com/odoo/odoo.git odoo 8.0 depth=1
recipe = anybox.recipe.odoo:server
eggs =
nose
ipython
@dreispt
dreispt / oe-admin.sh
Last active May 6, 2018 22:08
A script for one-line installation of OpenERP 7.0 server instances.
#!/bin/bash
################################################################################
# A one-line installation for OpenERP 7.0 server instances
#-------------------------------------------------------------------------------
# USAGE:
#
# * Setup openerp server and create a first OpenERP7 7 instance
# oe-admin install [name1] --full
#
# * Create an additional OpenERP7 7 instance