Skip to content

Instantly share code, notes, and snippets.

View jorgechato's full-sized avatar
🏝️
Soon in the wild

Jorge jorgechato

🏝️
Soon in the wild
View GitHub Profile
@jorgechato
jorgechato / how-to-work-with-me.md
Last active November 15, 2024 01:42
How to work with me

How to work with me

Workday Timeline

Tip

If you’d like to know whether I’m on a trip, please check my current location at Where is Jorge Today?

gantt
 title Daily Schedule

foobar.withgoogle.com

@jorgechato
jorgechato / kubectl-multi-version-brews.md
Created February 26, 2020 08:11 — forked from rdump/kubectl-multi-version-brews.md
kubectl multi-version brews (kubernetes-cli formula)

kubectl multi-version brews

We need to run multiple versions of kubectl for compatibility with various kubernetes clusters.

It's a bit easier to get and use multiple versions of kubectl using Homebrew than it is using Macports.

With brew, it's simple to:

  • Install a bunch of versions of kubectl (in the kubernetes-cli Formula)
  • Switch between them as needed
@jorgechato
jorgechato / experiment.json
Created September 1, 2019 06:16
How to DESTROY your AWS services (and come back to life in minutes) V.1
"version": "1.0.0",
"title": "Terminate the database master should not prevent application from running",
"description": "As we are relying on Patroni to provide HA PostgreSQL, we expect that the application should run fine even when the PostgreSQL master goes away",
"tags": [
"kubernetes",
"postgresql",
"cloudnative",
"database"
],
@jorgechato
jorgechato / vN4
Created August 31, 2019 14:53
How to learn a new language
ああ!
--¡ah!, ¡oh!
%
あう (会う)
--encontrarse con, reunirse
%
あおい (青い)
@jorgechato
jorgechato / setup-gh-cli-auth-2fa.md
Created June 16, 2018 08:28 — forked from ateucher/setup-gh-cli-auth-2fa.md
Setup git on the CLI to use 2FA with GitHub

These are instructions for setting up git to authenticate with GitHub when you have 2-factor authentication set up. This authentication should be inherited by any GUI client you are using. These are intentionally brief instructions, with links to more detail in the appropriate places.

  1. Download and install the git command-line client (if required).

  2. Open the git bash window and introduce yourself to git (if required):

    git config --global user.name 'Firstname Lastname'
    git config --global user.email 'firstname.lastname@gov.bc.ca'
    
@jorgechato
jorgechato / keras.py
Last active May 24, 2018 13:27
This is an easy example to type a dense layer in keras vs tensorflow
# Keras implementation
from keras.models import Sequential
from keras.layers import Dense
model = Sequential()
model.add(Dense(32, input_shape=(16,)))
@jorgechato
jorgechato / tf-aws.md
Created May 24, 2018 13:18
Train your models in the cloud

Train your models in the cloud

AWS

$ chmod 400 amazon-cert.pem
$ ssh –i “amazon-cert.pem” ubuntu@ip

Reverse SSH tunnel

Keybase proof

I hereby claim:

  • I am jorgechato on github.
  • I am jorgechato (https://keybase.io/jorgechato) on keybase.
  • I have a public key ASCKMO-qcGfiDXFNO5KjDdbokyadjtAgyjFlg1cpjzhpSAo

To claim this, I am signing this object: