Skip to content

Instantly share code, notes, and snippets.

View pentaho-nbaker's full-sized avatar

Nick Baker pentaho-nbaker

  • Pentaho Corp.
  • Orlando, FL
View GitHub Profile
#!/usr/bin/env python
__author__ = 'nbaker'
import requests
import json
import time
import os
if __name__ == '__main__':
unmerged_pulls = []
errored_pulls = []
auto_merged = []
#!/usr/bin/env python
__author__ = 'nbaker'
import requests
import json
import time
if __name__ == '__main__':
unmerged_pulls = []
errored_pulls = []
auto_merged = []
headers = {'content-type': 'application/json',
#!/usr/bin/env python
__author__ = 'nbaker'
import requests
import json
import time
if __name__ == '__main__':
unmerged_pulls = []
errored_pulls = []
auto_merged = []
headers = {'content-type': 'application/json',
@pentaho-nbaker
pentaho-nbaker / pom.xml
Created June 5, 2015 18:35
feature xml and kar generation, attached artifacts
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>pentaho</groupId>
<artifactId>pdi-osgi-bridge-parent</artifactId>
<relativePath>../../pom.xml</relativePath>
<version>6.0-SNAPSHOT</version>
</parent>
@pentaho-nbaker
pentaho-nbaker / pom.xml
Created June 5, 2015 18:17
create feature
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>features-maven-plugin</artifactId>
<version>2.3.7</version>
<executions>
<execution>
<id>generate</id>
<phase>generate-resources</phase>
<goals>
<goal>generate-features-xml</goal>
#!/bin/bash
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
export PATH=$PATH:/Applications/mongodb/bin:~/activator
export PATH=$PATH:/usr/local/mysql/bin
alias usejava6='export JAVA_HOME=$(/usr/libexec/java_home -v 1.6);PATH=$JAVA_HOME/bin:$PATH;rm /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK;ln -s $JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK'
alias usejava7='export JAVA_HOME=$(/usr/libexec/java_home -v 1.7);PATH=$JAVA_HOME/bin:$PATH;rm /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK;ln -s $JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK'
alias usejava8='export JAVA_HOME=$(/usr/libexec/java_home -v 1.8);PATH=$JAVA_HOME/bin:$PATH;rm /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK;ln -s $JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK'
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository/>
<interactiveMode/>
<usePluginRegistry/>
<offline/>
<pluginGroups/>
package org.pentaho.platform.api.repository2.unified;
import java.util.EnumSet;
/**
* <p>The interface for operations over ACL nodes.</p>
*
* <p>Certain entities, such as data sources, are stored in areas of the repository in which non-admin users have no
* natural access. In order to provide ACLs on these entities surrogate nodes are created which store the ACLs instead.
* Implementations of this class are responsible for storing and querying these surrogate ACL nodes.</p>
@pentaho-nbaker
pentaho-nbaker / gist:5cc1c8268596e3a442e2
Created December 5, 2014 19:33
snmp activator blueprint file
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ 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.
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
<bean id="BirtOutput_StepDataInterface" class="org.pentaho.reporting.birt.plugin.BIRTOutputData" scope="prototype"/>
<bean id="BirtOutput_StepMetaInterface" class="org.pentaho.reporting.birt.plugin.BIRTOutputMeta" scope="prototype"/>
<bean id="plugin" class="org.pentaho.di.osgi.OSGIPlugin">
<property name="mainType" value="org.pentaho.di.trans.step.StepMetaInterface"/>