Skip to content

Instantly share code, notes, and snippets.

View tingletech's full-sized avatar

Brian Tingle tingletech

View GitHub Profile
#!/bin/bash
#
# Init file for Monit system monitor
# Written by Stewart Adam <[email protected]>
# based on script by Dag Wieers <[email protected]>.
#
# chkconfig: - 98 02
# description: Utility for monitoring services on a Unix system
#
# processname: monit

tag your builds

docker build -t tag .

spin up to get a shell in the container

docker run --rm -e "AWS_ACCESS_KEY=$A1" -e "AWS_SECRET_KEY=$A2" -t -i tag /bin/bash
-bash-4.1$ cat needed | xargs repoquery --requires --resolve | sort | uniq | wc
108 108 3912
-bash-4.1$ cat needed | xargs repoquery --requires --resolve | sort | uniq | sed "s/-[0-9].*amzn1//"
apr-util.x86_64
apr-util-ldap.x86_64
audit-libs.i686
audit-libs.x86_64
autofs.x86_64
bash.x86_64
ca-certificates.noarch
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from pprint import pprint as pp
import sys
import os
import re
import scandir
# each file needs to be in its own directory
<f:subview
xmlns:c="http://java.sun.com/jstl/core"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:nxl="http://nuxeo.org/nxforms/layout"
xmlns:nxu="http://nuxeo.org/nxweb/util"
xmlns:nxd="http://nuxeo.org/nxweb/document"
id="#{layout.id}">
sudo yum-config-manager --add-repo http://download.opensuse.org/repositories/security://shibboleth/CentOS_7/
sudo rpm --import https://shibboleth.net/downloads/PGP_KEYS
sudo yum install shibboleth.x86_64

Pluggable Authentication system

You can configure the Authentication plugins of your choice for the Rest API. The Authentication system allows to define lists (chains) of possible Authentication Plugin, globally or for a set of urls. http://doc.nuxeo.com/display/NXDOC/Authentication+Overview

API Calls

Default calls to Automation Operation are authenticated using a specific Auth Chain : http://explorer.nuxeo.org/nuxeo/site/distribution/current/viewContribution/org.nuxeo.ecm.automation.server.auth.config--specificChains