Skip to content

Instantly share code, notes, and snippets.

View redeian's full-sized avatar

Chatchai Wangwiwattana redeian

View GitHub Profile
@redeian
redeian / export-team-membership-roster.js
Created January 25, 2022 00:57 — forked from guillaumemeyer/export-team-membership-roster.js
Exports the owners and members of a Microsoft Teams team as a CSV file
// ****************************************************************************************************************************
// Abstract:
// This script is just a quick hack to export the owners and members of a team as a CSV file without administrator permissions.
//
// Usage:
// 1. Open your team
// 2. Select "Manage team" from its menu
// 3. Select the "Members" tab
// 4. Expand the "Owners" and "Members and guests" sections
// 5. Make sure to scroll down to the end of the owners and members lists to include all of them in your export (As the members are loaded on demand)
@redeian
redeian / downloadYoutube.sh
Created September 24, 2017 15:08
Download Youtube Video with EN Caption with Python
pip install --upgrade youtube-dl
youtube-dl --write-srt --srt-lang en [a youtube link]