Skip to content

Instantly share code, notes, and snippets.

View AniruddhaHumane's full-sized avatar
:electron:
Curious

Aniruddha Humane AniruddhaHumane

:electron:
Curious
View GitHub Profile
@AniruddhaHumane
AniruddhaHumane / hide_communities.js
Last active September 5, 2025 13:10
Hide communities on page load on Reddit
// Use https://chromewebstore.google.com/detail/user-javascript-and-css/nbhcbdghjpllgmfilhnhkllmkecfmpld
// copy and paste this in JS section
// Make sure you turn on on page load on bottom right
document.addEventListener('DOMContentLoaded', () => {
// Define the selector for the element we are looking for.
const selector = '[aria-controls="communities_section"]';
// Define the interval in milliseconds (200ms = 0.2s).
const checkInterval = 200;
@AniruddhaHumane
AniruddhaHumane / cpx.sh
Last active October 4, 2023 06:36
CPX - Advanced linux cp command with progress and time!
#!/bin/bash
# cpx command is extremely useful in copying thousands of files and track the progress
# just do cpx source destination and you are good to go!
# Convert seconds to DD:HH:MM:SS format
convert_to_human_readable() {
local total_seconds=$1
local days=$((total_seconds/86400))
@AniruddhaHumane
AniruddhaHumane / NetflixAutoSkipper.js
Last active September 4, 2025 14:26
AutoSkip Intros and outros on Netflix
// NOTE!
// A lot of people have started using this script
// so I have moved it to following github: https://github.com/AniruddhaHumane/Netflix-Skipper
// You can get the latest updates there, which includes Extension so you don't have to paste it :)
// THIS GIST IS NO LONGER MAINTAINED
// You can copy and paste this in the console window of netflix to automatically skip intros and outros :)
function clickButton(dataUia) {