Skip to content

Instantly share code, notes, and snippets.

View stevester94's full-sized avatar

Steven Mackey stevester94

View GitHub Profile
@jmlrt
jmlrt / proxy.conf
Created September 11, 2017 17:42
nginx minimal https reverse proxy configuration
server {
listen 80;
server_name localhost;
location / {
proxy_pass http://webserver:8080;
}
}
server {
@tanaikech
tanaikech / submit.md
Last active October 14, 2024 14:43
Downloading Shared Files on Google Drive Using Curl

Downloading Shared Files on Google Drive Using Curl

When the shared files on Google Drive is downloaded, it is necessary to change the download method by the file size. The boundary of file size when the method is changed is about 40MB.

File size < 40MB

CURL

filename="### filename ###"
fileid="### file ID ###"
curl -L -o ${filename} "https://drive.google.com/uc?export=download&amp;id=${fileid}"