Skip to content

Instantly share code, notes, and snippets.

View mrsono0's full-sized avatar
💭
HI! have a nice day~

Jung Hyun Son mrsono0

💭
HI! have a nice day~
View GitHub Profile
@mrsono0
mrsono0 / download_files_from_googledrive.py
Created July 7, 2020 13:13 — forked from swyoon/download_files_from_googledrive.py
A script for downloading all files in a Google Drive folder.
"""
A Python script for downloading all files under a folder in Google Drive.
Downloaded files will be saved at the current working directory.
This script uses the official Google Drive API (https://developers.google.com/drive).
As the examples in the official doc are not very clear to me,
so I thought sharing this script would be helpful for someone.
To use this script, you should first follow the instruction
in Quickstart section in the official doc (https://developers.google.com/drive/api/v3/quickstart/python):
@mrsono0
mrsono0 / FIleSystemOperations.java
Created August 6, 2018 16:18 — forked from ashrithr/FIleSystemOperations.java
HDFS FileSystems API example
package com.cloudwick.mapreduce.FileSystemAPI;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;