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/python | |
## | |
## This code have been taken from, and isn't tested yet by myself | |
## https://codeshare.io/nQXtS | |
## https://gitter.im/msolorzano/sunat2015 | |
## | |
from suds.client import Client | |
from suds.wsse import * | |
import requests | |
import suds_requests |
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 -*- | |
# | |
# Simple XML validator done while learning the use of lxml library. | |
# -- Juhamatti Niemelä <iiska AT iki DOT fi> | |
import lxml | |
from lxml import etree | |
if __name__ == "__main__": |
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 | |
# Using travisfile2dockerfile this code will take charge to build your docker image and run your docker container for an | |
# Odoo instance just indicating the port you want to be mapped to web service as the only argument once your get into | |
# one folder travisfile2dockerfile created for you | |
# e.g. | |
# | |
# 1. run travisfile2dockerfile | |
# ~/ $ travisfile2dockerfile [email protected]:<ORG>/<REPOSITORY>.git <BRANCH> | |
# | |
# 2. get into your travisfile2dockerfile just-generated-folder |
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 | |
# Copy and pase this file into your user home directory | |
# and also add in your .bashrc or .bash_profile: ". ~/.t2drc" (without quotes) | |
# main docker port | |
# IMPORTANT: replace the MAIN_PORT value | |
export DOCKER_PORT=MAIN_PORT | |
# secondary docker port | |
# It is used when you having troubles with the main one, uncomment when the main one fails |
NewerOlder