Skip to content

Instantly share code, notes, and snippets.

[options]
#
# WARNING:
# If you use the Odoo Database utility to change the master password be aware
# that the formatting of this file WILL be LOST! A copy of this file named
# /etc/odoo/openerp-server.conf.template has been made in case this happens
# Note that the copy does not have any first boot changes
#-----------------------------------------------------------------------------
# Odoo Server Config File - TurnKey Linux
@ginogervasio
ginogervasio / serviceagreementpopulator.js
Last active November 28, 2017 11:04
Create a Google Doc based on responses from a Google Form and a Template
/**
* Copyright 2017 ginogervasio
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
@ginogervasio
ginogervasio / profile_middleware.py
Last active October 4, 2017 08:40
Updated profiling middleware for Django v1.11 and Python 3.6 using cProfile
"""Original version taken from http://www.djangosnippets.org/snippets/186/.
Original author: udfalkso
Modified by: Shwagroo Team and Gun.io
Further modified by: Jakub Skalecki (https://rock-it.pl)
Updated by: G. Gervasio for (https://baseup.co)
"""
import cProfile
import textwrap