Skip to content

Instantly share code, notes, and snippets.

View EricWittmann's full-sized avatar

Eric Wittmann EricWittmann

  • Red Hat
  • Newtown, CT
View GitHub Profile
@EricWittmann
EricWittmann / Patents.md
Last active February 4, 2021 12:00 — forked from riprasad/Patents.md
Consolidated guide for Patenting Inventions at Red Hat

What ?

A patent is an exclusive right granted for an invention, which is a product or a process that provides, in general, a new way of doing something, or offers a new technical solution to a problem.

Red Hat highly encourages its employees to disclose and submit patent inventions liberally

Why ?

  1. Red Hat wants to build up a patent portfolio for defensive purposes.
  2. It will discourage other companies from suing Red Hat, claiming that we infringe their patents
  3. Such a portfolio will help deter litigation-minded companies from bringing us to court
  4. We will be able to countersue them for infringing our patents
@EricWittmann
EricWittmann / gist:c62456b5ff2424cd441b
Created February 18, 2015 12:46
postgresql DDL diff: apiman 1.0.2.Final -> apiman 1.0.3.Final
--- a/distro/wildfly8/src/main/resources/overlay/apiman/ddls/apiman_postgresql.ddl
+++ b/distro/wildfly8/src/main/resources/overlay/apiman/ddls/apiman_postgresql.ddl
@@ -332,6 +332,7 @@ CREATE TABLE service_versions (
retiredOn timestamp without time zone,
status character varying(255) NOT NULL,
version character varying(255),
+ definitionType character varying(255),
service_id character varying(255),
service_orgId character varying(255)
);
@EricWittmann
EricWittmann / gist:0d86ff4cb4a4d7e77321
Last active August 29, 2015 14:06
Null pointer in the victims maven plugin - overlord-commons-karaf-commands
[DEBUG] [victims-enforcer] cached: org.apache.sshd:sshd-core:jar:0.8.0
[DEBUG] [victims-enforcer] cached: org.apache.karaf.jaas:org.apache.karaf.jaas.boot:jar:2.3.5
[DEBUG] [victims-enforcer] cached: org.overlord:overlord-commons-codec:jar:2.0.11-SNAPSHOT
[DEBUG]
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:188)
at com.redhat.victims.VictimsRule.processResult(VictimsRule.java:253)
at com.redhat.victims.VictimsRule.execute(VictimsRule.java:361)
at com.redhat.victims.VictimsRule.execute(VictimsRule.java:96)
/*
* ModeShape (http://www.modeshape.org)
* See the COPYRIGHT.txt file distributed with this work for information
* regarding copyright ownership. Some portions may be licensed
* to Red Hat, Inc. under one or more contributor license agreements.
* See the AUTHORS.txt file in the distribution for a full listing of
* individual contributors.
*
* ModeShape is free software. Unless otherwise indicated, all code in ModeShape
* is licensed to you under the terms of the GNU Lesser General Public License as
@EricWittmann
EricWittmann / gist:5867829
Created June 26, 2013 14:30
s-ramp-repository-jcr-modeshape dependency:tree
[INFO]
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ s-ramp-repository-jcr-modeshape ---
[INFO] org.overlord.sramp:s-ramp-repository-jcr-modeshape:jar:0.2.1-SNAPSHOT
[INFO] +- org.overlord.sramp:s-ramp-repository-jcr:jar:0.2.1-SNAPSHOT:compile
[INFO] | +- org.overlord.sramp:s-ramp-api:jar:0.2.1-SNAPSHOT:compile
[INFO] | +- org.overlord.sramp:s-ramp-common:jar:0.2.1-SNAPSHOT:compile
[INFO] | \- org.overlord.sramp:s-ramp-repository:jar:0.2.1-SNAPSHOT:compile
[INFO] | \- joda-time:joda-time:jar:2.1:compile
[INFO] +- javax.jcr:jcr:jar:2.0:provided
[INFO] +- org.modeshape:modeshape-jcr-api:jar:3.2.0.Final:provided