Skip to content

Instantly share code, notes, and snippets.

View maoo's full-sized avatar

Maurizio Pillitu maoo

View GitHub Profile
@maoo
maoo / soffice.sh
Last active January 3, 2024 16:35
Script to manage soffice service
#!/bin/sh
# Copied from https://gist.github.com/bordin/80aafced80fcb8358c2951baa39c3642 and adapted
# Libre Office
ALF_DATA="/opt/alfresco-community/alf_data"
SOFFICE_PATH="/opt/alfresco-community/libreoffice/program"
SOFFICE_PORT="8100"
SOFFICEBIN=${SOFFICE_PATH}/.soffice.bin
SOFFICEWRAPPER=${SOFFICE_PATH}/soffice.bin
@maoo
maoo / legend-on-minikube.md
Last active November 8, 2021 23:10
Legend on Minikube

Running Legend on Minikube

This page reports instructions on how to run the Legend Helm chart on a local Minikube installation. The whole process should take from 15 to 30 minutes, depending on your knowledge on cloud native technologies, your current workstation setup and your connection speed.

Prerequisites

Install Minikube

Please refer to https://minikube.sigs.k8s.io/docs/start/

@maoo
maoo / clientes.json
Created June 11, 2021 09:46
clientes.json
[
{ "nombre" : "client1",
"id" : "1234"
},
{ "nombre" : "client2",
"id" : "5678"
},
{ "nombre" : "client3",
"id" : "9012"
}
@maoo
maoo / install-alfresco-6-ce.sh
Last active January 19, 2021 14:55
Install Alfresco 6.x CE without Share
###
# DEPRECATED - checkout https://github.com/Alfresco/acs-deployment/tree/master/docker-compose
#
#! /bin/bash
# Alfresco Community 6.x installation script for CentOS 7.x ; mysql-server 5.x is expected to be installed in the box.
# Started from https://community.alfresco.com/community/ecm/blog/2019/02/05/a-script-to-install-alfresco-community-60
# To test with Docker...
# NOTE! This file is automatically generated by github.com/finos/metadata-tool AND pushed to GitHub; any manual change could be overridden at any time.
landscape:
- category:
name: Data
subcategories:
- subcategory:
name: Data Management
items:
- item:
@maoo
maoo / finos-landscape.yml
Last active March 28, 2020 03:06
finos-landscape.yml
landscape:
- category: null
name: Plexus
subcategories:
- subcategory: null
name: undefined
items:
- {
item: null,
name: Desktop Interoperability API Project,
@maoo
maoo / finos-repo-validation.json
Last active March 24, 2020 18:54
finos-repo-validation.json
[{
"url": "https:\/\/github.com\/finos\/waltz",
"org": "finos",
"repo-name": "waltz",
"ignore": null,
"validations": {
"no-whitesource": true,
"has-admin": true,
"no-readme": false,
"no-teams": false,
@maoo
maoo / setup-polipo-with-kitchen-on-osx.md
Last active November 19, 2019 18:34
Setting up polipo with Kitchen on OSX

How To setup polipo on OSX

  • Install polipo with brew install polipo

  • Edit your ~/.bashrc or ~/.zshrc and include

$PLIST_FILE=~/opt/homebrew.mxcl.polipo.plist
alias launch-polipo='launchctl load $PLIST_FILE'
alias stop-polipo='launchctl load $PLIST_FILE'
@maoo
maoo / fossa-cli-tests.md
Last active August 28, 2019 13:24
JSON license report with fossa-cli

Creating and running Docker image for fossa-cli

docker pull fossa/fossa-cli:buildtools
docker run -it fossa/fossa-cli:buildtools /bin/bash

Run commands within the container


# Installing JQ for JSON manipulation
~ » rio systemlogs m@maomini
rio-controller | time="2019-05-30T06:06:45Z" level=info msg="Updating CRD clusterissuers.certmanager.k8s.io"
rio-controller | time="2019-05-30T06:06:45Z" level=info msg="Updating CRD clusterbuildtemplates.build.knative.dev"
rio-controller | time="2019-05-30T06:06:45Z" level=info msg="Updating CRD rioinfos.admin.rio.cattle.io"
rio-controller | time="2019-05-30T06:06:45Z" level=info msg="Updating CRD buildtemplates.build.knative.dev"
rio-controller | time="2019-05-30T06:06:45Z" level=info msg="Updating CRD images.caching.internal.knative.dev"
rio-controller | time="2019-05-30T06:06:45Z" level=info msg="Updating CRD apps.rio.cattle.io"
rio-controller | time="2019-05-30T06:06:45Z" level=info msg="Updating CRD externalservices.rio.cattle.io"
rio-controller | time="2019-05-30T06:06:45Z" level=info msg="Updating CRD routers.rio.cattle.io"
rio-controller | time="2019-05-30T06:06:45Z" level=info msg="Updating CRD services.rio.cattle.io"