Skip to content

Instantly share code, notes, and snippets.

View lumynou5's full-sized avatar

Lumynous lumynou5

View GitHub Profile
@lumynou5
lumynou5 / twitch.ps1
Created January 14, 2024 01:38
A PowerShell script to download Twitch VODs with Streamlink.
param(
[Parameter(Mandatory, ParameterSetName="Basic", Position=0)]
[Parameter(Mandatory, ParameterSetName="Segment", Position=0)]
[ValidatePattern("^\d{10}$")]
[string]$Id,
[Parameter(Mandatory, ParameterSetName="Segment", Position=1)]
[ValidatePattern("^\d{2}:\d{2}:\d{2}$")]
[string]$Begin,
@lumynou5
lumynou5 / ytv.user.js
Last active March 18, 2024 11:58
ytv.user.js
// ==UserScript==
// @name Ytv
// @version 0.1.2
// @description A 7tv workaround for YouTube.
// @author Lumynous
// @license MIT
// @match https://www.youtube.com/live_chat*
// @updateURL https://gist.github.com/lumynou5/b0aaa067bd368eae15fbafff1585b1c3/raw/ytv.user.js
// @downloadURL https://gist.github.com/lumynou5/b0aaa067bd368eae15fbafff1585b1c3/raw/ytv.user.js
// ==/UserScript==
@lumynou5
lumynou5 / youtube-disable-autoplaying.user.js
Last active April 17, 2024 05:01
Disable YouTube autoplaying everywhere.
// ==UserScript==
// @name YouTube Disable Autoplaying
// @version 0.3.4
// @description Disable YouTube autoplaying everywhere.
// @author Lumynous
// @license MIT
// @require https://scriptcat.org/lib/513/2.0.0/ElementGetter.js
// @match https://www.youtube.com/*
// @noframes
// @downloadURL https://gist.github.com/lumynou5/b036f405a0888bf9c3b9a3f560e36f3d/raw/youtube-disable-autoplaying.user.js
@lumynou5
lumynou5 / youtube-commenter-names.user.js
Last active May 3, 2024 08:21
Make YouTube display the names of commenters instead of their handles.
// ==UserScript==
// @name YouTube Commenter Names
// @version 1.5.17
// @description Make YouTube display the names of commenters instead of their handles.
// @author Lumynous
// @license MIT
// @match https://www.youtube.com/*
// @match https://studio.youtube.com/*
// @noframes
// @downloadURL https://gist.github.com/lumynou5/74bcbab54cd9d8fcd3c873fffbac5d3d/raw/youtube-commenter-names.user.js
@lumynou5
lumynou5 / twitter-bird-back.user.js
Last active August 7, 2023 20:48
Twitter Bird Back userscript.
// ==UserScript==
// @name Twitter Bird Back
// @version 1.4.1
// @description Make Twitter bird back.
// @author Lumynous
// @license MIT
// @require https://scriptcat.org/lib/513/2.0.0/ElementGetter.js
// @match https://twitter.com/*
// ==/UserScript==

:::warning WIP! :::

C++ 是一個強大的程式語言,儘管名字上相似,也有歷史淵源,但 C++ 並非 C 的超集,如同Javascript 之於 Java,應該作為不同的語言看待。 其能夠在兼顧高效能的同時表達高階概念,輕鬆撰寫出跨平台的程式碼,因而歷久不衰。 無論是初學者,抑或已經掌握其他語言的程式設計師都適合學習。