This file contains 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/sh | |
# we need some fixes from 14.10 | |
# sudo add-apt-repository --enable-source ppa:libreoffice/libreoffice-4-3 | |
sudo add-apt-repository --enable-source ppa:libreoffice/libreoffice-4-3 -y | |
# fetch this repository | |
sudo apt-get update -y | |
# update your libreoffice installation | |
sudo apt-get install libreoffice python3-uno -y | |
# get all build dependencies for libreoffice | |
sudo apt-get build-dep libreoffice -y |
This file contains 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
This gist provides a simple setup to add Sentry logging to OpenERP/Odoo. | |
As Odoo's logging setup is rather limited, I'm using syslog to collect and forward logs to Sentry. | |
These scripts should run without any modification on an Ubuntu based server, assuming the paths and user names for openerp match with the ones in the `supervisord.conf` file. | |
To have rsyslog2sentry run fine, you'll need some python pagkages installed | |
$ pip install raven loggerglue |
This file contains 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
/* Pretend app setup stuff is here */ | |
/* Kick off app */ | |
jQuery(function($) { | |
var Gallery = app.module("gallery"); | |
app.Router = Backbone.Router.extend({ | |
routes: { | |
"add": "main_add" |