Short script to create and attach an EBS Volume in AWS

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.

  Advertisements

Read More…
Advertisements

Get Volume ID of a Volume, if it exists

 

Read More…

Generate Certificates using openssl One Liner

This is useful for scripting the generation of certificates for web servers.

 

Read More…

Set Message Attribute on SQS Message

Example on setting message attribute on SQS Message. Subscribers can perform actions based on the attributes.  

 

Read More…

Monitor an SQS Queue based on your instance id

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.

 

Read More…

Alfresco ADF 2.3 the TL;DR version.

Install NPM https://www.npmjs.com/get-npm Start Alfresco Content Services, and Alfresco Process Services. Locally via SDK with default user/pass (admin:admin)

Clone ADF project from github:

Navigate into the project’s demo-shell sub folder:

If Alfresco Content Services and Alfresco Process Services is remote, then you must edit the proxy.conf.js file to set the ACS and APS […]

Read More…

Generating PNG from Font Awesome SVGs on a MAC

This simple command will allow you to generate a PNG of a Font Awesome SVG icon, in the color that you want.  

Command Breakdown: gnu-sed is used, instead of OSX sed shipped with the mac.

Add an RGB color fill to the fontawesome svg icon file -i ” — sed edit […]

Read More…

Alfresco Default Administrators

Issue: Default Administrators identified in Alfresco does not give the user Administrative privileges Troubleshooting: Check that there isn’t any space in your comma delimited list of names. Recommendations: If you are using LDAP sync to synchronize users, an LDAP admin group should be defined, and this group should be nested under the ALFRESCO_ADMINISTRATORS group.

Read More…

Overriding Solr Configurations in Alfresco SDK 3.0

This post allows the user to override the Alfresco Solr configurations in the Alfresco SDK 3.0 TL;DR Override Tomcat’s Solr context configuration to point to custom Solr4 config dir. Copy default Solr configurations into this directory. Override new configurations as needed.   Override Solr Context Configurations First we will add a config element in our […]

Read More…

RAD! Alfresco SDK 3.0. Upgrade and enjoy!

Why upgrade SDK 3.0? Support for RAD (Rapid Application Development) and TDD (Test Driven Development) via HotswapAgent and JRebel Simpler SDK layout Jar packaging by default Support for Alfresco version 4.2 to 5.2 Integration testing webscripts TL;DR Update your pom.xml Remove all SDK modules, except for your jar/amp project modules. Update your Integration tests. Add integration-tests project module, […]

Read More…