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
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 |
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
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 \ |
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
$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 |