How to preview a Hugo site on a mobile phone on a local network (MacOS)

When developing a theme for a Hugo site, you'll want to see how it looks on mobile phones. If you run a hugo server command and try to navigate to the Mac's IP address from your phone, it won't be resolved and you'll get a server not found error.

· 1 min read · hugo

Fix the tilde key on Mac with Automator and keyboard shortcuts

On some non-U.S. Mac keyboards, the tilde key is (mis)placed next to the left Shift button. In this post, I'll show you how to get the tilde where it belongs, next to the “1” key, and how to switch between U.S. and International layouts to easily alternate between keyboards.

· 3 min read · macos automator

How to fix Chrome "Resolving host" issue on Mac

My new shiny MacBook Pro had an issue with resolving host names. Chrome would show “Resolving host…” for a few seconds before loading websites and it was exasperating. Using tools like brew and pip was a nightmare as it took forever before they started downloads. But overall the internet was working just fine and no other device, including my work MacBook, had that problem.

· 2 min read · macos

Running commands from Slack with AWS Chatbot

Today, my team launched a new feature that enables DevOps engineers to run commands from Slack using the AWS CLI syntax. My blog post on AWS DevOps blog covers the set up process, security, and top use cases. We also produced a short video that explains what your teams can do with AWS Chatbot and I did a live demo of the service at AWS re:Invent 2019.

· 1 min read · aws chatops

Introducing AWS Chatbot

Today my team announced AWS Chatbot, a new AWS service that makes ChatOps on AWS easy. My blog post on AWS DevOps blog covers the launch and the set up process in detail.

· 1 min read · aws chatops

Simple SNS to Telegram notifications bot

In this post I'll guide you through the steps to create a private Telegram bot that can send notifications from Amazon SNS to a one-on-one Telegram chat.

· 5 min read · chatops bots telegram lambda aws

How I fixed the mess in my personal Gmail

I developed a personal email management system with the goals of 1) reliably separating automated emails from personal emails, 2) creating a mechanism to delete unhelpful and expired email in bulk, and 3) auto-archiving important automated emails.

· 7 min read · email

How Google Drive works with external disks

It's not well documented, so I run a few tests to understand how exactly Google Drive works with external disks. I now have more data in Google Drive than can fit into my Mac's 500 GB of built-in storage. As much I trust Google, I still want to keep a local copy of all of my files and I want it to seamlessly sync with the cloud.

· 5 min read · google drive photos

How to build a Hugo website in AWS Lambda and deploy it to S3

This tutorial explains how to run Hugo in AWS Lambda and deploy a static website to Amazon S3.

· 9 min read · aws lambda

How to use AWS CLI within a Lambda function (aws s3 sync from Lambda)

A step-by-step process to enable AWS CLI within an AWS Lambda function.

· 6 min read · aws lambda

AWS Lambda: libstdc++.so.6 version GLIBCXX_3.4.20 not found error

Step-by-step guidance to fix the /usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.20' not found error in AWS Lambda when using a custom binary.

· 5 min read · aws lambda