Skip to content

Instantly share code, notes, and snippets.

View tarunbhardwaj's full-sized avatar

Tarun Bhardwaj tarunbhardwaj

View GitHub Profile
@tarunbhardwaj
tarunbhardwaj / tryton_shell.py
Last active December 21, 2015 10:39 — 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
#!/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 August 9, 2013 08:41
Script to install package using .travis.yml
#!/usr/bin/env python
'''
Install package from .travis.yml
usage: travis_setup.py
@author Tarun Bhardwaj
@license FreeBSD Licence
'''
@tarunbhardwaj
tarunbhardwaj / Openerp_partners
Created July 4, 2013 11:55
JS Bot to load all partners of OpenERP
/*
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(),