Uncategorized

Verses for Life now supports iPad and iPhone

I’ve updated the Verses for Life app to include iPad support in addition to the iPhone app.  Download Verses for Life from the App Store for your iPhone or iPad.

If you don’t have an iPhone or iPad, you can access the same verse content directly from the Verses for Life website.  It includes the Topical Memory System, Roman Road, and Prayer verse packs in all the same Bible versions (CEV, ESV, KJV, NASB).  Bookmark the site or save it to the home screen on your smartphone for easy access.

Verses for Life now supports iPad and iPhone Read More »

Configuring AWS IAM Policy for S3 Bucket and CloudFront

Here’s an IAM policy you can use to grant a specific user or group rights to an individual S3 bucket and CloudFront. Unfortunately, CloudFront can’t be restricted by resource (such as distribution ID) so you have to grant access to all resources, but you can give rights to just one S3 bucket.

Initially, I ran into trouble setting up this policy because I only granted rights to “bucketname” and not “bucketname/*” as you can see below.

I encountered this on the path to setting up AWS hosting w/ S3 and CloudFront for a static website.


{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "s3:*",
      "Resource": [
          "arn:aws:s3:::mybucketname",
          "arn:aws:s3:::mybucketname/*"]
    },
    {
      "Effect": "Allow",
      "Action": "cloudfront:*",
      "Resource": "*"
    }
  ]
}

“ARN” is the Amazon Resource Name. The general formats are the following:

  • arn:aws:service:region:account:resource
  • arn:aws:service:region:account:resourcetype/resource
  • arn:aws:service:region:account:resourcetype:resource

In the case of S3 resources, the format is “arn:aws:s3:::mybucketname” and “arn:aws:s3:::mybucketname/object”.

Configuring AWS IAM Policy for S3 Bucket and CloudFront Read More »

Web Performance Optimization for WordPress (Slides)

The slides for this presentation have been archived and are no longer available.

View slides from my presentation about “Web Performance Optimization for WordPress”. The slides are in HTML, CSS, and JS; you can view them in any modern web browser.

Load up the slides and then use your arrow keys to navigate, “G” to go to a specific slide number, and “M” will give you an overview of the slides.

Web Performance Optimization for WordPress (Slides) Read More »