Skip to content

Instantly share code, notes, and snippets.

View gmansilla's full-sized avatar

Guillermo Mansilla gmansilla

  • Amazon Web Services (AWS)
  • Orlando, Florida. USA
  • LinkedIn in/gmansilla
View GitHub Profile
function GetQueueIdWhenRedirectedToTarget() {
var n = window;
return n.queueViewModel ? n.queueViewModel.getIsRedirectedToTarget ? n.queueViewModel.getIsRedirectedToTarget() ? n.queueViewModel.getQueueId() : void 0 : null : null
}
var __extends, QueueIt;
(function(n) {
var t;
(function(n) {
var t;
(function(n) {
@gmansilla
gmansilla / RDS-Aurora-CloudFormation-Example.yaml
Created September 9, 2020 13:29 — forked from sjparkinson/RDS-Aurora-CloudFormation-Example.yaml
A basic CloudFormation template for an RDS Aurora cluster.
---
AWSTemplateFormatVersion: 2010-09-09
Description: >
A basic CloudFormation template for an RDS Aurora cluster.
Parameters:
DatabaseUsername:
AllowedPattern: "[a-zA-Z0-9]+"
ConstraintDescription: must be between 1 to 16 alphanumeric characters.
@gmansilla
gmansilla / forecast.php
Last active October 27, 2015 21:02
forecast
<?php
// implementers are responsible for doing the necessary math, store the data in whatever structure it requires
interface IForecaster
{
public function fetchForecastResult();
}
// only encapsulates the result of a forecast, DOES NOT DO ANY CALCULATIONS OR LOGIC
interface IForecastResult