Skip to content

Instantly share code, notes, and snippets.

View adrice727's full-sized avatar

Aaron Rice adrice727

View GitHub Profile
@adrice727
adrice727 / executeDataflowTemplate.ts
Last active January 15, 2021 10:24
Executing a Google Cloud Dataflow Template from Node
import axios from "axios";
import jwt from "jsonwebtoken";
import mem from "mem";
import fs from "fs";
const loadServiceAccount = mem(function(){
// This is a string containing service account credentials
const serviceAccountJson = process.env.GOOGLE_APPLICATION_CREDENTIALS;
if (!serviceAccountJson) {
throw new Error("Missing GCP Credentials");
@adrice727
adrice727 / index.js
Created April 11, 2018 22:46
Bundled react components lib.
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
@adrice727
adrice727 / karma.conf.js
Last active April 26, 2024 23:17
karma-webpack => require is not defined
const path = require('path');
const webpack = require('webpack');
const webpackConfig = require('./webpack.config');
module.exports = function (config) {
let sauceLaunchers = {
ie: {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: process.env.BVER === '10' ? 'Windows 8' : 'Windows 8.1',

Amazon Web Services Global Infrastructure Graph

Amazon Web Services global infractructure is steadily expanding and now serves thousands of customers in over 190 countries. Certain services are only available in some regions and compute prices vary across the globe. Wouldn’t it be nice if you could slice and dice through the entire AWS domain of services, data centres and prices all in one spot to optimise your AWS bill? , enter the AWS Global Infrastructure Graph!

At the time of writing the AWS global infrastructure graph consists of 5 continents, with 10 regions, and 21 availability zones, offering 32 services. The data shown here is current as of 21 January 2014.

disclaimer AWS consumers beware! The prices and services listed in the graph are correct as of January 21st 2014, please refer to the AWS price calculator for the latest prices and service offering’s per region - http://calculator.s3.amazonaws.com/calc5.html