Skip to content

Instantly share code, notes, and snippets.

TOMAC kamitom

View GitHub Profile
@dansku
dansku / openbalena-start.md
Created Mar 15, 2019
openBalena VPS Configuration
View openbalena-start.md

Locally installing to a server

Pre-requisites

# /etc/systemd/system/docker.service.d/override.conf
[Service]
@doggy8088
doggy8088 / settings.json
Last active Mar 21, 2019
Will 保哥的 VSCode 使用者設定檔
View settings.json
{
"explorer.openEditors.visible": 0,
"workbench.colorTheme": "Default Light+",
"workbench.iconTheme": "vscode-simpler-icons",
"workbench.sideBar.location": "right",
// 需下載安裝 Fira Code 字型 (安裝 OTF 格式)
// https://github.com/tonsky/FiraCode/releases
// 需下載客製化過的 Microsoft YaHei Mono 字型
@barbietunnie
barbietunnie / udemy-courses-download-using-cookies.md
Last active Apr 21, 2019
Downloading Udemy videos with youtube-dl
View udemy-courses-download-using-cookies.md

How to download your Udemy course videos using youtube-dl

$ youtube-dl --list-extractors | grep udemy

Steps

  1. Get link to the course to download. e.g. https://www.udemy.com/course-name/
  2. Login into udemy website, save the cookie from chrome using Chrome (Cookie.txt)[1] export extension. Save it to file udemy-cookies.txt
  3. Get the link of the video that you want to download. usually in format. Use the command provided below where you have to replace the {course_link} and {path_to_cookies_file} with respective paths.
$ youtube-dl {course_link} --cookies {path_to_cookies_file}
@billy3321
billy3321 / Markdown Cheatsheet 中文版.md
Last active Apr 13, 2019
Markdown Cheatsheet 中文版
View Markdown Cheatsheet 中文版.md
You can’t perform that action at this time.