Skip to content

Instantly share code, notes, and snippets.

View nmdra's full-sized avatar
🎯
Focusing

NIMENDRA nmdra

🎯
Focusing
View GitHub Profile
-- Global variable to store the initial state of night color
local night_color_was_enabled = false
local was_paused = false
-- Function to execute shell commands and capture output
local function execute_command(cmd)
local handle = io.popen(cmd)
local result = handle:read("*a")
handle:close()
return result:match("^%s*(.-)%s*$") -- Trim whitespace
@nmdra
nmdra / torrent_to_gdrive.ipynb
Last active May 22, 2026 01:10
torrent_to_gdrive.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nmdra
nmdra / medium.bypass.user.js
Last active June 21, 2026 12:20
medium.bypass.user.js
// ==UserScript==
// @name Medium Paywall Bypass
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://*.medium.com/*
// @match *://medium.com/*
// @match *://*/*
// @grant none
// @version 4.1
// @inject-into content