I hereby claim:
- I am bwrsandman on github.
- I am bwrsandman (https://keybase.io/bwrsandman) on keybase.
- I have a public key whose fingerprint is C3C2 5B39 3568 109B 5B23 5ED3 A619 A81D B067 F56A
To claim this, I am signing this object:
"""Using PIL add 'DEV' to the company (and the main odoo) logo | |
This is meant to be run as a script in the upgrade.py script of anybox.recipe.odoo | |
""" | |
from base64 import b64encode, b64decode | |
from cStringIO import StringIO | |
from PIL import Image, ImageDraw | |
main_partner = session.registry('ir.model.data').get_object( | |
session.cr, session.uid, 'base', 'main_partner') | |
if main_partner.image: |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python2 | |
"""\ | |
We are computing the probability of features 1 through 16. | |
Each feature represents a pixel in a 4 x 4 bitmap. | |
We are taking into account the probability that a pixel is black. | |
This simplifies calculations as the probability of white is equal to | |
the probability of !black. | |
""" | |
import numpy, math |
#!/usr/bin/env python | |
import sys | |
if sys.version_info >= (3,): | |
xrange = range | |
raw_input = input | |
from re import sub | |
from numpy import log10 | |
def trim(string): |
void Ogre::DotSceneLoader::processEnvironment(TiXmlElement *XMLNode) | |
{ | |
const String attrNames [] = {"fog", "skyBox", "skyDome", "skyPlane", "clipping"}; | |
void (Ogre::DotSceneLoader::*funcNames[]) (TiXmlElement*) = { | |
&Ogre::DotSceneLoader::processFog, | |
&Ogre::DotSceneLoader::processSkyBox, | |
&Ogre::DotSceneLoader::processSkyDome, | |
&Ogre::DotSceneLoader::processSkyPlane, | |
&Ogre::DotSceneLoader::processClipping}; |
Based on "Creating your first addon for OpenERP" by Naysan Saran (naysan.saran@savoirfairelinux.com)
Index: ../../../Private/code/openerp/fruigor/bzr/pallet-delivery/purchase_lot_tracking/account.py | |
=================================================================== | |
--- ../../../Private/code/openerp/fruigor/bzr/pallet-delivery/purchase_lot_tracking/account.py (revision ) | |
+++ ../../../Private/code/openerp/fruigor/bzr/pallet-delivery/purchase_lot_tracking/account.py (revision ) | |
@@ -52,17 +52,18 @@ | |
def _estimated_tcu(self, cr, uid, ids, name, arg, context=None): | |
res = {} | |
- | |
for line in self.browse(cr, uid, ids): |
# Maintainer: Miguel Useche <migueluseche@skatox.com> | |
# Contributor: Anton Leontiev <unsector /at/ km.ru> | |
pkgname=guake-git | |
pkgver=0.4.4.13.gdc71f60 | |
pkgrel=1 | |
pkgdesc="Top-down terminal for Gnome" | |
arch=('i686' 'x86_64') | |
url="http://guake.org/" | |
license=('GPL') |
# Maintainer : Martin Wimpress <code@flexion.org> | |
# Contributor: Joris Steyn <jorissteyn@gmail.com> | |
# Contributor: kens | |
pkgname=finalterm-git | |
pkgver=0.r120.728072f | |
pkgrel=1 | |
pkgdesc="A new breed of terminal emulator" | |
arch=('x86_64' 'i686') | |
url="http://finalterm.org" |
# -*- encoding: utf-8 -*- | |
############################################################################## | |
# | |
# OpenERP, Open Source Management Solution | |
# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>). | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU Affero General Public License as | |
# published by the Free Software Foundation, either version 3 of the | |
# License, or (at your option) any later version. |