Skip to content

Instantly share code, notes, and snippets.

CSW kamitom

Block or report user

Report or block kamitom

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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 Nov 8, 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 字型
@singledigit
singledigit / cognito.yaml
Last active Nov 10, 2019
Create a Cognito Authentication Backend via CloudFormation
View cognito.yaml
AWSTemplateFormatVersion: '2010-09-09'
Description: Cognito Stack
Parameters:
AuthName:
Type: String
Description: Unique Auth Name for Cognito Resources
Resources:
# Creates a role that allows Cognito to send SNS messages
SNSRole:
@barbietunnie
barbietunnie / udemy-courses-download-using-cookies.md
Last active Nov 14, 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 Nov 16, 2019
Markdown Cheatsheet 中文版
View Markdown Cheatsheet 中文版.md
@subfuzion
subfuzion / curl.md
Last active Nov 15, 2019
curl POST examples
View curl.md

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

You can’t perform that action at this time.