Skip to content

Instantly share code, notes, and snippets.

View abury's full-sized avatar

Aron abury

  • Australia
View GitHub Profile
@abury
abury / cdk-sqs-share.ts
Created May 15, 2022 10:18
Reference an SQS across stacks
// At the top of the file define your queue name as an export
export const QUEUE_NAME = `membership-events-queue`;
// Create your SQS queue as normal:
export const composeMembershipEventsHandler = (
stack: Stack,
props: ComposeBackgroundEventProps
) => {
### Keybase proof
I hereby claim:
* I am abury on github.
* I am aron_bury (https://keybase.io/aron_bury) on keybase.
* I have a public key ASAManstaWT-HBvnDN97XRKOeXvi-yl57ShSc73xdX8qDwo
To claim this, I am signing this object:
@abury
abury / AbstractEmptyDataSetSource.swift
Last active December 7, 2016 22:22
An abstract wrapper class for DZNEmptyDataSet that makes showing simple empty states easy. Untested in Swift 3 yet
//
// AbstractEmptyDataSource.swift
// ABSocialMediaManager
//
// Created by Aron Bury on 14/09/2015.
// Copyright © 2015 Aron Bury. All rights reserved.
//
import Foundation
import DZNEmptyDataSet
@abury
abury / routes.js
Last active February 21, 2018 03:41
PlainRoute example with require auth for React-redux
// We only need to import the modules necessary for initial render
import CoreLayout from '../layouts/CoreLayout/CoreLayout';
import Home from './Home';
import LoginRoute from './Login';
import SignupRoute from './Signup';
import DashboardRoute from './Secure/Dashboard';
import LeadsRoute from './Secure/Leads';
import NotFound from './NotFound';
/* Note: Instead of using JSX, we recommend using react-router
### Keybase proof
I hereby claim:
* I am abury on github.
* I am aron_bury (https://keybase.io/aron_bury) on keybase.
* I have a public key whose fingerprint is 202C 4000 0DEC F554 6A26 13ED D96B 635B 8F64 D7E0
To claim this, I am signing this object:
@abury
abury / complex_iOS_build_script.sh
Created November 29, 2011 11:44
An extended iOS build Script showing a range of functions
#!/bin/sh
# Extended iOS Build Script
# Written by Aron Bury, 29/11/2011
#==== Script Params =====
# App params
appname="AwesomeApp"
target_name="$appname"
sdk="iphoneos"
@abury
abury / gist:1404051
Created November 29, 2011 08:45
Simple iOS Build Script
#!/bin/sh
# Simple iOS build script
# Written by Aron Bury, 29/11/2011
appname="AwesomeApp"
target_name="$appname"
sdk="iphoneos"
certificate="iPhone Developer: Joe Blogs"