Skip to content

Instantly share code, notes, and snippets.

Ravi Gadhia rga-odoo

Block or report user

Report or block rga-odoo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
rga-odoo / openerp_node_proxy.js
Last active Aug 29, 2015
OpenERP node proxy server for js test coverage
View openerp_node_proxy.js
var path = "../../addons/,../../../../addons/trunk", //TODO: pass addons path as cli argument
addons = path.split(","),
addons_path = [];
var express = require("express"),
httpProxy = require('http-proxy'),
http = require('http'),
istanbul = require('istanbul'),
fs = require("fs"),
path = require('path'),
View twitter stream API
from oauth.oauth import OAuthRequest, OAuthSignatureMethod_HMAC_SHA1
from hashlib import md5
import json, time
import random, math, re, urllib, urllib2
class Token(object):
def __init__(self,key,secret):
rga-odoo / vimrc
Last active Aug 29, 2015
my vimrc
View vimrc
set nocompatible " be iMproved, required
filetype off " required
filetype indent on
syntax on
set backspace=indent,eol,start
" Better modes. Remember where we are
set viminfo=!,'100,\"100,:20,<50,s10,h,n~/.viminfo
set encoding=utf-8
#!/usr/bin/env python
'''Server to show computer load'''
import re
from os import popen
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
from socket import gethostname
def load():
'''Very fancy computer load :)'''
You can’t perform that action at this time.