Skip to content

Instantly share code, notes, and snippets.

View hyunjong-lee's full-sized avatar

hyunjong.lee hyunjong-lee

View GitHub Profile
@hyunjong-lee
hyunjong-lee / sharepoint_directories_files_list.py
Created August 20, 2021 08:01
List directories and files using Office365-REST-Python-Client library
import os
from office365.runtime.auth.authentication_context import AuthenticationContext
from office365.sharepoint.client_context import ClientContext
from office365.sharepoint.files.file_system_object_type import FileSystemObjectType
tenant = '{YOUR tenant ID in HERE}'
tenant_name = '{YOUR TENENT NAME in HERE}'
site_name = '{YOUR SITE NAME in HERE}'
site_url = f"https://{tenant_name}.sharepoint.com/sites/{site_name}"
@hyunjong-lee
hyunjong-lee / .bash_profile
Created January 9, 2018 03:23 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@hyunjong-lee
hyunjong-lee / .bash_profile
Created January 9, 2018 03:23 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management