Skip to content

Instantly share code, notes, and snippets.

@aimrbrto
aimrbrto / gcloud_commands
Created September 2, 2018 21:42 — forked from frntn/gcloud_commands
all gcloud commands
gcloud auth
gcloud auth activate-refresh-token
gcloud auth activate-service-account
gcloud auth git-helper
gcloud auth list
gcloud auth login
gcloud auth print-access-token
gcloud auth print-refresh-token
gcloud auth revoke
gcloud components
@aimrbrto
aimrbrto / GCLOUD-EXAMPLE.md
Created August 20, 2018 19:29 — forked from andyshinn/GCLOUD-EXAMPLE.md
Postal on Google Container Engine

Postal on Kubernetes in Google Cloud Platform

Requirements

  1. Google Cloud Platform (GCP) account.
  2. A project in the account (we're using postal-165921 in our example commands).

Infrastructure

  1. Set the defailt zone to use with our gcloud commands: gcloud config set compute/zone us-central1-a
@aimrbrto
aimrbrto / kubernetes.md
Created June 7, 2018 14:50 — forked from dmunn/kubernetes.md
Document providing an overview of Kubernetes and some basic interactions using the CLI

Kubernetes

Kubernetes is a production-grade, open-source platform that orchestrates the placement (scheduling) and execution of application containers within and across computer clusters.

Minikube

Can be considered as a developers testing ground, running Kubernetes locally within a VM.

Cluster

@aimrbrto
aimrbrto / index.md
Created January 10, 2018 15:57 — forked from rstacruz/index.md
Rails models cheatsheet

Rails Models

Generating models

$ rails g model User

Associations

belongs_to

has_one

@aimrbrto
aimrbrto / postgres-brew.md
Created January 8, 2018 20:21 — forked from sgnl/postgres-brew.md
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update