Skip to content

Instantly share code, notes, and snippets.

View rahulrumalla's full-sized avatar
🦦
Soul searching..

rsquare rahulrumalla

🦦
Soul searching..
View GitHub Profile
@rahulrumalla
rahulrumalla / gcp-auth-with-default-creds.go
Last active April 21, 2020 09:07
Patterns to secure your GCP credentials file with your Go app
package demo
import (
"context"
"google.golang.org/api/option"
"cloud.google.com/go/storage"
)
// NewClient returns a new Storage client for Google Cloud Storage on GCP
func NewClient(ctx context.Context) (*Storage, error) {
@rahulrumalla
rahulrumalla / README.md
Last active January 24, 2019 23:37
Geth on Digital Ocean

Run node

geth --syncmode light --rpc --rpcapi db,eth,net,web3 --rpcaddr "0.0.0.0" --rpcport "8545"

Setup geth as a service

Create geth.service in /etc/systemd/system

Contents

Keybase proof

I hereby claim:

  • I am rahulrumalla on github.
  • I am pcrkr (https://keybase.io/pcrkr) on keybase.
  • I have a public key ASCMyK94YLtctAi4-GOX-_5mmGGSNnU8AVfKF35AhMomDgo

To claim this, I am signing this object: