Skip to content

Instantly share code, notes, and snippets.

View sjain882's full-sized avatar

sjain sjain882

  • United Kingdom
View GitHub Profile
@soulhotel
soulhotel / ffcss-autohiding-vtsb-draft.css
Last active November 19, 2024 04:39
Autohiding Vertical Tabs - Firefox 132+
/*
This section of code is part of ongoing development within the FF Ultima (Firefox CSS) Theme.
Below is a universal implementation, that any may use for reference/modification.
https://github.com/soulhotel/FF-ULTIMA
*/
/* Global variables for quick modifications -----------------------------------------------*/
:root, body, * {
@Orangera1n
Orangera1n / Windows build repo.md
Last active April 26, 2025 11:47
Orangera1n's Windows Build Repo

Notice:

This project is being formally deprecated (informally, it was a while ago) as of today due to various factors:

  • builds being corrupted, likely due to rclone vfs cache mounts messing with them, and due to the nature of onedrive, there being no way to collect hashes in bulk without ugly hacks
  • me being busy and lack of time to work on this often
  • onedrive being a pain to download from
  • having to split shit accorss many accounts, making management painful
  • less control
  • me getting a new ISP thats fast enough for hosting this on a proper server (with dedup) (about that: join here for updates: https://discord.gg/rFNeu7ZyQ2)
@byhemechi
byhemechi / flick.lua
Last active September 13, 2023 16:56
Logitech Mouse Flick Lua script
function OnEvent(event, arg)
if (event == "MOUSE_BUTTON_PRESSED" and arg == 3) then
distance = 512
Sleep(200)
MoveMouseRelative(-distance, 0)
Sleep(500)
MoveMouseRelative(distance, 0)
PressAndReleaseMouseButton(1)
MoveMouseRelative(distance, 0)
Sleep(500)
@ehsan18t
ehsan18t / processor-boost-mode.md
Last active July 13, 2025 19:47
Enable Processor Boost Mode Control in Advanced Power Settings

Enable Processor Boost Mode Control in Windows

Disable Turbo Boost to Reduce Power Consumption and Heat

Why Do We Need It?

If your laptop’s CPU is running very hot and you’ve tried to undervolt it, you’ve probably discovered there’s no easy way to do so—especially on laptops whose BIOS doesn’t expose those controls. I ran into the same issue with my Ryzen 7 5800H, despite numerous attempts, I couldn’t undervolt because the firmware simply wouldn’t allow it. While it may seem drastic, disabling Turbo Boost is one workaround—and you might be surprised how little real-world performance you lose by turning it off.

@angeld23
angeld23 / vanished_tweet_recovery.user.js
Last active June 28, 2025 12:19
Vanished Tweet Recovery: Detects whenever a tweet mysteriously vanishes from your timeline for no reason and allows you to re-open it
// ==UserScript==
// @name Vanished Tweet Recovery
// @namespace https://d23.dev/
// @version 1.2
// @description Detects whenever a tweet mysteriously vanishes from your timeline for no reason and allows you to re-open it
// @author angeld23
// @match *://*.x.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=x.com
// @grant none
// ==/UserScript==
@Lachee
Lachee / gshade_to_reshade_guide.md
Created February 7, 2023 13:03 — forked from snightshade/gshade_to_reshade_guide.md
GShade -> ReShade migration guide for FFXIV

How To Move To ReShade From GShade

(a guide by rika (@lostkagamine). tested, should work fine.)

(Korean version / 한국어 버전)

If you are having issues like the screen turning black, read the mini-FAQ at the bottom of this document!

0. Don't uninstall GShade yet!

Uninstalling GShade removes the gshade-shaders folder which contains all the content. It does not remove GShade's executable file. This guide will help you do that.
If you already uninstalled it, reinstall it. Sounds weird, I know, but just don't open the game.

@st4rdog
st4rdog / msi-afterburner-undervolt-how-to.md
Last active June 22, 2025 18:47
MSI Afterburner Voltage Curve Editor Tutorial - Undervolt

Tutorial

  • Start at default curve.
  • Ctrl-click-drag any point in right-half to bend it until a point intersects with desired mhz/voltage.
  • Select point and adjust to perfection using shift-up-down.
  • Shift-click-drag empty space and select points (including selected point) on the right. Selected point should be left-most point.
  • Shift-Enter twice to flatten all points in selection area. They will flatten to match the selected point.
  • Adjust if required.

Controls

@Saturate
Saturate / README.md
Created October 4, 2022 16:56
Project Zomboid - Generate WorkshopItems from Steam Workshop Collection

Project Zomboid - Generate WorkshopItems from Steam Workshop Collection

This snippet will generate a list suited for the Project Zomboid config from a Steam Workshop Collection.

How to use:

  1. Navigate to your collection (eg. https://steamcommunity.com/sharedfiles/filedetails/?id=2871262277)
  2. Copy the code in console.js
  3. Open the devtools for your browser (F12)
  4. Paste and run the code
  5. Copy the output
  6. Paste the config line into your config.
@Clybius
Clybius / index.html
Last active May 9, 2025 22:02
Embed AV1/No File Size Capped Videos in Discord
<head>
<meta property="og:image" content="GifToEmbedURL"> # Change the content to the link of a gif of your choice, which will be shown as the embed.
<meta property="og:type" content="video.other">
<meta property="og:video:url" content="VideoToEmbedURL"> # Change the content to the link of a video of your choice. Will work with videos over 50 MB, and even unsupported codecs such as AV1!
<meta property="og:video:width" content="1920"> # Set this to the video's width and height, not required, but will show the video as intended if the aspect ratio and size is correct.
<meta property="og:video:height" content="1080">
</head>
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<title>Rebane's Discord Colored Text Generator</title>
<meta charset="UTF-8">
<meta name="description" content="Rebane's Discord Colored Text Generator">
<meta name="author" content="rebane2001">
<style>
/*