By default Alfresco Content Services sets a default search limit, based on ACL checks to 1000 items. In order to search for more than 1000 items, you will need to do one of two things: However, before you make these changes, you should consider the use case behind your search requirement as a global change will allow users to run some very long accidental wildcard queries. If search is to

Loop through a result set, and execute an action on the objects. This example uses

Audit Replication of Alfresco Content Services (ACS) to Elastic Search using Spring Boot and Apache Camel. This project uses a Pull/Push integration model, where the ACS audit stream is pulled from the Rest API, and pushed over to Elastic Search. Once audit data is in Elastic Search, the Kibana UI can plug in to generate dashboards and charts based on audit actions inside of Alfresco Content Services.

Apr 2018

Evasive Errors

Very Evasive Proxy Error from Nginx and Apache when uploading files that take more than 1 second to upload. However, the problem was not with Proxy Servers, nor the backend application server. The problem came from the router. TL;DR Proxy Error from Nginx, and Apache on large uploads Large file upload breaks; Large file uploads disconnect; File Upload fails if upload > 1000ms or 1 second No true fix, except

Without any kind of monitoring or alerting enabled, you may run into your /boot drive becoming full, and resulting in errors such as:

Apparently the default YouTube app does not cast surround sound. However, YT Music app does. * Cast To Device: Vizio SmartCast * Cast From Device: Samsung S8

Short script for creating and attaching an EBS Volume to an EC2 instance. This is useful in cases where you want to dynamically create your EBS volumes outside of the cloud formation auto provisioning process.

volume_name="Name of your volume" volume_id=`aws ec2 describe-volumes --filters Name=tag-key,Values=diskuse,Name=tag-value,Values=${volume_name} |jq -r --arg zone "$zone" ' | select( (.State=="available") and (.AvailabilityZone==$zone))] | .VolumeId'`

This is useful for scripting the generation of certificates for web servers. openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 \ -subj "/C=${node.ssl.country}/ST=${node.ssl.state}/L=${node.ssl.city}/O=${node.ssl.ou}/CN=${node.ssl.cn}" \ -keyout /etc/ssl/private/node-selfsigned.key -out /etc/ssl/certs/node-selfsigned.crt

Example on setting message attribute on SQS Message. Subscribers can perform actions based on the attributes. queue.send_message(MessageBody=json.dumps(instance), MessageAttributes={ 'instance_id': { 'DataType': 'String', 'StringValue': instance } } )

Example of monitoring an SQS queue for messages that an attribute instance_id, which is set to your EC2 instance. The python subscriber can be used to monitor a shared SQS and act upon messages targeted at a specific instance id. #!/usr/bin/env python3 import boto3 import requests import subprocess import os import time boto3.setup_default_session(region_name="${aws.region}") sqs = boto3.resource('sqs') response = requests.get('http://169.254.169.254/latest/meta-data/instance-id') instance_id = response.text build_bucket = "${aws.s3.bucket}" # Retrieving a queue by