Skip to content

Instantly share code, notes, and snippets.

@the-solipsist
the-solipsist / sahyog-censorship.txt
Created October 18, 2025 18:02
X.com tweets censored via the Sahyog portal
https://x.com/asurofficial/status/1892492574608196069?s=48&t=mz5m-YOXBHhEZ6gdFUB6qw
https://x.com/Adv_rj24/status/1889527184014057942
https://x.com/DSourcelnsight/status/1870498250962194730
https://x.com/C90284166/status/1870128816762569208
https://x.com/TheFederal_News/status/1870024355222356336
https://x.com/ltsKhan_Saba/status/1869959973113082266
https://x.com/htTweets/status/1869978537094197426
https://x.com/thequotesnews/status/1870001442687463935
https://x.com/latestly/status/1869980166644216076
https://x.com/lokmattimeseng/status/1869959934592389234
@the-solipsist
the-solipsist / gstr1-json-specification-validation.md
Last active January 13, 2026 13:19
GSTR-1 JSON Validation Rules

GSTR-1 JSON Specification & Validation Rules

This document provides a comprehensive overview of the GSTR-1 JSON data format, its architectural requirements, and the strict validation rules necessary for successful submission to the GSTN portal. The GSTN hasn't published an official JSON schema.. So this has been reverse engineered based on validity testing against the official GST website, APIs found online, and the documentation associated with the "GST Offline Tool".


1. Introduction to GSTR-1

GSTR-1 is a mandatory return for all GST-registered businesses in India, used to report details of all outward supplies (sales).

Filing Frequency

@the-solipsist
the-solipsist / curl.sh
Last active February 5, 2026 08:57
RBI reference rates via NSE
curl 'https://www.nseindia.com/api/historicalOR/rbi-reference-rate-stats' -H 'User-Agent: Mozilla' | jq .
@the-solipsist
the-solipsist / RBI_FOREX_REFERENCE_RATES_DOCUMENTATION.md
Created February 5, 2026 14:20
Complete Historical Archive of RBI Forex Reference Rates (1998-2026) - Corrected Version

RBI Forex Reference Rates Archive (1998-2026)

Overview

This archive contains a comprehensive, gap-free historical dataset of the Reserve Bank of India (RBI) Reference Exchange Rates for major currencies against the Indian Rupee (INR).

Coverage: August 25, 1998 to February 5, 2026 (27.5 years) Total Records: 26,017 Total Trading Days: 6,520

Currencies Included

@the-solipsist
the-solipsist / convert_to_beancount.py
Created February 5, 2026 20:51
Script for conversion from {h}ledger prices to beancount prices
#!/usr/bin/env python3
"""
Convert price entries to Beancount format.
Usage: python convert_to_beancount.py prices.l > beancount_prices.bean
The converter handles:
- Currency symbol conversion (₹→INR, $→USD, £→GBP, €→EUR)
- Removal of commas from prices
- Quoted commodity names
@the-solipsist
the-solipsist / judicial-corruption.md
Created February 26, 2026 18:37
NCERT Social Science Textbook on Corruption in the Judiciary

Corruption in the Judiciary

Judges are bound by a code of conduct that governs not only their behaviour in court, but also how they conduct themselves outside it. This code, known as the Bangalore Principles of Judicial Conduct (so named because the initial drafts were prepared in Bangalore over two decades ago), emphasises that judges must be seen by the public as fair and impartial. They must avoid any action, in their personal and professional lives, that could cause the public to question their integrity.

When judges fail to uphold these standards, the judiciary has an internal mechanism to maintain accountability and ensure that judges follow the values of judicial life. There is an established procedure for receiving complaints through the Centralised Public Grievance Redress and Monitoring System (CPGRAMS). Between 2017 and 2021, for example, over 1600 such complaints were received. In cases where the allegations are serious, the Parliament can take action by passing a motion of impeachment. Such a