AWS S3 Bucket Name Validation Regex

Amazon Web Services enforces a strict naming convention for buckets used for storing files. Amazon’s requirements for bucket names include: aws s3 bucket name validation regex by Scott Lanoue at Easy Dynamics Technical Blog

  • A Bucket’s name can be between 6 and 63 characters long, containing lowercase characters, numbers, periods, and dashes
  • Each label must start with a lowercase letter or number
  • Bucket names cannot contain underscores, end with a dash, have consecutive periods, or use dashes adjacent to periods
  • Lastly, the bucket name cannot be formatted as an IPV4 address (e.g. 255.255.255.255)

Continue reading “AWS S3 Bucket Name Validation Regex”

Syntax Highlighting For Code Snippets in HubSpot

If you spend enough time perusing technical blogs, one of the things that you will notice is that any code snippets that are included in the article seem to have an IDE or a very good editor embedded in their article since their snippets come with accurate syntax highlighting along with line numbers. Unfortunately, technical blog authors aren’t using some gold plated blog engine to accomplish this particular feat, though such blog engines exist. In most cases, they are using a client side plugin that is a combination of CSS and JavaScript called a Syntax Highlighter.

Continue reading “Syntax Highlighting For Code Snippets in HubSpot”