Skip to content

Instantly share code, notes, and snippets.

View jailuthra's full-sized avatar
🐳

Jai Luthra jailuthra

🐳
View GitHub Profile
@jailuthra
jailuthra / yt-dlp-superchat-donation-total.py
Created December 26, 2023 18:38
Youtube Superchat Donation Total
import json
from pprint import pprint
# use yt-dlp to get the json for any video using command:
# yt-dlp --sub-langs all --write-subs --skip-download <url>
with open('ip.json') as f:
m = {}
for line in f.readlines():
d = json.loads(line)
@jailuthra
jailuthra / feeds.xml
Last active February 7, 2024 09:04
rss feeds
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Feed Subscriptions</title>
</head>
<body>
<outline title="orgs" text="orgs">
<outline text="Rust Blog" title="Rust Blog" type="rss"
xmlUrl="https://blog.rust-lang.org/feed.xml" htmlUrl="https://blog.rust-lang.org/"/>
<outline text="The GitHub Blog" title="The GitHub Blog" type="rss"
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jailuthra
jailuthra / railway.cpp
Last active August 29, 2015 14:05
Class 12 Project (needs the worst C++ compiler in the world to compile) (licensed under GPLv3.0)
/*
PROJECT: RAILWAY TICKET RESERVATION
Jai Luthra Ayush Bisht
12-C 12-C
4 2
*/
#include<iostream.h>
#include<fstream.h>