Skip to content

Instantly share code, notes, and snippets.

@abhinavm24
abhinavm24 / findDuplicatesInOnetab.js
Created January 31, 2024 08:59 — forked from dpschen/findDuplicatesInOnetab.js
Find duplicates links in OneTab
(function findDuplicatesInOnetab() {
const isOneTab = document
.querySelector("title")
?.innerHTML.includes("OneTab"); // cheap OneTab check
if (!isOneTab) {
alert("Run this script in a OneTab tab");
return;
}
const getOneTabLinks = () => [
@abhinavm24
abhinavm24 / block.js
Created September 22, 2021 20:00 — forked from rtfpessoa/nextdns.js
nextdns.io Block Youtube Ads
const configID = "<CONFIG-ID>";
const ignoreDomainsSet = new Set([
"clients.l.google.com",
"clients1.google.com",
"clients2.google.com",
"clients3.google.com",
"clients4.google.com",
"clients5.google.com",
"clients6.google.com",
@abhinavm24
abhinavm24 / AdbCommands
Created July 6, 2021 16:30 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
@abhinavm24
abhinavm24 / AdbCommands
Created July 6, 2021 16:30 — forked from ernestkamara/AdbCommands
Adb useful commands list
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
== Shell
@abhinavm24
abhinavm24 / make_pr
Created January 26, 2021 08:40 — forked from muellerzr/make_pr
Make a new pr from an existing cloned repository by simply doing `make_pr`
#!/bin/bash
echo "Setting up a new PR"
# Ask for username
echo "Please enter the original GitHub organization or username of the repository (the part of the URL after github.com/): "
read org
# Ask for repo
echo "Please enter the repository name: "
read name
#Ask for branch
read -e -p "Please enter the branch of the repository you wish to use: " -i "main" branch
@abhinavm24
abhinavm24 / baysian-optimization-in-fastai.ipynb
Created September 1, 2020 11:03
Baysian Optimization in FastAI.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@abhinavm24
abhinavm24 / timekiller.js
Created August 5, 2020 10:08 — forked from Trion129/timekiller.js
Kills all timers in a website, doesn't kill already killed timeouts for micro optimisation for nerds :P
// Break Timers on websites with ease.
function timerKiller(){
var lastCleanedBorder = 0;
return function () {
var id = window.setTimeout(function() {}, 0);
for(var i = lastCleanedBorder; i <= id; i++) {
window.clearTimeout(i);
}
lastCleanedBorder = id + 1;
@abhinavm24
abhinavm24 / cloudSettings
Last active December 10, 2021 20:34 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
{"lastUpload":"2021-12-10T20:34:10.408Z","extensionVersion":"v3.4.3"}