Skip to content

Instantly share code, notes, and snippets.

View wnz99's full-sized avatar

David Fava wnz99

View GitHub Profile
@wnz99
wnz99 / aws-gcp-openvpn.MD
Last active January 27, 2020 08:38
aws-gcp-openvpn

Connecting AWS and GCP with OpenVPN

This tutorial will explain how to set up OpenVPN to connect AWS and GCP to allow access from AWS VM to GCP VM.

This is a basic guide for learning purposes and assumes default network configurations on both clouds.

Environment

Our environment will have the following setup in the two clouds. For sake of simplicity each VM will have a public address, but such setup is not recommended in production.

@wnz99
wnz99 / keybase.md
Created June 7, 2021 08:59
keybase.md

Keybase proof

I hereby claim:

  • I am wnz99 on github.
  • I am wnz99 (https://keybase.io/wnz99) on keybase.
  • I have a public key ASCo233nzscKKA9_EbaHMtpU3IdNbK025yKfcRny-DX87wo

To claim this, I am signing this object:

New Relic /etc/newrelic-infra/logging.d/logging.yml file content to collect Docker logs:

logs:
  - name: alternatives.log
    file: /var/log/alternatives.log
  - name: cloud-init.log
    file: /var/log/cloud-init.log
  - name: auth.log
 file: /var/log/auth.log
@wnz99
wnz99 / trade_graphql.md
Last active April 12, 2022 08:30
Graphql queries for trade service

Trading

Market are define as a pair of assets such as ETH-GBP. ETH is the base asset, while GBP is the quote asset.

Prices are expressed in quote asset values.

Price quotation:

  enum Markets {
@wnz99
wnz99 / coding-test.md
Last active January 13, 2023 14:41 — forked from jaikoo/coding-test.md
Coding test

Take home test (CRUD)

Thanks for taking the time to do our full-stack coding test. The challenge has two parts:

  • A task to create a basic service and ui to allow users to track their spending.
  • Some follow-up questions

Task

We need to create a service that allows users to create an 'Account' in GBP and keep track of balance in that account.

The service allows for transfers to be made against an account.

@wnz99
wnz99 / coding-test.md
Created January 13, 2023 14:40
Mode coding test

Take home test (CRUD)

Thanks for taking the time to do our full-stack coding test. The challenge has two parts:

  • A task to create a basic service and ui to allow users to track their spending.
  • Some follow-up questions

Task

We need to create a service that allows users to create an 'Account' in GBP and keep track of balance in that account.

The service allows for transfers to be made against an account.

Take home test (CRUD)

Thanks for taking the time to do our full-stack coding test. The challenge has two parts:

  • A task to create a basic service and ui to allow users to track their spending.
  • Some follow-up questions

Task

We needs to create a service that allows users to create an 'Account' in GBP and keep track of balance in that account.