Skip to content

Instantly share code, notes, and snippets.

what does this button do?

rowan rowanu

what does this button do?
Block or report user

Report or block rowanu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
rowanu / codebuild.yaml
Created Jan 13, 2020
Invalidate CloudFront from CodePipeline
View codebuild.yaml
Type: AWS::CodeBuild::Project
Image: aws/codebuild/standard:2.0
Name: !Sub ${AWS::StackName}-invalidate-cache
rowanu / function-and-log-group.yaml
Last active Mar 6, 2020
Clean up a Lambda function's logs when you delete it
View function-and-log-group.yaml
AWSTemplateFormatVersion: '2010-09-09'
Transform: 'AWS::Serverless-2016-10-31'
Type: AWS::Serverless::Function
InlineCode: |
exports.handler = async () => {
rowanu / output.log
Created Feb 10, 2018
CodeBuild Output
View output.log
[Container] 2018/02/10 08:28:22 Waiting for agent ping
[Container] 2018/02/10 08:28:25 Waiting for DOWNLOAD_SOURCE
[Container] 2018/02/10 08:28:31 Phase is DOWNLOAD_SOURCE
[Container] 2018/02/10 08:28:31 CODEBUILD_SRC_DIR=/codebuild/output/src210388559/src
[Container] 2018/02/10 08:28:31 YAML location is /codebuild/output/src210388559/src/buildspec.yaml
[Container] 2018/02/10 08:28:31 Processing environment variables
[Container] 2018/02/10 08:28:31 Moving to directory /codebuild/output/src210388559/src
[Container] 2018/02/10 08:28:31 Registering with agent
[Container] 2018/02/10 08:28:31 Phases found in YAML: 3
[Container] 2018/02/10 08:28:31 INSTALL: 3 commands
rowanu / updateSecurityGroup.js
Last active Dec 25, 2019
Update an AWS Security Group to allow access by a specific AWS service.
View updateSecurityGroup.js
'use strict';
const AWS = require('aws-sdk');
const https = require('https');
const ec2 = new AWS.EC2();
const ipRangesUrl = '';
const target = {
port: 5432,
protocol: 'tcp',
rowanu / data.json
Last active Mar 15, 2018
Visualising EC2 Security Groups
View data.json
"name": "AppName-AppServer-ASG-SG",
"id": "sg-b8ce4cc0",
"ingress": [
"name": "AppName-AppServer-ELB-SG",
"protocol": "tcp",
"fromPort": 8080
rowanu /
Last active Aug 22, 2019
Hotness Widget for the Dashing dashboard from Shopify

Dashing Hotness Widget

Are you dashing? Are you hot? Then you need the Dashing Hotness Widget!

See the blog post for more details.


This widget is similar to the basic Number widget, except that the entire widget changes colour based on the value displayed. It is designed to draw attention to

You can’t perform that action at this time.