Skip to content

Instantly share code, notes, and snippets.

Nadklasa = Cestovni, Terenac
Klasa = Cestovni_mali, Cestovni_veliki, Cestovni_srednji, SUV_mali, SUV_veliki
Velicina = mali, srednji, veliki
IzvanCeste = da, ne
Sportski = da, ne
Udobnost = visoka, srednja, niska
Snaga = visoka, srednja, niska
Tradicija = duga, srednja, kratka
PogonNaSva4 = da, ne
Dugotrajnost = da, ne
@antifriz
antifriz / SwitchCompatCompat.java
Last active December 7, 2017 12:53
Quick workaround for animation bug related to SwitchCompat in RecyclerView, bug: https://code.google.com/p/android/issues/detail?id=196652
package android.support.v7.widget;
import android.content.Context;
import android.util.AttributeSet;
/**
* Created by ivan on 2/19/16.
*
* This is a quick workaround for SwitchCompat class.
*
@antifriz
antifriz / pytest-xunit.xsl
Created January 11, 2021 15:25
pytest/pylint/flake8/mypy to Jenkins xunit plugin converter (used with Custom tool type)
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" version="1.0">
<xsl:output method="xml" indent="yes" encoding="UTF-8"
cdata-section-elements="system-out system-err failure"/>
<xsl:decimal-format decimal-separator="." grouping-separator=","/>
<xsl:template match="testsuites">
<testsuites>
<xsl:apply-templates select="testsuite"/>