Skip to content

Instantly share code, notes, and snippets.

Avatar

Thomas Morgner tmorgner

View GitHub Profile
View ivysettings.xml
<?xml version="1.0" encoding="UTF-8"?>
<ivysettings>
<properties environment="env"/>
<property name="env.EXECUTOR_NUMBER" value="9999" override="false"/>
<property name="ivy.local.default.root" value="${ivy.default.ivy.user.dir}/rabbitstewdio.local" override="true"/>
<property name="ivy.local.default.artifact.pattern" value="[organisation]/[module]/[revision]/[type]s/[artifact]-[revision].[ext]" override="false"/>
<property name="ivy.resolver.default.check.modified" value="false"/>
<settings defaultResolver="rabbitstewdio-chained-resolver"/> -->
<include url="${ivy.default.settings.dir}/ivysettings-local.xml"/>
View artifactory-config.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<config xmlns="http://artifactory.jfrog.org/xsd/1.5.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.jfrog.org/xsd/artifactory-v1_5_4.xsd">
<offlineMode>false</offlineMode>
<fileUploadMaxSizeMb>100</fileUploadMaxSizeMb>
<dateFormat>dd-MM-yy HH:mm:ss z</dateFormat>
<addons>
<showAddonsInfo>false</showAddonsInfo>
<showAddonsInfoCookie>1404389080582</showAddonsInfoCookie>
</addons>
<security>
@tmorgner
tmorgner / .pentaho-reporting-build-settings.properties
Created Jul 9, 2014
pentaho-reporting-build-settings.properties
View .pentaho-reporting-build-settings.properties
# Build override for Pentaho Reporting
# Fail the build if a test fails
# Fail the build if a error occurs
junit.haltonfailure=true
junit.haltonerror=true
ivy.settingsurl=file:///${user.home}/ivysettings.xml
ivy.repository.resolve=http://localhost:8081/artifactory/libs-snapshot
# Used later during publish to a maven server
@tmorgner
tmorgner / ParameterLineageTest
Created Jun 24, 2015
Sample to show lineage on a pentaho reporting parameter. This is meant to be run from within the reporting-engine-core tests, as then you'll have all the environment set up correctly.
View ParameterLineageTest
/*
* This program is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
* Foundation.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* program; if not, you can obtain a copy at http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
* or from the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
View ExpressionOrderTest.java
/*
* This program is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
* Foundation.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* program; if not, you can obtain a copy at http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
* or from the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
@tmorgner
tmorgner / Prd2943.java
Last active Feb 1, 2018
A sample test case for case PRD-2943 with documentation
View Prd2943.java
package org.pentaho.reporting.designer;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.pentaho.reporting.designer.core.auth.GlobalAuthenticationStore;
import org.pentaho.reporting.designer.core.editor.ReportDocumentContext;
import org.pentaho.reporting.designer.core.editor.ReportRenderContext;
import org.pentaho.reporting.engine.classic.core.MasterReport;
import org.pentaho.reporting.engine.classic.core.SubReport;
View AWTFontMetrics.java
/*
* This program is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
* Foundation.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* program; if not, you can obtain a copy at http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
* or from the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
View PaletteDefinition.cs
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using NaughtyAttributes;
using UnityEditor;
using UnityEngine;
namespace UnityTools
{
@tmorgner
tmorgner / InputManager.asset
Last active Mar 15, 2019
A Unity InputManager definition for full VR input
View InputManager.asset
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!13 &1
InputManager:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Axes:
- serializedVersion: 3
m_Name: Horizontal
descriptiveName:
@tmorgner
tmorgner / pack-splatmap.bat
Created May 16, 2019
Substance Painter and Designer Helper Files
View pack-splatmap.bat
@echo off
set BASE=%1
REM Packs a Substance Painter splat map into a
REM combined texture image that is usable in a Splatmap shader in Unity.
REM
REM requires ImageMagick to be installed and on the path.
REM
REM https://imagemagick.org/script/download.php
You can’t perform that action at this time.