Skip to content

Instantly share code, notes, and snippets.

Avatar

Tarun Bhardwaj tarunbhardwaj

View GitHub Profile
@tarunbhardwaj
tarunbhardwaj / tryton_shell.py
Last active Dec 21, 2015 — forked from vishesh/tryton_shell
A simple Tryton shell environment that initializes one database and config file for you. I intend to use to interact with models.Customized: You can directly start using tryton ORM
View tryton_shell.py
#!/usr/bin/env python
""" tryton_shell: A dirty shell for Tryton to quickly interact with it
usage: tryton_shell.py [-h] --config CONFIG --database DATABASE
arguments:
--config CONFIG Tryton config file.
--database DATABASE Tryton database.
@tarunbhardwaj
tarunbhardwaj / travis_setup.py
Created Aug 9, 2013
Script to install package using .travis.yml
View travis_setup.py
#!/usr/bin/env python
'''
Install package from .travis.yml
usage: travis_setup.py
@author Tarun Bhardwaj
@license FreeBSD Licence
'''
@tarunbhardwaj
tarunbhardwaj / Openerp_partners
Created Jul 4, 2013
JS Bot to load all partners of OpenERP
View Openerp_partners
/*
Run on https://www.openerp.com/partners/directory/
*/
var countries = Array();
$(".oe_countries ul li a").each(function(){
if ($(this).attr("href") != undefined)
countries.push({
"Link": $(this).attr("href"),
"Name": $(this).html(),