Skip to content

Instantly share code, notes, and snippets.

@jmad1v07
jmad1v07 / list_objects_google_storage_boto3.py
Created August 7, 2023 02:49 — forked from gleicon/list_objects_google_storage_boto3.py
How to use boto3 with google cloud storage and python to emulate s3 access.
from boto3.session import Session
from botocore.client import Config
from botocore.handlers import set_list_objects_encoding_type_url
import boto3
ACCESS_KEY = "xx"
SECRET_KEY = "yy"
boto3.set_stream_logger('')
@jmad1v07
jmad1v07 / shiny-oauth.r
Created May 10, 2021 16:11 — forked from hadley/shiny-oauth.r
Sketch of shiny + oauth
library(shiny)
library(httr)
# OAuth setup --------------------------------------------------------
# Most OAuth applications require that you redirect to a fixed and known
# set of URLs. Many only allow you to redirect to a single URL: if this
# is the case for, you'll need to create an app for testing with a localhost
# url, and an app for your deployed app.