Skip to content

Instantly share code, notes, and snippets.

View edmiranda's full-sized avatar
👋
Hi!

Eduardo Miranda edmiranda

👋
Hi!
View GitHub Profile
@edmiranda
edmiranda / ReactNative-instalaciones.md
Created May 20, 2024 02:34 — forked from Klerith/ReactNative-instalaciones.md
Instalaciones recomendadas para el curso de React Native

React Logo

Instalaciones - Curso de React Native

Esta es la lista de instalaciones recomendadas para el curso de React Native, si encuentran enlaces adicionales o cambios en esta hoja, pueden hacerlos.

@edmiranda
edmiranda / sketch-never-ending.md
Created September 24, 2018 23:45 — forked from Bhavdip/sketch-never-ending.md
Modify Sketch to never ending trial

###Sketch trial non stop

Open hosts files:

$ open /private/etc/hosts

Edit the file adding:

127.0.0.1 backend.bohemiancoding.com

127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com

How to setup AWS lambda function to talk to the internet and VPC

I'm going to walk you through the steps for setting up a AWS Lambda to talk to the internet and a VPC. Let's dive in.

So it might be really unintuitive at first but lambda functions have three states.

  1. No VPC, where it can talk openly to the web, but can't talk to any of your AWS services.
  2. VPC, the default setting where the lambda function can talk to your AWS services but can't talk to the web.
  3. VPC with NAT, The best of both worlds, AWS services and web.

Keybase proof

I hereby claim:

  • I am edmiranda on github.
  • I am stackaws (https://keybase.io/stackaws) on keybase.
  • I have a public key ASBwFXLB9uGcWT-Tl4AlINBYi6G3spmo03Q51ucVh-IU3Qo

To claim this, I am signing this object:

@edmiranda
edmiranda / postgres-cheatsheet.md
Created April 6, 2017 19:33 — forked from Kartones/postgres-cheatsheet.md
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

If run with -E flag, it will describe the underlaying queries of the \ commands (cool for learning!).

Most \d commands support additional param of __schema__.name__ and accept wildcards like *.*

sud0 -i
yum update -y
# Get Jenkins repository
wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
# Get jenkins repository key
rpm --import http://pkg.jenkins-ci.org/redhat-stable/jenkins-ci.org.key
# install jenkins