Skip to content

Instantly share code, notes, and snippets.

@jailuthra
jailuthra / shrutis.json
Last active January 12, 2026 08:06
२२ श्रुतियां ५०० रागों में
[
{
"name": "Abhavati",
"aaroh": "S,g1,m1,d1,n1,S'",
"avroh": "S',n1,d1,P,m1,g1,r1,S"
},
{
"name": "Abheri",
"aaroh": "S,g1,m1,P,n1,S'",
"avroh": "S',n1,d1,P,m1,g1,r1,S"
FROM debian:bullseye
ENV DEBIAN_FRONTEND noninteractive
ENV LANG='C.UTF-8' LC_ALL='C.UTF-8'
# Support multiarch builds to perform cross compilation
# https://wiki.debian.org/Multiarch/HOWTO
RUN dpkg --add-architecture arm64
# Expected system requirements
@jailuthra
jailuthra / smarteefi.py
Last active November 6, 2024 07:28
Smarteefi Local (WLAN) Switch Control
#!/usr/bin/env python
import socket
import binascii
import argparse
"""This script sends a UDP payload to smarteefi switch, to turn it on/off"""
"""Reverse Engg. credits to https://github.com/abhilash0505/homebridge-smarteefi-local"""
def send_payload(ip_address: str, port: int, hex_string: str) -> None:
@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 November 24, 2025 07:10
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="VideoLAN project - News feed" title="VideoLAN project - News feed" type="rss"
Loading
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>