Skip to content

Instantly share code, notes, and snippets.

View RoyRiv3r's full-sized avatar

RoyRiver RoyRiv3r

View GitHub Profile
@Albert26193
Albert26193 / windsurf-settings-20250402.json
Last active November 27, 2025 17:18
windsurf-settings-20250402.json
{
/**********************************/
/************* C_Cpp **************/
/**********************************/
"C_Cpp.errorSquiggles": "enabled",
"C_Cpp.intelliSenseEngine": "disabled",
/**********************************/
/********* Prettier-SQL ***********/
/**********************************/
"Prettier-SQL.commaPosition": "after",
@kuylar
kuylar / youtubeDownloader-contentScript.js
Last active July 31, 2025 21:04
Small Firefox (and Chrome, maybe, I didn't test it) extension code (content-script) for downloading videos on YouTube.
/**
* Small Firefox (and Chrome, maybe, I didn't test it) extension code
* (content-script) for downloading videos on YouTube. Currently only
* shows a default HTML download button on the top left of the page
* and opens up the format 18 (360p muxed MP4) on a new tab.
*
* It "works", has a "working" poToken implementation (untested for
* downloading videos and unused in this version of the script) and
* can decipher playback URLs automatically.
*
@mja00
mja00 / bad-yt.css
Last active December 23, 2024 01:09
/* Just video player */
.ytp-cairo-refresh-signature-moments .ytp-play-progress {
background: #f03 !important;
}
/* Include thumbnail player */
.ytp-cairo-refresh .ytp-swatch-background-color, .YtProgressBarLineProgressBarPlayedRefresh, ytd-thumbnail-overlay-resume-playback-renderer[enable-refresh-signature-moments-web] #progress.ytd-thumbnail-overlay-resume-playback-renderer {
background: var(--yt-spec-static-brand-red, #f03);
}
@velzie
velzie / manifest-v2-chrome.md
Last active November 27, 2025 19:57
How to keep using adblockers on chrome and chromium

NOTE

by the time you're reading this, this probably no longer works since the policy has been removed. I reccomend you to check out https://github.com/r58Playz/uBlock-mv3 instead

How to keep using adblockers on chrome and chromium

  1. google's manifest v3 has no analouge to the webRequestBlocking API, which is neccesary for (effective) adblockers to work
  2. starting in chrome version 127, the transition to mv3 will start cutting off the use of mv2 extensions alltogether
  3. this will inevitably piss of enterprises when their extensions don't work, so the ExtensionManifestV2Availability key was added and will presumably stay forever after enterprises complain enough

You can use this as a regular user, which will let you keep your mv2 extensions even after they're supposed to stop working

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 11, 2025 09:36
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@origamiofficial
origamiofficial / Hcaptcha Solver with Browser Trainer(Automatically solves Hcaptcha in browser).user.js
Last active December 10, 2024 14:02
Hcaptcha Solver with Browser Trainer(Automatically solves Hcaptcha in browser) by Md ubeadulla | Note: This script is solely intended for the use of educational purposes only and not to abuse any website. This script uses audio in order to solve the captcha. Use it wisely and do not abuse any website. Click "Raw" to install it on Tampermonkey
// ==UserScript==
// @name Hcaptcha Solver with Browser Trainer(Automatically solves Hcaptcha in browser)
// @namespace Hcaptcha Solver
// @version 10.0
// @description Hcaptcha Solver in Browser | Automatically solves Hcaptcha in browser
// @author Md ubeadulla
// @match https://*.hcaptcha.com/*hcaptcha-challenge*
// @match https://*.hcaptcha.com/*checkbox*
// @grant GM_xmlhttpRequest
// @grant GM_setValue
@origamiofficial
origamiofficial / Recaptcha Solver (Automatically solves Recaptcha in browser).user.js
Created March 25, 2022 04:42
Recaptcha Solver in Browser | Automatically solves Recaptcha in browser by engageub | Note: This script is solely intended for the use of educational purposes only and not to abuse any website. This script uses audio in order to solve the captcha. Use it wisely and do not abuse any website. Click "Raw" to install it on Tampermonkey
// ==UserScript==
// @name Recaptcha Solver (Automatically solves Recaptcha in browser)
// @namespace Recaptcha Solver
// @version 2.1
// @description Recaptcha Solver in Browser | Automatically solves Recaptcha in browser
// @author engageub
// @match *://*/recaptcha/*
// @connect engageub.pythonanywhere.com
// @connect engageub1.pythonanywhere.com
// @grant GM_xmlhttpRequest
@Nama
Nama / TwitFix.plugin.js
Last active February 1, 2024 19:24
TwitFix link instead of twitter with betterdiscord
/**
* @name TwitFix
* @version 1.5
* @authorLink https://github.com/Nama
* @website https://yamahi.eu
* @description Send twitter links with preview
* @source https://gist.github.com/Nama/e61a13c29717b8eff48fa3ff41fc4ddd
* @updateUrl https://gist.githubusercontent.com/Nama/e61a13c29717b8eff48fa3ff41fc4ddd/raw/
*/
#!/bin/sh
/Applications/Discord.app/Contents/MacOS/Discord --proxy-server=http://po.cc.ibaraki-ct.ac.jp:3128
@asid21
asid21 / get_all_follower_list_on_twitter.py
Last active November 23, 2024 23:39
Get all follower list on Twitter
#!/usr/bin/env python3
import re
import urllib.parse
import urllib.request
def getlist(cursor,userid):
url = 'https://api.twitter.com/1.1/followers/list.json?include_profile_interstitial_type=1&include_blocking=1&include_blocked_by=1&include_followed_by=1&include_want_retweets=1&skip_status=1&cursor='+cursor+'&user_id='+userid+'&count=20'
user_agent = 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)'
headers = {
'User-Agent':user_agent,