Skip to content

Instantly share code, notes, and snippets.

Luis lmineiro

Block or report user

Report or block lmineiro

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
@lmineiro
lmineiro / amis.sh
Created Feb 14, 2019
Find Latest AMI
View amis.sh
aws ec2 describe-images \
--filters Name=name,Values=Taupage-AMI-* \
--query 'Images[*].[Name,ImageId,CreationDate]' \
--output text | sort -k3| tail -1 | cut -f2
@lmineiro
lmineiro / reliability-patterns-abstract.md
Created Jan 23, 2018
Reliability patterns for fun and profit
View reliability-patterns-abstract.md

Title

Reliability patterns for fun and profit

Abstract

Building large scale systems brings many challenges. With microservices we also see the complexity increase dramatically. Microservices communicate with each other over the network and, as the "Fallacies of Distributed Computing" explain, the network is unreliable. We need to prepare our systems to address that.

In this talk I'll focus on 3 specific reliability patterns. I’ll start by showing the most common

View keybase.md

Keybase proof

I hereby claim:

  • I am lmineiro on github.
  • I am lmineiro (https://keybase.io/lmineiro) on keybase.
  • I have a public key ASD5rQkO6LPy1vNU_iFhef-usSEmVw5_pcVLRRb8t5tvLAo

To claim this, I am signing this object:

@lmineiro
lmineiro / dynamic_query_inside_sproc.sql
Created Oct 9, 2015
Example of dynamic queries inside plpgsql stored procedures
View dynamic_query_inside_sproc.sql
CREATE TABLE IF NOT EXISTS sample_table (
id serial,
field1 text,
field2 int,
field3 date
);
INSERT INTO sample_table (field1, field2, field3)
SELECT
md5(random()::text),
You can’t perform that action at this time.