Skip to content

Instantly share code, notes, and snippets.

View frankyn's full-sized avatar
👻

Frank Natividad frankyn

👻
View GitHub Profile
@frankyn
frankyn / stream_upload.rb
Last active April 10, 2023 22:51
Using Cloud Storage resumable upload with a signed URL in Ruby
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@frankyn
frankyn / kubernetes-engine.rb
Last active January 19, 2021 05:47
Patch for Kubernetes Engine tutorial.
diff --git a/optional-kubernetes-engine/Gemfile b/optional-kubernetes-engine/Gemfile
index 33d4baf..aa9f26d 100644
--- a/optional-kubernetes-engine/Gemfile
+++ b/optional-kubernetes-engine/Gemfile
@@ -19,10 +19,11 @@ gem "fog"
gem "omniauth"
gem "omniauth-google-oauth2"
# [START gcloud]
-gem "gcloud", "~> 0.8.0"
+gem "google-cloud-datastore"