Skip to content

Instantly share code, notes, and snippets.

View Erquint's full-sized avatar
🥴
Failing.

Murad "Gness Erquint" Beybalaev Erquint

🥴
Failing.
  • Korolev, Russia
View GitHub Profile
@Erquint
Erquint / scrollfiend.user.js
Last active July 11, 2023 09:52
For those pesky websites that disable scrolling. Fiend mode button available in the popup if you dare. Install using the following link: https://gist.githubusercontent.com/Erquint/051e173afc07440050ac04c493d4c8d1/raw/scrollfiend.user.js
// ==UserScript==
// @name Scrollfiend
// @description Enables scrolling on those pesky websites that disable it. Engage fiend mode with a popup button if you dare.
// @version 1.1.0
// @namespace gness.na@gmail.com
// @author https://gist.github.com/Erquint
// @homepageURL https://gist.github.com/Erquint/051e173afc07440050ac04c493d4c8d1
// @updateURL https://gist.githubusercontent.com/Erquint/051e173afc07440050ac04c493d4c8d1/raw/scrollfiend.user.js
// @downloadURL https://gist.githubusercontent.com/Erquint/051e173afc07440050ac04c493d4c8d1/raw/scrollfiend.user.js
// @match *://*/*
@Erquint
Erquint / user-select_unsetter.user.js
Last active February 22, 2022 21:20
CSS property `user-select` is used to disable or alter selectability of rendered HTML elements. This userscript unsets all such style properties on a page. Install using the following link: https://gist.github.com/Erquint/5ed7be3f1c62c606d7c514deec4d091d/raw/user-select_unsetter.user.js
// ==UserScript==
// @name user-select unsetter
// @description Waits for page to fully load once and selectively unsets the `user-select` property of all elements.
// @version 1.0.0
// @namespace gness.na@gmail.com
// @author https://gist.github.com/Erquint
// @homepageURL https://gist.github.com/Erquint/fbea345ae863fea3735fc35f25c753f7
// @updateURL https://gist.githubusercontent.com/Erquint/fbea345ae863fea3735fc35f25c753f7/raw/user-select_unsetter.user.js
// @downloadURL https://gist.githubusercontent.com/Erquint/fbea345ae863fea3735fc35f25c753f7/raw/user-select_unsetter.user.js
// @match *://*/*
@Erquint
Erquint / win32_critters.rb
Last active February 2, 2022 20:29
Banal natural selection emulation. Wrote mainly to mess around with terminal manipulation and Win32 bindings.
# ENCODING: UTF-8
# ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x64-mingw32]
# THIS SCRIPT WILL INSTALL REQUIRED GEMS IF POSSIBLE.
# irb -I . -r ./main.rb # Ignore this.
def require_gem gemname, requirename = nil
requirename = gemname if requirename.nil?
require 'rubygems'
begin
gem gemname
@Erquint
Erquint / DS4W-Saufeder.rb
Created September 16, 2021 19:33
This script will enumerate processes hogging DS4 device stream handle, try to free the handle by temporarily unloading known hogs detected running, start DS4W and load the unloaded hogs back.
# Ruby 2.6.6
# PowerShell 7.1
# SysInternals Handle 4.22
# DS4W 2.1.8
require 'set'
$task_heap = Set.new
if (ARGV & ['--help', '-h']).any?
@Erquint
Erquint / CycleWikiCalcExtender.user.js
Last active September 11, 2020 10:51
Extends The Cycle Wiki Weapons Calculator by Silarious and ArtemusMaximus with extra metrics one might find useful for assessing gunfeel and realistic DPS output beyond one magazine. Install using the following link: https://gist.github.com/Erquint/5ed7be3f1c62c606d7c514deec4d091d/raw/CycleWikiCalcExtender.user.js
// ==UserScript==
// @name CycleWikiCalc Extender
// @description Extends The Cycle Wiki Weapons Calculator by Silarious and ArtemusMaximus with extra metrics one might find useful for assessing gunfeel and realistic DPS output beyond one magazine.
// @version 1.2
// @namespace gness.na@gmail.com
// @author https://gist.github.com/Erquint
// @homepageURL https://gist.github.com/Erquint/5ed7be3f1c62c606d7c514deec4d091d
// @updateURL https://gist.github.com/Erquint/5ed7be3f1c62c606d7c514deec4d091d/raw/CycleWikiCalcExtender.user.js
// @downloadURL https://gist.github.com/Erquint/5ed7be3f1c62c606d7c514deec4d091d/raw/CycleWikiCalcExtender.user.js
// @match http*://thecycle.wiki/apps/calculator/
@Erquint
Erquint / DerusifyAliExpressLinks.user.js
Last active September 21, 2021 18:45
Prevents redirection to Russian pages of AliExpress and tries to reach global page as a mayday fallback. Install with the following link: https://gist.githubusercontent.com/Erquint/4b0dada56b0fed4412ed8cb2e97a2473/raw/DerusifyAliExpressLinks.user.js
// ==UserScript==
// @name Watch 2 Gether hotkeys.
// @description Space or K plays/pauses, F enables fullscreen. ESC disabled fullscreen as per browsers convention.
// @version 1.0
// @namespace gness.na@gmail.com
// @author https://gist.github.com/Erquint
// @homepageURL https://gist.github.com/Erquint/69ee1acdc34fb9ec6c6f101bbfdcd0e2
// @updateURL https://gist.github.com/Erquint/69ee1acdc34fb9ec6c6f101bbfdcd0e2/raw/Watch2GetherHotkeys.user.js
// @downloadURL https://gist.github.com/Erquint/69ee1acdc34fb9ec6c6f101bbfdcd0e2/raw/Watch2GetherHotkeys.user.js
// @match http*://*watch2gether.com*/*
@Erquint
Erquint / FWPMP.user.js
Last active October 30, 2019 09:07
FANDOM/Wikia PseudoMonobook+ Implements https://dev.fandom.com/wiki/PseudoMonobook on FANDOM wiki pages and gets rid of extra annoyances. Install with the following link: https://gist.githubusercontent.com/Erquint/ec4f688c7d6d9ea2ccddff8acb3a8415/raw/FWPMP.user.js
// ==UserScript==
// @name FANDOM/Wikia PseudoMonobook+
// @description Implements https://dev.fandom.com/wiki/PseudoMonobook on FANDOM wiki pages and gets rid of extra annoyances.
// @version 1.8.0
// @namespace gness.na@gmail.com
// @author https://gist.github.com/Erquint
// @homepageURL https://gist.github.com/Erquint/ec4f688c7d6d9ea2ccddff8acb3a8415
// @updateURL https://gist.githubusercontent.com/Erquint/ec4f688c7d6d9ea2ccddff8acb3a8415/raw/FWPMP.user.js
// @downloadURL https://gist.githubusercontent.com/Erquint/ec4f688c7d6d9ea2ccddff8acb3a8415/raw/FWPMP.user.js
// @match http*://*wikia.com/wiki/*
@Erquint
Erquint / DisableYTPolymer.user.js
Last active May 28, 2021 07:41
Disable YouTube's Polymer UI framework, prompting it to fallback to an older one by appending a "disable_polymer=1" parameter to the GET request.
// ==UserScript==
// @name Disable Polymer on YouTube
// @namespace gness.na@gmail.com
// @include *youtube.com*
// @version 1.1
// @description Disable YouTube's Polymer UI framework, prompting it to fallback to an older one by appending a "disable_polymer=1" parameter to the GET request.
// @run-at document-start
// @noframes
// @inject-into page
// ==/UserScript==
// ==UserScript==
// @name DisableEval
// @namespace gness.na@gmail.com
// @include *
// @version 1.0
// @description This will disable the eval function. Attempts to call eval will be logged in the browser console as warnings.
// @run-at document-start
// @grant none
// ==/UserScript==