Skip to content

Instantly share code, notes, and snippets.

View renzo1974's full-sized avatar

Renzo Meister renzo1974

  • 2BIT AG
  • Switzerland
  • 21:20 (UTC -12:00)
View GitHub Profile
Index: base_report_to_printer/models/printing_printer.py
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- base_report_to_printer/models/printing_printer.py (revision d995be287613fa41a3b35e843ce2bc4144839ab6)
+++ base_report_to_printer/models/printing_printer.py (revision 6b53cd15358ba913e5302fb82dab1664d90ca280)
@@ -9,11 +9,11 @@
import errno
import logging
@renzo1974
renzo1974 / Dockerfile
Created October 13, 2014 16:38
Simple Dockerfile for Odoo 8.0
FROM ubuntu:12.04
MAINTAINER Renzo Meister <[email protected]>
# Update Package index
RUN apt-get update
# Install needed packages
RUN apt-get install -y --force-yes --no-install-recommends python-dateutil python-feedparser python-gdata python-ldap \
python-libxslt1 python-lxml python-mako python-openid python-psycopg2 \
python-pybabel python-pychart python-pydot python-pyparsing python-reportlab \
@renzo1974
renzo1974 / JoomlaExtensionLinkerForWindows.ps1
Last active August 29, 2015 13:56
Create symlinks on windows from joomla project folders to joomla installation path
$identity = [System.Security.Principal.WindowsIdentity]::GetCurrent()
$princ = New-Object System.Security.Principal.WindowsPrincipal($identity)
if(!$princ.IsInRole([System.Security.Principal.WindowsBuiltInRole]::Administrator))
{
$powershell = [System.Diagnostics.Process]::GetCurrentProcess()
$psi = New-Object System.Diagnostics.ProcessStartInfo $powerShell.Path
$script = $MyInvocation.MyCommand.Path
$prm = $script
foreach($a in $args) {
$prm += ' ' + $a