Skip to content

Instantly share code, notes, and snippets.

View ngoquoctoandev's full-sized avatar
🎯
Focusing

Ngô Quốc Toản ngoquoctoandev

🎯
Focusing
View GitHub Profile
@ngoquoctoandev
ngoquoctoandev / yt-dlp.txt
Created December 5, 2024 09:34
Download youtube private or member videos
#single video
yt-dlp --cookies youtube.com_cookies.txt "URL"
#playlist
yt-dlp --yes-playlist --cookies youtube.com_cookies.txt "URL"
You can use: --playlist-start, --playlist-end, --playlist-reverse or --playlist-items to achieve this goal.
#Note: cookie should be in Netscape format
@ngoquoctoandev
ngoquoctoandev / RSAKeys.cs
Created May 23, 2021 02:14 — forked from therightstuff/RSAKeys.cs
Import and export RSA Keys between C# and PEM format using BouncyCastle
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.OpenSsl;
using Org.BouncyCastle.Security;
using System;
using System.IO;
using System.Security.Cryptography;
namespace MyProject.Data.Encryption
{